Ion
|
This contains the values needed to transform glyph rectangles into the correct coordinates. More...
#include "freetypefontutils.h"
Public Attributes | |
math::Vector2f | scale |
Scale to apply to resize glyphs. More... | |
std::vector< math::Vector2f > | line_translations |
Translation to apply to position glyphs for each line of text. More... | |
float | line_y_offset_in_pixels |
How much to translate each successive line in y, in pixels. More... | |
This contains the values needed to transform glyph rectangles into the correct coordinates.
Definition at line 54 of file freetypefontutils.h.
std::vector<math::Vector2f> ion::text::FreeTypeFontTransformData::line_translations |
Translation to apply to position glyphs for each line of text.
Definition at line 58 of file freetypefontutils.h.
Referenced by ion::text::ComputeTransformData().
float ion::text::FreeTypeFontTransformData::line_y_offset_in_pixels |
How much to translate each successive line in y, in pixels.
Definition at line 60 of file freetypefontutils.h.
Referenced by ion::text::ComputeTransformData(), and ion::text::LayOutText().
math::Vector2f ion::text::FreeTypeFontTransformData::scale |
Scale to apply to resize glyphs.
Definition at line 56 of file freetypefontutils.h.
Referenced by ion::text::ComputeTransformData(), and ion::text::LayOutText().