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