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