DWRITE_LINE_METRICS

<summary> The DWRITE_LINE_METRICS structure contains information about a formatted line of text. </summary>

Members

Variables

baseline
FLOAT baseline;

<summary> Distance from the top of the line to its baseline. </summary>

height
FLOAT height;

<summary> Height of the line as measured from top to bottom. </summary>

isTrimmed
BOOL isTrimmed;

<summary> The line is trimmed. </summary>

length
UINT32 length;

<summary> The number of total text positions in the line. This includes any trailing whitespace and newline characters. </summary>

newlineLength
UINT32 newlineLength;

<summary> The number of characters in the newline sequence at the end of the line. If the count is zero, then the line was either wrapped or it is the end of the text. </summary>

trailingWhitespaceLength
UINT32 trailingWhitespaceLength;

<summary> The number of whitespace positions at the end of the line. Newline sequences are considered whitespace. </summary>

Meta