3 types derived from Primitive
ReachFramework (3)
AlphaFlattener\Primitive.cs (3)
650internal class GeometryPrimitive : Primitive 1772internal class ImagePrimitive : Primitive 1987internal class CanvasPrimitive : Primitive
45 references to Primitive
ReachFramework (45)
AlphaFlattener\BrushProxy.cs (8)
1244public Primitive GetDrawingPrimitive() 1258_drawing = Primitive.DrawingToPrimitive(drawingBrush.Drawing, viewboxToViewportTransformHint); 1603private bool IsDrawingOpaque(Primitive p, Geometry viewbox, Matrix transform) 1622foreach (Primitive c in cp.Children) 1668private bool IsDrawingTransparent(Primitive p, Geometry viewbox, Matrix drawingToWorldTransformHint) 1687foreach (Primitive c in cp.Children) 1791Primitive drawing = GetDrawingPrimitive(); 3554private Primitive _drawing; // Temp solution for Drawing within a DrawingBrush
AlphaFlattener\Flattener.cs (7)
43public void AddPrimitive(Primitive p) 79public void TreeFlatten(Primitive tree, Geometry clip, Matrix transform, double opacity, BrushProxy opacityMask) 139tree = children[0] as Primitive; 148foreach (Primitive p in children) 158Primitive ntree = tree; 1100private void AlphaRender(Primitive primitive, List<int> overlapping, int overlapHasTransparency, bool disjoint, string desp) 1199public static void Convert(Primitive tree, ILegacyDevice dc, double width, double height, double dpix, double dpiy,
AlphaFlattener\MetroDevice.cs (2)
237Primitive primitive = g.UnfoldDrawingBrush(); 288Primitive primitive = g.UnfoldDrawingBrush();
AlphaFlattener\Optimizer.cs (2)
69Primitive primitive = commands[i].primitive; 314Primitive p = pi.primitive;
AlphaFlattener\Primitive.cs (21)
86public abstract Primitive BlendOpacityMaskWithColor(BrushProxy color); 136public Primitive Clone() 138return MemberwiseClone() as Primitive; 148public Primitive DeepClone() 150Primitive clone = Clone(); 314internal static Primitive DrawingToPrimitive(System.Windows.Media.Drawing d, Matrix drawingToWorldTransformHint) 456Primitive primitive = null; 476Primitive p = DrawingToPrimitive(children[i], drawingToWorldTransformHint); 783public Primitive UnfoldDrawingBrush() 821Primitive brushPrimitive = _brush.GetDrawingPrimitive(); 957Primitive tilePrimitive = brushPrimitive.DeepClone(); 1224public override Primitive BlendOpacityMaskWithColor(BrushProxy color) 1889public override Primitive BlendOpacityMaskWithColor(BrushProxy color) 2024foreach (Primitive p in Children) 2055public override Primitive BlendOpacityMaskWithColor(BrushProxy color) 2061foreach (Primitive p in Children) 2098_children[index] = ((Primitive)_children[index]).DeepClone(); 2108foreach (Primitive p in Children) 2130foreach (Primitive primitive in _children) 2150public Primitive primitive; // 4 bytes 2164public PrimitiveInfo(Primitive p)
AlphaFlattener\PrimitiveList.cs (3)
89Primitive p = info.primitive; 217internal static bool IsWhitePrimitive(Primitive p) 241public void RecordPrimitive(Primitive p)
AlphaFlattener\PrimitiveRenderer.cs (2)
259Primitive p = topPI.primitive; 416Primitive p = topPI.primitive;