Inheritance diagram for Blaze.VectorPoint:
Blaze.MoveToPoint Blaze.VectorLine InfiniText.LoadMetaPoint Blaze.ArcLinePoint Blaze.QuadLinePoint Blaze.StraightLinePoint Blaze.CurveLinePoint

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]
 

Constructor & Destructor Documentation

Blaze.VectorPoint.VectorPoint ( )
inline

Creates an empty path node.

Blaze.VectorPoint.VectorPoint ( float  x,
float  y 
)
inline

Creates a node at the given point.

Parameters
xThe X coordinate of this path node.
yThe Y coordinate of this path node.

Member Function Documentation

virtual void Blaze.VectorPoint.ComputeLinePoints ( Scanner  scanner,
float  extrudeBy 
)
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.

virtual VectorPoint Blaze.VectorPoint.Copy ( )
inlinevirtual
virtual void Blaze.VectorPoint.EndNormal ( out float  x,
out float  y 
)
inlinevirtual

Gets the normal at the end of the line from this to previous.

Reimplemented in Blaze.CurveLinePoint, Blaze.StraightLinePoint, and Blaze.QuadLinePoint.

virtual void Blaze.VectorPoint.Extrude ( float  by)
inlinevirtual

Extrudes this point along its normal by the given distance.

Reimplemented in Blaze.QuadLinePoint, Blaze.ArcLinePoint, and Blaze.CurveLinePoint.

VectorPoint Blaze.VectorPoint.GetShapeEnd ( )
inline
virtual void Blaze.VectorPoint.Multiply ( float  by)
inlinevirtual

Reimplemented in Blaze.CurveLinePoint, and Blaze.QuadLinePoint.

virtual void Blaze.VectorPoint.MultiplyNormals ( float  by)
inlinevirtual
virtual void Blaze.VectorPoint.RecalculateBounds ( VectorPath  path)
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.

virtual void Blaze.VectorPoint.RecalculateCurveNormals ( )
inlinevirtual

Computes the control point normals for any curves.

Reimplemented in Blaze.CurveLinePoint, and Blaze.QuadLinePoint.

virtual void Blaze.VectorPoint.RenderLine ( CanvasContext  context)
inlinevirtual

Used internally. Renders the line between this point and the next one, if there is one.

Parameters
dataThe image to draw to.

Reimplemented in Blaze.ArcLinePoint, and Blaze.StraightLinePoint.

virtual void Blaze.VectorPoint.Sheer ( float  by)
inlinevirtual

Reimplemented in Blaze.CurveLinePoint, and Blaze.QuadLinePoint.

virtual void Blaze.VectorPoint.Squash ( float  by)
inlinevirtual

Reimplemented in Blaze.CurveLinePoint, and Blaze.QuadLinePoint.

virtual void Blaze.VectorPoint.StartNormal ( out float  x,
out float  y 
)
inlinevirtual

Gets the normal at the start of the line from this to previous.

Reimplemented in Blaze.CurveLinePoint, Blaze.StraightLinePoint, and Blaze.QuadLinePoint.

override string Blaze.VectorPoint.ToString ( )
inline
virtual void Blaze.VectorPoint.Transform ( VectorTransform  transform)
inlinevirtual

Member Data Documentation

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.

Property Documentation

virtual bool Blaze.VectorPoint.HasLine
get

Is there a line from this point to the previous one?

virtual bool Blaze.VectorPoint.IsClose
getset
virtual bool Blaze.VectorPoint.IsCurve
get

Is this a curve line?

virtual bool Blaze.VectorPoint.Unloaded
get

True if this path is unloaded. Used to improve font load time of large fonts.