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