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