GlyphPoint
- struct HPS.GlyphPoint
The GlyphPoint class is a point that is used in the definition of glyphs. It is a 2d point with x, y restricted to [-128, 127].
Public Functions
- bool Equals (GlyphPoint p)
This function is used to check a GlyphPoint object for equivalence to this.
- Param p
The GlyphPoint to compare to this.
- Return
true if the objects are equivalent, false otherwise.
- override bool Equals (object obj)
This function is used to check an object for equivalence to this.
- Param obj
The object to compare to this.
- Return
true if the objects are equivalent, false otherwise.
- override int GetHashCode ()
- GlyphPoint (GlyphPoint gp)
Construct a new GlyphPoint from the GlyphPoint parameter.
- Param gp
The GlyphPoint to use to build this object.
- GlyphPoint (sbyte new_x, sbyte new_y)
Construct a new GlyphPoint from an (x, y) pair.
- Param new_x
The x location of the point.
- Param new_y
The y location of the point.
Public Static Functions
- bool operator!= (GlyphPoint p1, GlyphPoint p2)
Compares two GlyphPoint objects.
- Param p1
The object to compare to parameter p2.
- Param p2
The object to compare to parameter p1.
- Return
true if the objects are not equivalent, false otherwise.
- bool operator== (GlyphPoint p1, GlyphPoint p2)
Compares two GlyphPoint objects.
- Param p1
The object to compare to parameter p2.
- Param p2
The object to compare to parameter p1.
- Return
true if the objects are equivalent, false otherwise.