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