RetroArch
Public Attributes | List of all members
DWRITE_TEXT_METRICS1 Struct Reference

Overall metrics associated with text after layout. All coordinates are in device independent pixels (DIPs). More...

#include <dwrite_2.h>

Inheritance diagram for DWRITE_TEXT_METRICS1:
[legend]
Collaboration diagram for DWRITE_TEXT_METRICS1:
[legend]

Public Attributes

FLOAT heightIncludingTrailingWhitespace
 The height of the formatted text taking into account the trailing whitespace at the end of each line, which will matter for vertical reading directions. More...
 
- Public Attributes inherited from DWRITE_TEXT_METRICS
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...
 

Detailed Description

Overall metrics associated with text after layout. All coordinates are in device independent pixels (DIPs).

Member Data Documentation

◆ heightIncludingTrailingWhitespace

FLOAT DWRITE_TEXT_METRICS1::heightIncludingTrailingWhitespace

The height of the formatted text taking into account the trailing whitespace at the end of each line, which will matter for vertical reading directions.


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