1 write to primitive
ReachFramework (1)
AlphaFlattener\Primitive.cs (1)
2166
primitive
= p;
45 references to primitive
ReachFramework (45)
AlphaFlattener\Flattener.cs (23)
314
if (!info.
primitive
.IsOpaque)
401
AlphaRender(info.
primitive
, info.overlap, info.overlapHasTransparency, disjoint, desp);
441
bool trans = ! pi.
primitive
.IsOpaque;
517
GeometryPrimitive gi = pi.
primitive
as GeometryPrimitive;
518
GeometryPrimitive gj = pj.
primitive
as GeometryPrimitive;
550
if (!pj.
primitive
.IsOpaque)
616
GeometryPrimitive gj = pj.
primitive
as GeometryPrimitive;
634
GeometryPrimitive gi = pi.
primitive
as GeometryPrimitive;
670
GeometryPrimitive gp = pi.
primitive
as GeometryPrimitive;
681
if ((qi == null) || (qi.
primitive
.IsOpaque && qi.FullyCovers(pi)))
687
GeometryPrimitive qp = qi.
primitive
as GeometryPrimitive;
734
if (proceedBlending && pi.
primitive
.IsOpaque)
766
if ((pi.underlay != null) && !pi.
primitive
.IsOpaque)
774
if (qi.
primitive
.IsOpaque && qi.FullyCovers(pi))
853
if (qi.
primitive
.IsOpaque && qi.FullyCovers(pi))
888
if ((pi.underlay == null) && DisplayList.IsWhitePrimitive(pi.
primitive
))
899
if (!pi.
primitive
.IsOpaque)
936
if ((pi.underlay != null) && (pi.overlapHasTransparency == 0) && pi.
primitive
.IsOpaque)
985
if ((pi != null) && ((pi.overlapHasTransparency != 0) || !pi.
primitive
.IsOpaque))
987
if (!pi.
primitive
.IsOpaque)
1034
if ((pi != null) && ((pi.overlapHasTransparency != 0) || !pi.
primitive
.IsOpaque))
1036
pi.
primitive
.OnRender(ctx);
1038
if (!pi.
primitive
.IsOpaque)
AlphaFlattener\Optimizer.cs (3)
69
Primitive primitive = commands[i].
primitive
;
314
Primitive p = pi.
primitive
;
403
if ((pi != null) && (disjoint || !pi.
primitive
.IsOpaque) && !addedPrimitives[i])
AlphaFlattener\Primitive.cs (7)
2184
if (
primitive
.Clip != null)
2186
bounds = Rect.Intersect(bounds,
primitive
.Clip.Bounds);
2201
GeometryPrimitive gp =
primitive
as GeometryPrimitive;
2209
Geometry pshape = p.
primitive
.GetShapeGeometry();
2211
if (
primitive
.Clip != null)
2213
if (!Utility.FullyCovers(
primitive
.Clip, pshape))
2219
return Utility.FullyCovers(
primitive
.GetShapeGeometry(), pshape);
AlphaFlattener\PrimitiveList.cs (3)
89
Primitive p = info.
primitive
;
349
if (!qi.
primitive
.IsTransparent && !qi.
primitive
.IsOpaque)
AlphaFlattener\PrimitiveRenderer.cs (9)
259
Primitive p = topPI.
primitive
;
334
if ((pi != null) && !pi.
primitive
.IsTransparent && !pi.
primitive
.IsOpaque)
352
if (!topPI.
primitive
.IsTransparent) // Skip primitives with nothing to draw
354
topBounds = topPI.
primitive
.GetClippedShapeGeometry();
416
Primitive p = topPI.
primitive
;
457
if (topPI.
primitive
is ImagePrimitive)
462
ImagePrimitive ip = topPI.
primitive
as ImagePrimitive;
533
topPI.
primitive
.Exclude(geo); // exclude cur & _clip