Atom
Public Attributes | List of all members
DWRITE_STRIKETHROUGH Struct Reference

The DWRITE_STRIKETHROUGH structure contains about the size and placement of strickthroughs. More...

#include <DWrite.h>

Public Attributes

FLOAT width
 Width of the strikethrough, measured parallel to the baseline. More...
 
FLOAT thickness
 Thickness of the strikethrough, measured perpendicular to the baseline. More...
 
FLOAT offset
 Offset of the stikethrough from the baseline. More...
 
DWRITE_READING_DIRECTION readingDirection
 Reading direction of the text associated with the strikethrough. More...
 
DWRITE_FLOW_DIRECTION flowDirection
 Flow direction of the text associated with the strikethrough. More...
 
__nullterminated WCHAR const * localeName
 Locale of the range. More...
 
DWRITE_MEASURING_MODE measuringMode
 The measuring mode can be useful to the renderer to determine how underlines are rendered, e.g. More...
 

Detailed Description

The DWRITE_STRIKETHROUGH structure contains about the size and placement of strickthroughs.

All coordinates are in device independent pixels (DIPs).

Member Data Documentation

§ flowDirection

DWRITE_FLOW_DIRECTION DWRITE_STRIKETHROUGH::flowDirection

Flow direction of the text associated with the strikethrough.

This value is used to interpret whether the thickness value advances top to bottom, left to right, or right to left.

§ localeName

__nullterminated WCHAR const* DWRITE_STRIKETHROUGH::localeName

Locale of the range.

Can be pertinent where the locale affects the style.

§ measuringMode

DWRITE_MEASURING_MODE DWRITE_STRIKETHROUGH::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.

§ offset

FLOAT DWRITE_STRIKETHROUGH::offset

Offset of the stikethrough from the baseline.

A positive offset represents a position below the baseline and a negative offset is above.

§ readingDirection

DWRITE_READING_DIRECTION DWRITE_STRIKETHROUGH::readingDirection

Reading direction of the text associated with the strikethrough.

This value is used to interpret whether the width value runs horizontally or vertically.

§ thickness

FLOAT DWRITE_STRIKETHROUGH::thickness

Thickness of the strikethrough, measured perpendicular to the baseline.

§ width

FLOAT DWRITE_STRIKETHROUGH::width

Width of the strikethrough, measured parallel to the baseline.


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