10 writes to Pen
ReachFramework (10)
AlphaFlattener\DrawingContext.cs (2)
107geo.Pen = pen.Clone(); 124geo.Pen = pen.Clone();
AlphaFlattener\Flattener.cs (2)
211fill.Pen = null; 257fill.Pen = null;
AlphaFlattener\MetroDevice.cs (1)
223g.Pen = PenProxy.CreatePen(pen, bounds);
AlphaFlattener\Primitive.cs (5)
345gp.Pen = PenProxy.CreateUserPen(gd.Pen, renderBounds, drawingToWorldTransformHint, new TreeWalkProgress()); 361gp.Pen = null; 367Pen = pen, 681Pen = null; 1241g.Pen = g.Pen.Clone();
57 references to Pen
ReachFramework (57)
AlphaFlattener\DrawingContext.cs (2)
108geo.Pen.Scale(scale); 109geo.Pen.StrokeBrush.ApplyTransform(brushTrans);
AlphaFlattener\Flattener.cs (10)
60if ((gp.Pen != null) && (gp.Pen.StrokeBrush.Brush is DrawingBrush)) 198if (gp != null && gp.Brush != null && gp.Pen != null && 253if ((gp.Brush != null) && (gp.Pen != null)) 264else if ((gp.Pen != null) || (gp.Brush != null)) 629if ((gi != null) && (gi.Pen == null) && (pi.overlap.Count == 1) && pj.FullyCovers(pi)) 692BrushProxy blendedPenBrush = gp.Pen?.StrokeBrush; 721if (gp.Pen != null) 723gp.Pen.StrokeBrush = blendedPenBrush; 1122ri.Pen = p.Pen;
AlphaFlattener\Optimizer.cs (1)
339bp = gp.Pen.StrokeBrush;
AlphaFlattener\Primitive.cs (40)
348if ((gp.Brush == null) && (gp.Pen == null)) 355if ((gp.Brush != null) && (gp.Pen != null)) // split 359PenProxy pen = gp.Pen; 673if (Pen != null) 677Brush = Pen.StrokeBrush; 1049if (Pen != null) 1053Pen p = Pen.GetPen(true); 1099Pen?.PushOpacity(Opacity, OpacityMask); 1112if ((Geometry != null) && (Pen != null) || (Brush != null)) 1140if (Pen != null) 1142p = Pen.GetPen(false); 1188b = Pen.StrokeBrush; 1207b = Pen.StrokeBrush; 1239if (g.Pen != null) 1241g.Pen = g.Pen.Clone(); 1242g.Pen.StrokeBrush.OpacityOnly = true; 1244g.Pen.StrokeBrush = color.BlendBrush(g.Pen.StrokeBrush); 1254if ((Brush == null) && (Pen == null)) 1266return Pen.IsOpaque(); 1269if (Pen == null) 1274return Pen.IsOpaque() && Brush.IsOpaque(); 1287if ((Brush == null) && (Pen == null)) 1294return Pen.IsTransparent(); 1297if (Pen == null) 1302return Pen.IsTransparent() && Brush.IsTransparent(); 1311Debug.Assert((Brush != null) || (Pen != null), "empty primitive"); 1315if (Pen != null) 1322Pen.Scale(scale); 1323Pen.StrokeBrush.ApplyTransform(Transform); 1349if ((Pen != null) && (Pen.StrokeBrush.Brush is TileBrush)) 1473if (Clip != null && Geometry != null && Pen == null) 1525if (Pen != null) 1529Brush realBrush = Pen.StrokeBrush.GetRealBrush(); 1531opacity *= Pen.StrokeBrush.Opacity; 1584if (Pen != null) 1586result = Geometry.GetRenderBounds(Pen.GetPen(true)); 1679if ((GlyphRun != null) && (Pen != null) || (Brush != null)) 2196if ((gp != null) && (gp.Brush != null) && (gp.Pen == null))
AlphaFlattener\PrimitiveList.cs (4)
185if ((gp != null) && (gp.Brush != null) && (gp.Pen == null)) 222if ((gp.Brush != null) && (gp.Pen == null)) 227if ((gp.Pen != null) && (gp.Brush == null)) 229return gp.Pen.StrokeBrush.IsWhite();