#include <customgui_kerning.h>
Holds the kerning parameters for one character in a string.
Public Member Functions | |
Kerning () | |
Kerning (const Kerning &source) | |
Kerning (Float kerning, Float tracking, Float scale, Float scaleH, Float scaleV, Float baselineShift, Float leading) | |
Bool | ReadHF (HyperFile *hf, Int32 level) |
Bool | WriteHF (HyperFile *hf) const |
Vector | GetOffsetVector () const |
Vector | GetScaleVector () const |
String | ToString () const |
Public Attributes | |
Float | _kerning |
Float | _tracking |
Float | _scale |
Float | _scaleH |
Float | _scaleV |
Float | _baselineShift |
Float | _leading |
Friends | |
Bool | operator== (const Kerning &k1, const Kerning &k2) |
Bool | operator!= (const Kerning &k1, const Kerning &k2) |
Kerning | Combine (const Kerning &k1, const Kerning &k2) |
Kerning | ( | ) |
Default constructor.
Copy constructor.
[in] | source | The Kerning object to copy members from. |
Vector GetOffsetVector | ( | ) | const |
Computes a vector that combines kerning, tracking, baseline shift and leading.
Vector GetScaleVector | ( | ) | const |
Computes a vector that combines scale, horizontal scale and vertical scale.
Equality operator.
Inequality operator.
Float _kerning |
Moves the character along its X axis, to create (or remove) space before the character.
Float _scale |
Scales the character.
Float _scaleH |
Scales the character along its X axis.
Float _scaleV |
Scales the character along its Y axis.
Float _baselineShift |
Moves the character along its Y axis.
Float _leading |
Not used currently.