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