RetroArch
Classes | Macros | Typedefs | Enumerations
dwrite_2.h File Reference
#include <dwrite_1.h>
Include dependency graph for dwrite_2.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  DWRITE_TEXT_METRICS1
 Overall metrics associated with text after layout. All coordinates are in device independent pixels (DIPs). More...
 
struct  _D3DCOLORVALUE
 The text renderer interface represents a set of application-defined callbacks that perform rendering of text, inline objects, and decorations such as underlines. More...
 
struct  DWRITE_COLOR_GLYPH_RUN
 The IDWriteFont interface represents a physical font in a font collection. More...
 

Macros

#define D3DCOLORVALUE_DEFINED
 

Typedefs

typedef interface DWRITE_DECLARE_INTERFACE("D3E0E934-22A0-427E-AAE4-7D9574B59DB1") IDWriteTextRenderer1 interface DWRITE_DECLARE_INTERFACE("5F174B49-0D8B-4CFB-8BCA-F1CCE9D06C67") IDWriteTextFormat1 interface DWRITE_DECLARE_INTERFACE("1093C18F-8D5E-43F0-B064-0917311B525E") IDWriteTextLayout2 interface DWRITE_DECLARE_INTERFACE("553A9FF3-5693-4DF7-B52B-74806F7F2EB9") IDWriteTextAnalyzer2 interface DWRITE_DECLARE_INTERFACE("EFA008F9-F7A1-48BF-B05C-F224713CC0FF") IDWriteFontFallback interface DWRITE_DECLARE_INTERFACE("FD882D06-8ABA-4FB8-B849-8BE8B73E14DE") IDWriteFontFallbackBuilder struct _D3DCOLORVALUE D3DCOLORVALUE
 The text renderer interface represents a set of application-defined callbacks that perform rendering of text, inline objects, and decorations such as underlines. More...
 
typedef D3DCOLORVALUE DWRITE_COLOR_F
 

Enumerations

enum  DWRITE_OPTICAL_ALIGNMENT { DWRITE_OPTICAL_ALIGNMENT_NONE, DWRITE_OPTICAL_ALIGNMENT_NO_SIDE_BEARINGS }
 How to align glyphs to the margin. More...
 
enum  DWRITE_GRID_FIT_MODE { DWRITE_GRID_FIT_MODE_DEFAULT, DWRITE_GRID_FIT_MODE_DISABLED, DWRITE_GRID_FIT_MODE_ENABLED }
 Whether to enable grid-fitting of glyph outlines (a.k.a. hinting). More...
 

Macro Definition Documentation

◆ D3DCOLORVALUE_DEFINED

#define D3DCOLORVALUE_DEFINED

Typedef Documentation

◆ D3DCOLORVALUE

typedef interface DWRITE_DECLARE_INTERFACE ("D3E0E934-22A0-427E-AAE4-7D9574B59DB1") IDWriteTextRenderer1 interface DWRITE_DECLARE_INTERFACE ("5F174B49-0D8B-4CFB-8BCA-F1CCE9D06C67") IDWriteTextFormat1 interface DWRITE_DECLARE_INTERFACE ("1093C18F-8D5E-43F0-B064-0917311B525E") IDWriteTextLayout2 interface DWRITE_DECLARE_INTERFACE ("553A9FF3-5693-4DF7-B52B-74806F7F2EB9") IDWriteTextAnalyzer2 interface DWRITE_DECLARE_INTERFACE ("EFA008F9-F7A1-48BF-B05C-F224713CC0FF") IDWriteFontFallback interface DWRITE_DECLARE_INTERFACE ("FD882D06-8ABA-4FB8-B849-8BE8B73E14DE") IDWriteFontFallbackBuilder struct _D3DCOLORVALUE D3DCOLORVALUE

The text renderer interface represents a set of application-defined callbacks that perform rendering of text, inline objects, and decorations such as underlines.

The format of text used for text layout.

This object may not be thread-safe and it may carry the state of text format change.

The text layout interface represents a block of text after it has been fully analyzed and formatted.

All coordinates are in device independent pixels (DIPs).

The text analyzer interface represents a set of application-defined callbacks that perform rendering of text, inline objects, and decorations such as underlines.

A font fallback definition used for mapping characters to fonts capable of supporting them.

Builder used to create a font fallback definition by appending a series of fallback mappings, followed by a creation call.

This object may not be thread-safe.

DWRITE_COLOR_F

◆ DWRITE_COLOR_F

Enumeration Type Documentation

◆ DWRITE_GRID_FIT_MODE

Whether to enable grid-fitting of glyph outlines (a.k.a. hinting).

Enumerator
DWRITE_GRID_FIT_MODE_DEFAULT 

Choose grid fitting base on the font's gasp table information.

DWRITE_GRID_FIT_MODE_DISABLED 

Always disable grid fitting, using the ideal glyph outlines.

DWRITE_GRID_FIT_MODE_ENABLED 

Enable grid fitting, adjusting glyph outlines for device pixel display.

◆ DWRITE_OPTICAL_ALIGNMENT

How to align glyphs to the margin.

Enumerator
DWRITE_OPTICAL_ALIGNMENT_NONE 

Align to the default metrics of the glyph.

DWRITE_OPTICAL_ALIGNMENT_NO_SIDE_BEARINGS 

Align glyphs to the margins. Without this, some small whitespace may be present between the text and the margin from the glyph's side bearing values. Note that glyphs may still overhang outside the margin, such as flourishes or italic slants.