GlyphPoint
-
class 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
-
inline bool Equals(GlyphPoint const &in_that) const
This function is used to check an object for equivalence to this.
- Parameters
in_that – The object to compare to this.
- Returns
true if the objects are equivalent, false otherwise.
-
GlyphPoint()
Default constructor.
-
GlyphPoint(sbyte in_x, sbyte in_y)
Construct a new GlyphPoint from an (x, y) pair.
- Parameters
in_x – The x location of the point.
in_y – The y location of the point.
-
inline bool operator!=(GlyphPoint const &in_that) const
This function is used to check an object for equivalence to this.
- Parameters
in_that – The object to compare to this.
- Returns
true if the objects are not equivalent, false otherwise.
-
inline bool operator==(GlyphPoint const &in_that) const
This function is used to check an object for equivalence to this.
- Parameters
in_that – The object to compare to this.
- Returns
true if the objects are equivalent, false otherwise.
-
inline bool Equals(GlyphPoint const &in_that) const