FastUIDraw
Public Member Functions | Friends | List of all members
fastuidraw::GlyphMetricsValue Class Reference

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

GlyphMetricsValueadvance (vec2)
 
GlyphMetricsValuehorizontal_layout_offset (vec2)
 
GlyphMetricsValuesize (vec2)
 
GlyphMetricsValueunits_per_EM (float)
 
GlyphMetricsValuevertical_layout_offset (vec2)
 

Friends

class Glyph
 
class GlyphCache
 

Detailed Description

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.

Member Function Documentation

◆ advance()

GlyphMetricsValue& fastuidraw::GlyphMetricsValue::advance ( vec2  )

Set the value returned by GlyphMetrics::advance(). Default value is (0, 0).

◆ horizontal_layout_offset()

GlyphMetricsValue& fastuidraw::GlyphMetricsValue::horizontal_layout_offset ( vec2  )

Set the value returned by GlyphMetrics::horizontal_layout_offset(). Default value is (0, 0).

◆ size()

GlyphMetricsValue& fastuidraw::GlyphMetricsValue::size ( vec2  )

Set the value returned by GlyphMetrics::size(). Default value is (0, 0).

◆ units_per_EM()

GlyphMetricsValue& fastuidraw::GlyphMetricsValue::units_per_EM ( float  )

Set the value returned by GlyphMetrics::units_per_EM(). Default value is 0.

◆ vertical_layout_offset()

GlyphMetricsValue& fastuidraw::GlyphMetricsValue::vertical_layout_offset ( vec2  )

Set the value returned by GlyphMetrics::vertical_layout_offset(). Default value is (0, 0).


The documentation for this class was generated from the following file: