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