10 writes to Pen
ReachFramework (10)
AlphaFlattener\DrawingContext.cs (2)
112geo.Pen = pen.Clone(); 129geo.Pen = pen.Clone();
AlphaFlattener\Flattener.cs (2)
220fill.Pen = null; 266fill.Pen = null;
AlphaFlattener\MetroDevice.cs (1)
229g.Pen = PenProxy.CreatePen(pen, bounds);
AlphaFlattener\Primitive.cs (5)
351gp.Pen = PenProxy.CreateUserPen(gd.Pen, renderBounds, drawingToWorldTransformHint, new TreeWalkProgress()); 367gp.Pen = null; 373gp.Pen = pen; 683Pen = null; 1245g.Pen = g.Pen.Clone();
59 references to Pen
ReachFramework (59)
AlphaFlattener\DrawingContext.cs (2)
113geo.Pen.Scale(scale); 114geo.Pen.StrokeBrush.ApplyTransform(brushTrans);
AlphaFlattener\Flattener.cs (11)
66if ((gp.Pen != null) && (gp.Pen.StrokeBrush.Brush is DrawingBrush)) 207if (gp != null && gp.Brush != null && gp.Pen != null && 262if ((gp.Brush != null) && (gp.Pen != null)) 273else if ((gp.Pen != null) || (gp.Brush != null)) 636if ((gi != null) && (gi.Pen == null) && (pi.overlap.Count == 1) && pj.FullyCovers(pi)) 699BrushProxy blendedPenBrush = gp.Pen == null ? null : gp.Pen.StrokeBrush; 728if (gp.Pen != null) 730gp.Pen.StrokeBrush = blendedPenBrush; 1125ri.Pen = p.Pen;
AlphaFlattener\Optimizer.cs (1)
343bp = gp.Pen.StrokeBrush;
AlphaFlattener\Primitive.cs (41)
354if ((gp.Brush == null) && (gp.Pen == null)) 361if ((gp.Brush != null) && (gp.Pen != null)) // split 365PenProxy pen = gp.Pen; 675if (Pen != null) 679Brush = Pen.StrokeBrush; 1050if (Pen != null) 1054Pen p = Pen.GetPen(true); 1100if (Pen != null) 1102Pen.PushOpacity(Opacity, OpacityMask); 1116if ((Geometry != null) && (Pen != null) || (Brush != null)) 1144if (Pen != null) 1146p = Pen.GetPen(false); 1192b = Pen.StrokeBrush; 1211b = Pen.StrokeBrush; 1243if (g.Pen != null) 1245g.Pen = g.Pen.Clone(); 1246g.Pen.StrokeBrush.OpacityOnly = true; 1248g.Pen.StrokeBrush = color.BlendBrush(g.Pen.StrokeBrush); 1258if ((Brush == null) && (Pen == null)) 1270return Pen.IsOpaque(); 1273if (Pen == null) 1278return Pen.IsOpaque() && Brush.IsOpaque(); 1291if ((Brush == null) && (Pen == null)) 1298return Pen.IsTransparent(); 1301if (Pen == null) 1306return Pen.IsTransparent() && Brush.IsTransparent(); 1315Debug.Assert((Brush != null) || (Pen != null), "empty primitive"); 1319if (Pen != null) 1326Pen.Scale(scale); 1327Pen.StrokeBrush.ApplyTransform(Transform); 1356if ((Pen != null) && (Pen.StrokeBrush.Brush is TileBrush)) 1474if (Clip != null && Geometry != null && Pen == null) 1526if (Pen != null) 1530Brush realBrush = Pen.StrokeBrush.GetRealBrush(); 1532opacity *= Pen.StrokeBrush.Opacity; 1585if (Pen != null) 1587result = Geometry.GetRenderBounds(Pen.GetPen(true)); 1680if ((GlyphRun != null) && (Pen != null) || (Brush != null)) 2196if ((gp != null) && (gp.Brush != null) && (gp.Pen == null))
AlphaFlattener\PrimitiveList.cs (4)
193if ((gp != null) && (gp.Brush != null) && (gp.Pen == null)) 230if ((gp.Brush != null) && (gp.Pen == null)) 235if ((gp.Pen != null) && (gp.Brush == null)) 237return gp.Pen.StrokeBrush.IsWhite();