RetroArch
Public Attributes | List of all members
DWRITE_LINE_METRICS1 Struct Reference

The interface that represents text rendering settings for glyph rasterization and filtering. More...

#include <dwrite_3.h>

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

Public Attributes

FLOAT leadingBefore
 White space before the content of the line. This is included in the line height and baseline distances. If the line is formatted horizontally either with a uniform line spacing or with proportional line spacing, this value represents the extra space above the content. More...
 
FLOAT leadingAfter
 White space after the content of the line. This is included in the height of the line. If the line is formatted horizontally either with a uniform line spacing or with proportional line spacing, this value represents the extra space below the content. More...
 
- Public Attributes inherited from DWRITE_LINE_METRICS
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 interface that represents text rendering settings for glyph rasterization and filtering.

The root factory interface for all DWrite objects.

Set of fonts used for creating font faces, selecting nearest matching fonts, and filtering. Unlike IDWriteFontFamily and IDWriteFontList, which are part of the IDWriteFontCollection heirarchy, font sets are unordered flat lists.

Builder interface to add font face references and create a font set.

The IDWriteFontFamily interface represents a set of fonts that share the same design but are differentiated by weight, stretch, and style.

The IDWriteFontList interface represents a list of fonts.

A uniquely identifying reference to a font, from which you can create a font face to query font metrics and use for rendering. A font face reference consists of a font file, font face index, and font face simulation. The file data may or may not be physically present on the local machine yet.

The IDWriteFont interface represents a font in a font collection.

The interface that represents an absolute reference to a font face. It contains font face type, appropriate file references and face identification data. Various font data such as metrics, names and glyph outlines is obtained from IDWriteFontFace.

Represents a collection of strings indexed by number. An IDWriteStringList is otherwise identical to IDWriteLocalizedStrings except for the semantics, where localized strings are indexed on language (each language has one string property) whereas a string list may contain multiple strings of the same language, such as a string list of family names from a font set. You can QueryInterface from an IDWriteLocalizedStrings to an IDWriteStringList.

Application-defined callback interface that receives notifications from the font download queue (IDWriteFontDownloadQueue interface). Callbacks will occur on the downloading thread, and objects must be prepared to handle calls on their methods from other threads at any time.

Interface that enqueues download requests for remote fonts, characters, glyphs, and font fragments. Provides methods to asynchronously execute a download, cancel pending downloads, and be notified of download completion. Callbacks to listeners will occur on the downloading thread, and objects must be must be able to handle calls on their methods from other threads at any time.

The GDI interop interface provides interoperability with GDI.

Information about a formatted line of text.

Member Data Documentation

◆ leadingAfter

FLOAT DWRITE_LINE_METRICS1::leadingAfter

White space after the content of the line. This is included in the height of the line. If the line is formatted horizontally either with a uniform line spacing or with proportional line spacing, this value represents the extra space below the content.

◆ leadingBefore

FLOAT DWRITE_LINE_METRICS1::leadingBefore

White space before the content of the line. This is included in the line height and baseline distances. If the line is formatted horizontally either with a uniform line spacing or with proportional line spacing, this value represents the extra space above the content.


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