RetroArch
|
The DWRITE_UNDERLINE structure contains information about the size and placement of underlines. All coordinates are in device independent pixels (DIPs). More...
#include <dwrite.h>
Public Attributes | |
FLOAT | width |
Width of the underline, measured parallel to the baseline. More... | |
FLOAT | thickness |
Thickness of the underline, measured perpendicular to the baseline. More... | |
FLOAT | offset |
Offset of the underline from the baseline. A positive offset represents a position below the baseline and a negative offset is above. More... | |
FLOAT | runHeight |
Height of the tallest run where the underline applies. More... | |
DWRITE_READING_DIRECTION | readingDirection |
Reading direction of the text associated with the underline. This value is used to interpret whether the width value runs horizontally or vertically. More... | |
DWRITE_FLOW_DIRECTION | flowDirection |
Flow direction of the text associated with the underline. This value is used to interpret whether the thickness value advances top to bottom, left to right, or right to left. More... | |
_Field_z_ WCHAR const * | localeName |
Locale of the text the underline is being drawn under. Can be pertinent where the locale affects how the underline is drawn. For example, in vertical text, the underline belongs on the left for Chinese but on the right for Japanese. This choice is completely left up to higher levels. More... | |
DWRITE_MEASURING_MODE | measuringMode |
The measuring mode can be useful to the renderer to determine how underlines are rendered, e.g. rounding the thickness to a whole pixel in GDI-compatible modes. More... | |
The DWRITE_UNDERLINE structure contains information about the size and placement of underlines. All coordinates are in device independent pixels (DIPs).
DWRITE_FLOW_DIRECTION DWRITE_UNDERLINE::flowDirection |
Flow direction of the text associated with the underline. This value is used to interpret whether the thickness value advances top to bottom, left to right, or right to left.
_Field_z_ WCHAR const* DWRITE_UNDERLINE::localeName |
Locale of the text the underline is being drawn under. Can be pertinent where the locale affects how the underline is drawn. For example, in vertical text, the underline belongs on the left for Chinese but on the right for Japanese. This choice is completely left up to higher levels.
DWRITE_MEASURING_MODE DWRITE_UNDERLINE::measuringMode |
The measuring mode can be useful to the renderer to determine how underlines are rendered, e.g. rounding the thickness to a whole pixel in GDI-compatible modes.
FLOAT DWRITE_UNDERLINE::offset |
Offset of the underline from the baseline. A positive offset represents a position below the baseline and a negative offset is above.
DWRITE_READING_DIRECTION DWRITE_UNDERLINE::readingDirection |
Reading direction of the text associated with the underline. This value is used to interpret whether the width value runs horizontally or vertically.
FLOAT DWRITE_UNDERLINE::runHeight |
Height of the tallest run where the underline applies.
FLOAT DWRITE_UNDERLINE::thickness |
Thickness of the underline, measured perpendicular to the baseline.
FLOAT DWRITE_UNDERLINE::width |
Width of the underline, measured parallel to the baseline.