RetroArch
Public Attributes | List of all members
DWRITE_LINE_METRICS Struct Reference

The DWRITE_LINE_METRICS structure contains information about a formatted line of text. More...

#include <dwrite.h>

Inheritance diagram for DWRITE_LINE_METRICS:
[legend]

Public Attributes

UINT32 length
 The number of total text positions in the line. This includes any trailing whitespace and newline characters. More...
 
UINT32 trailingWhitespaceLength
 The number of whitespace positions at the end of the line. Newline sequences are considered whitespace. More...
 
UINT32 newlineLength
 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. More...
 
FLOAT height
 Height of the line as measured from top to bottom. More...
 
FLOAT baseline
 Distance from the top of the line to its baseline. More...
 
BOOL isTrimmed
 The line is trimmed. More...
 

Detailed Description

The DWRITE_LINE_METRICS structure contains information about a formatted line of text.

Member Data Documentation

◆ baseline

FLOAT DWRITE_LINE_METRICS::baseline

Distance from the top of the line to its baseline.

◆ height

FLOAT DWRITE_LINE_METRICS::height

Height of the line as measured from top to bottom.

◆ isTrimmed

BOOL DWRITE_LINE_METRICS::isTrimmed

The line is trimmed.

◆ length

UINT32 DWRITE_LINE_METRICS::length

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

◆ newlineLength

UINT32 DWRITE_LINE_METRICS::newlineLength

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.

◆ trailingWhitespaceLength

UINT32 DWRITE_LINE_METRICS::trailingWhitespaceLength

The number of whitespace positions at the end of the line. Newline sequences are considered whitespace.


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