RetroArch
|
Overall metrics associated with text after layout. All coordinates are in device independent pixels (DIPs). More...
#include <dwrite.h>
Public Attributes | |
FLOAT | left |
Left-most point of formatted text relative to layout box (excluding any glyph overhang). More... | |
FLOAT | top |
Top-most point of formatted text relative to layout box (excluding any glyph overhang). More... | |
FLOAT | width |
The width of the formatted text ignoring trailing whitespace at the end of each line. More... | |
FLOAT | widthIncludingTrailingWhitespace |
The width of the formatted text taking into account the trailing whitespace at the end of each line. More... | |
FLOAT | height |
The height of the formatted text. The height of an empty string is determined by the size of the default font's line height. More... | |
FLOAT | layoutWidth |
Initial width given to the layout. Depending on whether the text was wrapped or not, it can be either larger or smaller than the text content width. More... | |
FLOAT | layoutHeight |
Initial height given to the layout. Depending on the length of the text, it may be larger or smaller than the text content height. More... | |
UINT32 | maxBidiReorderingDepth |
The maximum reordering count of any line of text, used to calculate the most number of hit-testing boxes needed. If the layout has no bidirectional text or no text at all, the minimum level is 1. More... | |
UINT32 | lineCount |
Total number of lines. More... | |
Overall metrics associated with text after layout. All coordinates are in device independent pixels (DIPs).
FLOAT DWRITE_TEXT_METRICS::height |
The height of the formatted text. The height of an empty string is determined by the size of the default font's line height.
FLOAT DWRITE_TEXT_METRICS::layoutHeight |
Initial height given to the layout. Depending on the length of the text, it may be larger or smaller than the text content height.
FLOAT DWRITE_TEXT_METRICS::layoutWidth |
Initial width given to the layout. Depending on whether the text was wrapped or not, it can be either larger or smaller than the text content width.
FLOAT DWRITE_TEXT_METRICS::left |
Left-most point of formatted text relative to layout box (excluding any glyph overhang).
UINT32 DWRITE_TEXT_METRICS::lineCount |
Total number of lines.
UINT32 DWRITE_TEXT_METRICS::maxBidiReorderingDepth |
The maximum reordering count of any line of text, used to calculate the most number of hit-testing boxes needed. If the layout has no bidirectional text or no text at all, the minimum level is 1.
FLOAT DWRITE_TEXT_METRICS::top |
Top-most point of formatted text relative to layout box (excluding any glyph overhang).
FLOAT DWRITE_TEXT_METRICS::width |
The width of the formatted text ignoring trailing whitespace at the end of each line.
FLOAT DWRITE_TEXT_METRICS::widthIncludingTrailingWhitespace |
The width of the formatted text taking into account the trailing whitespace at the end of each line.