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].
◆ GlyphPoint() [1/2]
◆ GlyphPoint() [2/2]
HPS.GlyphPoint.GlyphPoint |
( |
sbyte |
new_x, |
|
|
sbyte |
new_y |
|
) |
| |
|
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. |
◆ Equals() [1/2]
override bool HPS.GlyphPoint.Equals |
( |
object |
obj | ) |
|
|
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.
◆ Equals() [2/2]
This function is used to check a GlyphPoint object for equivalence to this.
- Parameters
-
- Returns
- true if the objects are equivalent, false otherwise.
◆ operator!=()
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.
◆ operator==()
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