FastUIDraw
|
A GlyphMetricsValue is to be used by a FontBase derived object to specify the values of a GlyphMetrics object. More...
#include <glyph_metrics_value.hpp>
Public Member Functions | |
GlyphMetricsValue & | advance (vec2) |
GlyphMetricsValue & | horizontal_layout_offset (vec2) |
GlyphMetricsValue & | size (vec2) |
GlyphMetricsValue & | units_per_EM (float) |
GlyphMetricsValue & | vertical_layout_offset (vec2) |
Friends | |
class | Glyph |
class | GlyphCache |
A GlyphMetricsValue is to be used by a FontBase derived object to specify the values of a GlyphMetrics object.
Definition at line 45 of file glyph_metrics_value.hpp.
GlyphMetricsValue& fastuidraw::GlyphMetricsValue::advance | ( | vec2 | ) |
Set the value returned by GlyphMetrics::advance(). Default value is (0, 0).
GlyphMetricsValue& fastuidraw::GlyphMetricsValue::horizontal_layout_offset | ( | vec2 | ) |
Set the value returned by GlyphMetrics::horizontal_layout_offset(). Default value is (0, 0).
GlyphMetricsValue& fastuidraw::GlyphMetricsValue::size | ( | vec2 | ) |
Set the value returned by GlyphMetrics::size(). Default value is (0, 0).
GlyphMetricsValue& fastuidraw::GlyphMetricsValue::units_per_EM | ( | float | ) |
Set the value returned by GlyphMetrics::units_per_EM(). Default value is 0.
GlyphMetricsValue& fastuidraw::GlyphMetricsValue::vertical_layout_offset | ( | vec2 | ) |
Set the value returned by GlyphMetrics::vertical_layout_offset(). Default value is (0, 0).