3 types derived from Primitive
ReachFramework (3)
AlphaFlattener\Primitive.cs (3)
649internal class GeometryPrimitive : Primitive 1765internal class ImagePrimitive : Primitive 1980internal class CanvasPrimitive : Primitive
45 references to Primitive
ReachFramework (45)
AlphaFlattener\BrushProxy.cs (8)
1240public Primitive GetDrawingPrimitive() 1254_drawing = Primitive.DrawingToPrimitive(drawingBrush.Drawing, viewboxToViewportTransformHint); 1599private bool IsDrawingOpaque(Primitive p, Geometry viewbox, Matrix transform) 1618foreach (Primitive c in cp.Children) 1664private bool IsDrawingTransparent(Primitive p, Geometry viewbox, Matrix drawingToWorldTransformHint) 1683foreach (Primitive c in cp.Children) 1787Primitive drawing = GetDrawingPrimitive(); 3550private Primitive _drawing; // Temp solution for Drawing within a DrawingBrush
AlphaFlattener\Flattener.cs (7)
42public void AddPrimitive(Primitive p) 78public void TreeFlatten(Primitive tree, Geometry clip, Matrix transform, double opacity, BrushProxy opacityMask) 138tree = children[0] as Primitive; 147foreach (Primitive p in children) 157Primitive ntree = tree; 1093private void AlphaRender(Primitive primitive, List<int> overlapping, int overlapHasTransparency, bool disjoint, string desp) 1192public static void Convert(Primitive tree, ILegacyDevice dc, double width, double height, double dpix, double dpiy,
AlphaFlattener\MetroDevice.cs (2)
236Primitive primitive = g.UnfoldDrawingBrush(); 287Primitive primitive = g.UnfoldDrawingBrush();
AlphaFlattener\Optimizer.cs (2)
68Primitive primitive = commands[i].primitive; 313Primitive p = pi.primitive;
AlphaFlattener\Primitive.cs (21)
85public abstract Primitive BlendOpacityMaskWithColor(BrushProxy color); 135public Primitive Clone() 137return MemberwiseClone() as Primitive; 147public Primitive DeepClone() 149Primitive clone = Clone(); 313internal static Primitive DrawingToPrimitive(System.Windows.Media.Drawing d, Matrix drawingToWorldTransformHint) 455Primitive primitive = null; 475Primitive p = DrawingToPrimitive(children[i], drawingToWorldTransformHint); 782public Primitive UnfoldDrawingBrush() 820Primitive brushPrimitive = _brush.GetDrawingPrimitive(); 956Primitive tilePrimitive = brushPrimitive.DeepClone(); 1220public 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)
88Primitive p = info.primitive; 216internal static bool IsWhitePrimitive(Primitive p) 240public void RecordPrimitive(Primitive p)
AlphaFlattener\PrimitiveRenderer.cs (2)
258Primitive p = topPI.primitive; 415Primitive p = topPI.primitive;