RetroArch
Public Attributes | List of all members
DWRITE_GLYPH_OFFSET Struct Reference

Optional adjustment to a glyph's position. A glyph offset changes the position of a glyph without affecting the pen position. Offsets are in logical, pre-transform units. More...

#include <dwrite.h>

Public Attributes

FLOAT advanceOffset
 Offset in the advance direction of the run. A positive advance offset moves the glyph to the right (in pre-transform coordinates) if the run is left-to-right or to the left if the run is right-to-left. More...
 
FLOAT ascenderOffset
 Offset in the ascent direction, i.e., the direction ascenders point. A positive ascender offset moves the glyph up (in pre-transform coordinates). More...
 

Detailed Description

Optional adjustment to a glyph's position. A glyph offset changes the position of a glyph without affecting the pen position. Offsets are in logical, pre-transform units.

Member Data Documentation

◆ advanceOffset

FLOAT DWRITE_GLYPH_OFFSET::advanceOffset

Offset in the advance direction of the run. A positive advance offset moves the glyph to the right (in pre-transform coordinates) if the run is left-to-right or to the left if the run is right-to-left.

◆ ascenderOffset

FLOAT DWRITE_GLYPH_OFFSET::ascenderOffset

Offset in the ascent direction, i.e., the direction ascenders point. A positive ascender offset moves the glyph up (in pre-transform coordinates).


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