3 types derived from Primitive
ReachFramework (3)
AlphaFlattener\Primitive.cs (3)
651internal class GeometryPrimitive : Primitive 1766internal class ImagePrimitive : Primitive 1980internal class CanvasPrimitive : Primitive
45 references to Primitive
ReachFramework (45)
AlphaFlattener\BrushProxy.cs (8)
1247public Primitive GetDrawingPrimitive() 1261_drawing = Primitive.DrawingToPrimitive(drawingBrush.Drawing, viewboxToViewportTransformHint); 1605private bool IsDrawingOpaque(Primitive p, Geometry viewbox, Matrix transform) 1624foreach (Primitive c in cp.Children) 1670private bool IsDrawingTransparent(Primitive p, Geometry viewbox, Matrix drawingToWorldTransformHint) 1689foreach (Primitive c in cp.Children) 1793Primitive drawing = GetDrawingPrimitive(); 3553private Primitive _drawing; // Temp solution for Drawing within a DrawingBrush
AlphaFlattener\Flattener.cs (7)
48public void AddPrimitive(Primitive p) 84public void TreeFlatten(Primitive tree, Geometry clip, Matrix transform, double opacity, BrushProxy opacityMask) 144tree = children[0] as Primitive; 153foreach (Primitive p in children) 163Primitive ntree = tree; 1097private void AlphaRender(Primitive primitive, List<int> overlapping, int overlapHasTransparency, bool disjoint, string desp) 1195public static void Convert(Primitive tree, ILegacyDevice dc, double width, double height, double dpix, double dpiy,
AlphaFlattener\MetroDevice.cs (2)
242Primitive primitive = g.UnfoldDrawingBrush(); 292Primitive primitive = g.UnfoldDrawingBrush();
AlphaFlattener\Optimizer.cs (2)
73Primitive primitive = commands[i].primitive; 317Primitive p = pi.primitive;
AlphaFlattener\Primitive.cs (21)
91public abstract Primitive BlendOpacityMaskWithColor(BrushProxy color); 141public Primitive Clone() 143return MemberwiseClone() as Primitive; 153public Primitive DeepClone() 155Primitive clone = Clone(); 319internal static Primitive DrawingToPrimitive(System.Windows.Media.Drawing d, Matrix drawingToWorldTransformHint) 458Primitive primitive = null; 478Primitive p = DrawingToPrimitive(children[i], drawingToWorldTransformHint); 784public Primitive UnfoldDrawingBrush() 822Primitive brushPrimitive = _brush.GetDrawingPrimitive(); 957Primitive tilePrimitive = brushPrimitive.DeepClone(); 1224public override Primitive BlendOpacityMaskWithColor(BrushProxy color) 1882public override Primitive BlendOpacityMaskWithColor(BrushProxy color) 2017foreach (Primitive p in Children) 2048public override Primitive BlendOpacityMaskWithColor(BrushProxy color) 2054foreach (Primitive p in Children) 2091_children[index] = ((Primitive)_children[index]).DeepClone(); 2101foreach (Primitive p in Children) 2123foreach (Primitive primitive in _children) 2143public Primitive primitive; // 4 bytes 2157public PrimitiveInfo(Primitive p)
AlphaFlattener\PrimitiveList.cs (3)
96Primitive p = info.primitive; 224internal static bool IsWhitePrimitive(Primitive p) 248public void RecordPrimitive(Primitive p)
AlphaFlattener\PrimitiveRenderer.cs (2)
263Primitive p = topPI.primitive; 420Primitive p = topPI.primitive;