Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents the minimum and maximum range of the possible values for a font axis. If minValue equals maxValue, then the axis is static rather than variable.
Syntax
struct DWRITE_FONT_AXIS_RANGE {
DWRITE_FONT_AXIS_TAG axisTag;
FLOAT minValue;
FLOAT maxValue;
};
Members
axisTag
Type: DWRITE_FONT_AXIS_TAG
The four-character identifier of the font axis (for example, weight, width, slant, italic, and so on).
minValue
Type: FLOAT
The minimum value supported by this axis.
maxValue
Type: FLOAT
The maximum value supported by this axis.
Remarks
The meaning and range of axis values depends on the semantics of the particular axis. Certain well-known axes have standard ranges and defaults. Here are some examples.
- Weight (1..1000, default == 400)
- Width (>0, default == 100)
- Slant (-90..90, default == -20)
- Italic (0 or 1)
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 Build 16299 |
Minimum supported server | Windows 10 Build 16299 |
Header | dwrite_3.h |