Dali 3D User Interface Engine
List of all members | Public Member Functions | Public Attributes
anonymous_namespace{text-controller-impl.cpp}::GlyphMetrics Struct Reference

Some characters can be shaped in more than one glyph. More...

Public Member Functions

 GlyphMetrics ()
 
 ~GlyphMetrics ()
 

Public Attributes

float fontHeight
 The font's height of that glyphs. More...
 
float advance
 The sum of all the advances of all the glyphs. More...
 
float ascender
 The font's ascender. More...
 
float xBearing
 The x bearing of the first glyph. More...
 

Detailed Description

Some characters can be shaped in more than one glyph.

This struct is used to retrieve metrics from these group of glyphs.

Definition at line 44 of file text-controller-impl.cpp.

Constructor & Destructor Documentation

anonymous_namespace{text-controller-impl.cpp}::GlyphMetrics::GlyphMetrics ( )
inline

Definition at line 46 of file text-controller-impl.cpp.

anonymous_namespace{text-controller-impl.cpp}::GlyphMetrics::~GlyphMetrics ( )
inline

Definition at line 53 of file text-controller-impl.cpp.

Member Data Documentation

float anonymous_namespace{text-controller-impl.cpp}::GlyphMetrics::advance

The sum of all the advances of all the glyphs.

Definition at line 57 of file text-controller-impl.cpp.

float anonymous_namespace{text-controller-impl.cpp}::GlyphMetrics::ascender

The font's ascender.

Definition at line 58 of file text-controller-impl.cpp.

float anonymous_namespace{text-controller-impl.cpp}::GlyphMetrics::fontHeight

The font's height of that glyphs.

Definition at line 56 of file text-controller-impl.cpp.

float anonymous_namespace{text-controller-impl.cpp}::GlyphMetrics::xBearing

The x bearing of the first glyph.

Definition at line 59 of file text-controller-impl.cpp.


The documentation for this struct was generated from the following file:
Dali Docs Home
Read more about Dali