RetroArch
Public Attributes | List of all members
DWRITE_CARET_METRICS Struct Reference

Metrics for caret placement in a font. More...

#include <dwrite_1.h>

Public Attributes

INT16 slopeRise
 Vertical rise of the caret. Rise / Run yields the caret angle. Rise = 1 for perfectly upright fonts (non-italic). More...
 
INT16 slopeRun
 Horizontal run of th caret. Rise / Run yields the caret angle. Run = 0 for perfectly upright fonts (non-italic). More...
 
INT16 offset
 Horizontal offset of the caret along the baseline for good appearance. Offset = 0 for perfectly upright fonts (non-italic). More...
 

Detailed Description

Metrics for caret placement in a font.

Member Data Documentation

◆ offset

INT16 DWRITE_CARET_METRICS::offset

Horizontal offset of the caret along the baseline for good appearance. Offset = 0 for perfectly upright fonts (non-italic).

◆ slopeRise

INT16 DWRITE_CARET_METRICS::slopeRise

Vertical rise of the caret. Rise / Run yields the caret angle. Rise = 1 for perfectly upright fonts (non-italic).

◆ slopeRun

INT16 DWRITE_CARET_METRICS::slopeRun

Horizontal run of th caret. Rise / Run yields the caret angle. Run = 0 for perfectly upright fonts (non-italic).


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