DWRITE_UNDERLINE

<summary> The DWRITE_UNDERLINE structure contains information about the size and placement of underlines. All coordinates are in device independent pixels (DIPs). </summary>

Members

Variables

flowDirection
DWRITE_FLOW_DIRECTION flowDirection;

<summary> 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. </summary>

localeName
const(WCHAR)* localeName;

<summary> 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. </summary>

measuringMode
DWRITE_MEASURING_MODE measuringMode;

<summary> 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. </summary>

offset
FLOAT offset;

<summary> Offset of the underline from the baseline. A positive offset represents a position below the baseline and a negative offset is above. </summary>

readingDirection
DWRITE_READING_DIRECTION readingDirection;

<summary> Reading direction of the text associated with the underline. This value is used to interpret whether the width value runs horizontally or vertically. </summary>

runHeight
FLOAT runHeight;

<summary> Height of the tallest run where the underline applies. </summary>

thickness
FLOAT thickness;

<summary> Thickness of the underline, measured perpendicular to the baseline. </summary>

width
FLOAT width;

<summary> Width of the underline, measured parallel to the baseline. </summary>

Meta