HPS.GlyphPoint Struct Reference
Public Member Functions | |
override bool | Equals (object obj) |
bool | Equals (GlyphPoint p) |
override int | GetHashCode () |
GlyphPoint (GlyphPoint gp) | |
GlyphPoint (sbyte new_x, sbyte new_y) | |
Static Public Member Functions | |
static bool | operator!= (GlyphPoint p1, GlyphPoint p2) |
static bool | operator== (GlyphPoint p1, GlyphPoint p2) |
Public Attributes | |
sbyte | x |
sbyte | y |
Detailed Description
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].
Constructor & Destructor Documentation
|
inline |
Construct a new GlyphPoint from the GlyphPoint parameter.
- Parameters
-
gp The GlyphPoint to use to build this object.
|
inline |
Construct a new GlyphPoint from an (x, y) pair.
- Parameters
-
new_x The x location of the point. new_y The y location of the point.
Member Function Documentation
|
inline |
This function is used to check an object for equivalence to this.
- Parameters
-
obj The object to compare to this.
- Returns
- true if the objects are equivalent, false otherwise.
|
inline |
This function is used to check a GlyphPoint object for equivalence to this.
- Parameters
-
p The GlyphPoint to compare to this.
- Returns
- true if the objects are equivalent, false otherwise.
|
inlinestatic |
Compares two GlyphPoint objects.
- Parameters
-
p1 The object to compare to parameter p2. p2 The object to compare to parameter p1.
- Returns
- true if the objects are not equivalent, false otherwise.
|
inlinestatic |
Compares two GlyphPoint objects.
- Parameters
-
p1 The object to compare to parameter p2. p2 The object to compare to parameter p1.
- Returns
- true if the objects are equivalent, false otherwise.
The documentation for this struct was generated from the following file:
- internals/hps_core/source/cs/HPS.GlyphPoint.cs