10 writes to Pen
ReachFramework (10)
AlphaFlattener\DrawingContext.cs (2)
108geo.Pen = pen.Clone(); 125geo.Pen = pen.Clone();
AlphaFlattener\Flattener.cs (2)
215fill.Pen = null; 261fill.Pen = null;
AlphaFlattener\MetroDevice.cs (1)
224g.Pen = PenProxy.CreatePen(pen, bounds);
AlphaFlattener\Primitive.cs (5)
346gp.Pen = PenProxy.CreateUserPen(gd.Pen, renderBounds, drawingToWorldTransformHint, new TreeWalkProgress()); 362gp.Pen = null; 368Pen = pen, 682Pen = null; 1245g.Pen = g.Pen.Clone();
59 references to Pen
ReachFramework (59)
AlphaFlattener\DrawingContext.cs (2)
109geo.Pen.Scale(scale); 110geo.Pen.StrokeBrush.ApplyTransform(brushTrans);
AlphaFlattener\Flattener.cs (11)
61if ((gp.Pen != null) && (gp.Pen.StrokeBrush.Brush is DrawingBrush)) 202if (gp != null && gp.Brush != null && gp.Pen != null && 257if ((gp.Brush != null) && (gp.Pen != null)) 268else 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; 1129ri.Pen = p.Pen;
AlphaFlattener\Optimizer.cs (1)
340bp = gp.Pen.StrokeBrush;
AlphaFlattener\Primitive.cs (41)
349if ((gp.Brush == null) && (gp.Pen == null)) 356if ((gp.Brush != null) && (gp.Pen != null)) // split 360PenProxy pen = gp.Pen; 674if (Pen != null) 678Brush = 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)) 1480if (Clip != null && Geometry != null && Pen == null) 1532if (Pen != null) 1536Brush realBrush = Pen.StrokeBrush.GetRealBrush(); 1538opacity *= Pen.StrokeBrush.Opacity; 1591if (Pen != null) 1593result = Geometry.GetRenderBounds(Pen.GetPen(true)); 1686if ((GlyphRun != null) && (Pen != null) || (Brush != null)) 2203if ((gp != null) && (gp.Brush != null) && (gp.Pen == null))
AlphaFlattener\PrimitiveList.cs (4)
186if ((gp != null) && (gp.Brush != null) && (gp.Pen == null)) 223if ((gp.Brush != null) && (gp.Pen == null)) 228if ((gp.Pen != null) && (gp.Brush == null)) 230return gp.Pen.StrokeBrush.IsWhite();