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