1 write to primitive
ReachFramework (1)
AlphaFlattener\Primitive.cs (1)
2159
primitive
= p;
45 references to primitive
ReachFramework (45)
AlphaFlattener\Flattener.cs (23)
310
if (!info.
primitive
.IsOpaque)
394
AlphaRender(info.
primitive
, info.overlap, info.overlapHasTransparency, disjoint, desp);
434
bool trans = ! pi.
primitive
.IsOpaque;
510
GeometryPrimitive gi = pi.
primitive
as GeometryPrimitive;
511
GeometryPrimitive gj = pj.
primitive
as GeometryPrimitive;
543
if (!pj.
primitive
.IsOpaque)
609
GeometryPrimitive gj = pj.
primitive
as GeometryPrimitive;
627
GeometryPrimitive gi = pi.
primitive
as GeometryPrimitive;
663
GeometryPrimitive gp = pi.
primitive
as GeometryPrimitive;
674
if ((qi == null) || (qi.
primitive
.IsOpaque && qi.FullyCovers(pi)))
680
GeometryPrimitive qp = qi.
primitive
as GeometryPrimitive;
727
if (proceedBlending && pi.
primitive
.IsOpaque)
759
if ((pi.underlay != null) && !pi.
primitive
.IsOpaque)
767
if (qi.
primitive
.IsOpaque && qi.FullyCovers(pi))
846
if (qi.
primitive
.IsOpaque && qi.FullyCovers(pi))
881
if ((pi.underlay == null) && DisplayList.IsWhitePrimitive(pi.
primitive
))
892
if (!pi.
primitive
.IsOpaque)
929
if ((pi.underlay != null) && (pi.overlapHasTransparency == 0) && pi.
primitive
.IsOpaque)
978
if ((pi != null) && ((pi.overlapHasTransparency != 0) || !pi.
primitive
.IsOpaque))
980
if (!pi.
primitive
.IsOpaque)
1027
if ((pi != null) && ((pi.overlapHasTransparency != 0) || !pi.
primitive
.IsOpaque))
1029
pi.
primitive
.OnRender(ctx);
1031
if (!pi.
primitive
.IsOpaque)
AlphaFlattener\Optimizer.cs (3)
68
Primitive primitive = commands[i].
primitive
;
313
Primitive p = pi.
primitive
;
402
if ((pi != null) && (disjoint || !pi.
primitive
.IsOpaque) && !addedPrimitives[i])
AlphaFlattener\Primitive.cs (7)
2177
if (
primitive
.Clip != null)
2179
bounds = Rect.Intersect(bounds,
primitive
.Clip.Bounds);
2194
GeometryPrimitive gp =
primitive
as GeometryPrimitive;
2202
Geometry pshape = p.
primitive
.GetShapeGeometry();
2204
if (
primitive
.Clip != null)
2206
if (!Utility.FullyCovers(
primitive
.Clip, pshape))
2212
return Utility.FullyCovers(
primitive
.GetShapeGeometry(), pshape);
AlphaFlattener\PrimitiveList.cs (3)
88
Primitive p = info.
primitive
;
348
if (!qi.
primitive
.IsTransparent && !qi.
primitive
.IsOpaque)
AlphaFlattener\PrimitiveRenderer.cs (9)
258
Primitive p = topPI.
primitive
;
333
if ((pi != null) && !pi.
primitive
.IsTransparent && !pi.
primitive
.IsOpaque)
351
if (!topPI.
primitive
.IsTransparent) // Skip primitives with nothing to draw
353
topBounds = topPI.
primitive
.GetClippedShapeGeometry();
415
Primitive p = topPI.
primitive
;
456
if (topPI.
primitive
is ImagePrimitive)
461
ImagePrimitive ip = topPI.
primitive
as ImagePrimitive;
532
topPI.
primitive
.Exclude(geo); // exclude cur & _clip