InfiniText.GlyphPoint Class Reference

Detailed Description

Used as a temporary holder of data during glyph loading.

Public Member Functions

 GlyphPoint (byte[] flags, float[] coords)
 Creates an empty path node. More...
 
void Set (GlyphPoint point)
 
void Set (int index)
 

Public Attributes

float X
 The X coordinate of this path node. More...
 
float Y
 The Y coordinate of this path node. More...
 
bool Active
 True if this point is valid. More...
 
bool OnCurve
 Is this point on the curve? Control point otherwise. More...
 
byte[] Flags
 Stores the flags for the current loading glyph. More...
 
float[] Coords
 The point coords for the current loading glyph. More...
 

Constructor & Destructor Documentation

InfiniText.GlyphPoint.GlyphPoint ( byte[]  flags,
float[]  coords 
)
inline

Creates an empty path node.

Member Function Documentation

void InfiniText.GlyphPoint.Set ( GlyphPoint  point)
inline
void InfiniText.GlyphPoint.Set ( int  index)
inline

Member Data Documentation

bool InfiniText.GlyphPoint.Active

True if this point is valid.

float [] InfiniText.GlyphPoint.Coords

The point coords for the current loading glyph.

byte [] InfiniText.GlyphPoint.Flags

Stores the flags for the current loading glyph.

bool InfiniText.GlyphPoint.OnCurve

Is this point on the curve? Control point otherwise.

float InfiniText.GlyphPoint.X

The X coordinate of this path node.

float InfiniText.GlyphPoint.Y

The Y coordinate of this path node.