Public Member Functions | |
VectorPoint () | |
Creates an empty path node. More... | |
VectorPoint (float x, float y) | |
Creates a node at the given point. More... | |
virtual void | MultiplyNormals (float by) |
virtual void | RecalculateBounds (VectorPath path) |
Recalculates the minimum values and width/height of this path, taking curves into account. More... | |
virtual void | ComputeLinePoints (Scanner scanner, float extrudeBy) |
Steps along the line between this point and previous point at a fixed step, adding the points to the scanner as it goes. More... | |
virtual void | StartNormal (out float x, out float y) |
Gets the normal at the start of the line from this to previous. More... | |
virtual void | EndNormal (out float x, out float y) |
Gets the normal at the end of the line from this to previous. More... | |
virtual void | RecalculateCurveNormals () |
Computes the control point normals for any curves. More... | |
virtual void | Extrude (float by) |
Extrudes this point along its normal by the given distance. More... | |
virtual VectorPoint | Copy () |
VectorPoint | GetShapeEnd () |
virtual void | Transform (VectorTransform transform) |
override string | ToString () |
virtual void | Multiply (float by) |
virtual void | Squash (float by) |
virtual void | Sheer (float by) |
virtual void | RenderLine (CanvasContext context) |
Used internally. Renders the line between this point and the next one, if there is one. More... | |
Public Attributes | |
float | X |
The X coordinate of this path node. More... | |
float | Y |
The Y coordinate of this path node. More... | |
float | NormalX |
The x axis of the normal at this point. More... | |
float | NormalY |
The y axis of the normal at this point. More... | |
VectorPoint | Next |
Path nodes are stored as a linked list. The one after this node. More... | |
VectorPoint | Previous |
Path nodes are stored as a linked list. The one before this node. More... | |
Properties | |
virtual bool | Unloaded [get] |
True if this path is unloaded. Used to improve font load time of large fonts. More... | |
virtual bool | IsCurve [get] |
Is this a curve line? More... | |
virtual bool | HasLine [get] |
Is there a line from this point to the previous one? More... | |
virtual bool | IsClose [get, set] |
|
inline |
Creates an empty path node.
|
inline |
Creates a node at the given point.
x | The X coordinate of this path node. |
y | The Y coordinate of this path node. |
|
inlinevirtual |
Steps along the line between this point and previous point at a fixed step, adding the points to the scanner as it goes.
Reimplemented in Blaze.CurveLinePoint, Blaze.QuadLinePoint, Blaze.ArcLinePoint, Blaze.StraightLinePoint, and Blaze.MoveToPoint.
|
inlinevirtual |
Reimplemented in Blaze.QuadLinePoint, Blaze.CurveLinePoint, Blaze.ArcLinePoint, Blaze.StraightLinePoint, and Blaze.MoveToPoint.
|
inlinevirtual |
Gets the normal at the end of the line from this to previous.
Reimplemented in Blaze.CurveLinePoint, Blaze.StraightLinePoint, and Blaze.QuadLinePoint.
|
inlinevirtual |
Extrudes this point along its normal by the given distance.
Reimplemented in Blaze.QuadLinePoint, Blaze.ArcLinePoint, and Blaze.CurveLinePoint.
|
inline |
|
inlinevirtual |
Reimplemented in Blaze.CurveLinePoint, and Blaze.QuadLinePoint.
|
inlinevirtual |
Reimplemented in Blaze.ArcLinePoint, Blaze.CurveLinePoint, and Blaze.QuadLinePoint.
|
inlinevirtual |
Recalculates the minimum values and width/height of this path, taking curves into account.
Reimplemented in Blaze.QuadLinePoint, Blaze.ArcLinePoint, Blaze.CurveLinePoint, and Blaze.StraightLinePoint.
|
inlinevirtual |
Computes the control point normals for any curves.
Reimplemented in Blaze.CurveLinePoint, and Blaze.QuadLinePoint.
|
inlinevirtual |
Used internally. Renders the line between this point and the next one, if there is one.
data | The image to draw to. |
Reimplemented in Blaze.ArcLinePoint, and Blaze.StraightLinePoint.
|
inlinevirtual |
Reimplemented in Blaze.CurveLinePoint, and Blaze.QuadLinePoint.
|
inlinevirtual |
Reimplemented in Blaze.CurveLinePoint, and Blaze.QuadLinePoint.
|
inlinevirtual |
Gets the normal at the start of the line from this to previous.
Reimplemented in Blaze.CurveLinePoint, Blaze.StraightLinePoint, and Blaze.QuadLinePoint.
|
inline |
|
inlinevirtual |
Reimplemented in Blaze.ArcLinePoint, Blaze.CurveLinePoint, and Blaze.QuadLinePoint.
VectorPoint Blaze.VectorPoint.Next |
Path nodes are stored as a linked list. The one after this node.
float Blaze.VectorPoint.NormalX |
The x axis of the normal at this point.
float Blaze.VectorPoint.NormalY |
The y axis of the normal at this point.
VectorPoint Blaze.VectorPoint.Previous |
Path nodes are stored as a linked list. The one before this node.
float Blaze.VectorPoint.X |
The X coordinate of this path node.
float Blaze.VectorPoint.Y |
The Y coordinate of this path node.
|
get |
Is there a line from this point to the previous one?
|
getset |
|
get |
Is this a curve line?
|
get |
True if this path is unloaded. Used to improve font load time of large fonts.