#ifndef DWRITE_1_H_INCLUDED
#define DWRITE_1_H_INCLUDED
#pragma once
#include <DWrite.h>
enum
{
=
0
,
DWRITE_PANOSE_FAMILY_NO_FIT
=
1
,
DWRITE_PANOSE_FAMILY_TEXT_DISPLAY
=
2
,
DWRITE_PANOSE_FAMILY_SCRIPT
=
3
,
DWRITE_PANOSE_FAMILY_DECORATIVE
=
4
,
DWRITE_PANOSE_FAMILY_SYMBOL
=
5
,
DWRITE_PANOSE_FAMILY_PICTORIAL
=
DWRITE_PANOSE_FAMILY_SYMBOL
};
enum
DWRITE_PANOSE_SERIF_STYLE
{
DWRITE_PANOSE_SERIF_STYLE_ANY
=
0
,
DWRITE_PANOSE_SERIF_STYLE_NO_FIT
=
1
,
DWRITE_PANOSE_SERIF_STYLE_COVE
=
2
,
DWRITE_PANOSE_SERIF_STYLE_OBTUSE_COVE
=
3
,
DWRITE_PANOSE_SERIF_STYLE_SQUARE_COVE
=
4
,
DWRITE_PANOSE_SERIF_STYLE_OBTUSE_SQUARE_COVE
=
5
,
DWRITE_PANOSE_SERIF_STYLE_SQUARE
=
6
,
DWRITE_PANOSE_SERIF_STYLE_THIN
=
7
,
DWRITE_PANOSE_SERIF_STYLE_OVAL
=
8
,
DWRITE_PANOSE_SERIF_STYLE_EXAGGERATED
=
9
,
DWRITE_PANOSE_SERIF_STYLE_TRIANGLE
=
10
,
DWRITE_PANOSE_SERIF_STYLE_NORMAL_SANS
=
11
,
DWRITE_PANOSE_SERIF_STYLE_OBTUSE_SANS
=
12
,
DWRITE_PANOSE_SERIF_STYLE_PERPENDICULAR_SANS
=
13
,
DWRITE_PANOSE_SERIF_STYLE_FLARED
=
14
,
DWRITE_PANOSE_SERIF_STYLE_ROUNDED
=
15
,
DWRITE_PANOSE_SERIF_STYLE_SCRIPT
=
16
,
DWRITE_PANOSE_SERIF_STYLE_PERP_SANS
=
DWRITE_PANOSE_SERIF_STYLE_PERPENDICULAR_SANS
,
DWRITE_PANOSE_SERIF_STYLE_BONE
=
DWRITE_PANOSE_SERIF_STYLE_OVAL
};
enum
{
=
0
,
DWRITE_PANOSE_WEIGHT_NO_FIT
=
1
,
DWRITE_PANOSE_WEIGHT_VERY_LIGHT
=
2
,
DWRITE_PANOSE_WEIGHT_LIGHT
=
3
,
DWRITE_PANOSE_WEIGHT_THIN
=
4
,
DWRITE_PANOSE_WEIGHT_BOOK
=
5
,
DWRITE_PANOSE_WEIGHT_MEDIUM
=
6
,
DWRITE_PANOSE_WEIGHT_DEMI
=
7
,
DWRITE_PANOSE_WEIGHT_BOLD
=
8
,
DWRITE_PANOSE_WEIGHT_HEAVY
=
9
,
DWRITE_PANOSE_WEIGHT_BLACK
=
10
,
=
11
,
DWRITE_PANOSE_WEIGHT_NORD
=
DWRITE_PANOSE_WEIGHT_EXTRA_BLACK
};
enum
{
DWRITE_PANOSE_PROPORTION_ANY
=
0
,
DWRITE_PANOSE_PROPORTION_NO_FIT
=
1
,
DWRITE_PANOSE_PROPORTION_OLD_STYLE
=
2
,
DWRITE_PANOSE_PROPORTION_MODERN
=
3
,
DWRITE_PANOSE_PROPORTION_EVEN_WIDTH
=
4
,
DWRITE_PANOSE_PROPORTION_EXPANDED
=
5
,
DWRITE_PANOSE_PROPORTION_CONDENSED
=
6
,
DWRITE_PANOSE_PROPORTION_VERY_EXPANDED
=
7
,
DWRITE_PANOSE_PROPORTION_VERY_CONDENSED
=
8
,
DWRITE_PANOSE_PROPORTION_MONOSPACED
=
9
};
enum
{
DWRITE_PANOSE_CONTRAST_ANY
=
0
,
DWRITE_PANOSE_CONTRAST_NO_FIT
=
1
,
DWRITE_PANOSE_CONTRAST_NONE
=
2
,
DWRITE_PANOSE_CONTRAST_VERY_LOW
=
3
,
DWRITE_PANOSE_CONTRAST_LOW
=
4
,
DWRITE_PANOSE_CONTRAST_MEDIUM_LOW
=
5
,
DWRITE_PANOSE_CONTRAST_MEDIUM
=
6
,
DWRITE_PANOSE_CONTRAST_MEDIUM_HIGH
=
7
,
DWRITE_PANOSE_CONTRAST_HIGH
=
8
,
DWRITE_PANOSE_CONTRAST_VERY_HIGH
=
9
,
DWRITE_PANOSE_CONTRAST_HORIZONTAL_LOW
=
10
,
DWRITE_PANOSE_CONTRAST_HORIZONTAL_MEDIUM
=
11
,
DWRITE_PANOSE_CONTRAST_HORIZONTAL_HIGH
=
12
,
DWRITE_PANOSE_CONTRAST_BROKEN
=
13
};
enum
DWRITE_PANOSE_STROKE_VARIATION
{
DWRITE_PANOSE_STROKE_VARIATION_ANY
=
0
,
DWRITE_PANOSE_STROKE_VARIATION_NO_FIT
=
1
,
DWRITE_PANOSE_STROKE_VARIATION_NO_VARIATION
=
2
,
DWRITE_PANOSE_STROKE_VARIATION_GRADUAL_DIAGONAL
=
3
,
DWRITE_PANOSE_STROKE_VARIATION_GRADUAL_TRANSITIONAL
=
4
,
DWRITE_PANOSE_STROKE_VARIATION_GRADUAL_VERTICAL
=
5
,
DWRITE_PANOSE_STROKE_VARIATION_GRADUAL_HORIZONTAL
=
6
,
DWRITE_PANOSE_STROKE_VARIATION_RAPID_VERTICAL
=
7
,
DWRITE_PANOSE_STROKE_VARIATION_RAPID_HORIZONTAL
=
8
,
DWRITE_PANOSE_STROKE_VARIATION_INSTANT_VERTICAL
=
9
,
DWRITE_PANOSE_STROKE_VARIATION_INSTANT_HORIZONTAL
=
10
};
enum
{
DWRITE_PANOSE_ARM_STYLE_ANY
=
0
,
DWRITE_PANOSE_ARM_STYLE_NO_FIT
=
1
,
DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_HORIZONTAL
=
2
,
DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_WEDGE
=
3
,
DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_VERTICAL
=
4
,
DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_SINGLE_SERIF
=
5
,
DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_DOUBLE_SERIF
=
6
,
DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_HORIZONTAL
=
7
,
DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_WEDGE
=
8
,
DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_VERTICAL
=
9
,
DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_SINGLE_SERIF
=
10
,
DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_DOUBLE_SERIF
=
11
,
DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_HORZ
=
DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_HORIZONTAL
,
DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_VERT
=
DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_VERTICAL
,
DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_HORZ
=
DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_HORIZONTAL
,
DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_WEDGE
=
DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_WEDGE
,
DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_VERT
=
DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_VERTICAL
,
DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_SINGLE_SERIF
=
DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_SINGLE_SERIF
,
DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_DOUBLE_SERIF
=
DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_DOUBLE_SERIF
};
enum
{
=
0
,
=
1
,
=
2
,
=
3
,
=
4
,
=
5
,
=
6
,
=
7
,
=
8
,
=
9
,
=
10
,
=
11
,
=
12
,
=
13
,
=
14
,
=
15
};
enum
{
DWRITE_PANOSE_MIDLINE_ANY
=
0
,
DWRITE_PANOSE_MIDLINE_NO_FIT
=
1
,
DWRITE_PANOSE_MIDLINE_STANDARD_TRIMMED
=
2
,
DWRITE_PANOSE_MIDLINE_STANDARD_POINTED
=
3
,
DWRITE_PANOSE_MIDLINE_STANDARD_SERIFED
=
4
,
DWRITE_PANOSE_MIDLINE_HIGH_TRIMMED
=
5
,
DWRITE_PANOSE_MIDLINE_HIGH_POINTED
=
6
,
DWRITE_PANOSE_MIDLINE_HIGH_SERIFED
=
7
,
DWRITE_PANOSE_MIDLINE_CONSTANT_TRIMMED
=
8
,
DWRITE_PANOSE_MIDLINE_CONSTANT_POINTED
=
9
,
DWRITE_PANOSE_MIDLINE_CONSTANT_SERIFED
=
10
,
DWRITE_PANOSE_MIDLINE_LOW_TRIMMED
=
11
,
DWRITE_PANOSE_MIDLINE_LOW_POINTED
=
12
,
DWRITE_PANOSE_MIDLINE_LOW_SERIFED
=
13
};
enum
{
DWRITE_PANOSE_XHEIGHT_ANY
=
0
,
DWRITE_PANOSE_XHEIGHT_NO_FIT
=
1
,
DWRITE_PANOSE_XHEIGHT_CONSTANT_SMALL
=
2
,
DWRITE_PANOSE_XHEIGHT_CONSTANT_STANDARD
=
3
,
DWRITE_PANOSE_XHEIGHT_CONSTANT_LARGE
=
4
,
DWRITE_PANOSE_XHEIGHT_DUCKING_SMALL
=
5
,
DWRITE_PANOSE_XHEIGHT_DUCKING_STANDARD
=
6
,
DWRITE_PANOSE_XHEIGHT_DUCKING_LARGE
=
7
,
DWRITE_PANOSE_XHEIGHT_CONSTANT_STD
=
DWRITE_PANOSE_XHEIGHT_CONSTANT_STANDARD
,
DWRITE_PANOSE_XHEIGHT_DUCKING_STD
=
DWRITE_PANOSE_XHEIGHT_DUCKING_STANDARD
};
enum
{
=
0
,
=
1
,
=
2
,
=
3
,
=
4
,
=
5
,
=
6
,
=
7
,
=
8
,
=
9
};
enum
{
DWRITE_PANOSE_SPACING_ANY
=
0
,
DWRITE_PANOSE_SPACING_NO_FIT
=
1
,
DWRITE_PANOSE_SPACING_PROPORTIONAL_SPACED
=
2
,
DWRITE_PANOSE_SPACING_MONOSPACED
=
3
,
};
enum
DWRITE_PANOSE_ASPECT_RATIO
{
DWRITE_PANOSE_ASPECT_RATIO_ANY
=
0
,
DWRITE_PANOSE_ASPECT_RATIO_NO_FIT
=
1
,
DWRITE_PANOSE_ASPECT_RATIO_VERY_CONDENSED
=
2
,
DWRITE_PANOSE_ASPECT_RATIO_CONDENSED
=
3
,
DWRITE_PANOSE_ASPECT_RATIO_NORMAL
=
4
,
DWRITE_PANOSE_ASPECT_RATIO_EXPANDED
=
5
,
DWRITE_PANOSE_ASPECT_RATIO_VERY_EXPANDED
=
6
};
enum
DWRITE_PANOSE_SCRIPT_TOPOLOGY
{
DWRITE_PANOSE_SCRIPT_TOPOLOGY_ANY
=
0
,
DWRITE_PANOSE_SCRIPT_TOPOLOGY_NO_FIT
=
1
,
DWRITE_PANOSE_SCRIPT_TOPOLOGY_ROMAN_DISCONNECTED
=
2
,
DWRITE_PANOSE_SCRIPT_TOPOLOGY_ROMAN_TRAILING
=
3
,
DWRITE_PANOSE_SCRIPT_TOPOLOGY_ROMAN_CONNECTED
=
4
,
DWRITE_PANOSE_SCRIPT_TOPOLOGY_CURSIVE_DISCONNECTED
=
5
,
DWRITE_PANOSE_SCRIPT_TOPOLOGY_CURSIVE_TRAILING
=
6
,
DWRITE_PANOSE_SCRIPT_TOPOLOGY_CURSIVE_CONNECTED
=
7
,
DWRITE_PANOSE_SCRIPT_TOPOLOGY_BLACKLETTER_DISCONNECTED
=
8
,
DWRITE_PANOSE_SCRIPT_TOPOLOGY_BLACKLETTER_TRAILING
=
9
,
DWRITE_PANOSE_SCRIPT_TOPOLOGY_BLACKLETTER_CONNECTED
=
10
};
enum
{
=
0
,
=
1
,
=
2
,
=
3
,
=
4
,
=
5
,
=
6
,
=
7
,
=
8
,
=
9
,
=
10
,
=
11
,
=
12
,
=
13
};
enum
{
DWRITE_PANOSE_FINIALS_ANY
=
0
,
DWRITE_PANOSE_FINIALS_NO_FIT
=
1
,
DWRITE_PANOSE_FINIALS_NONE_NO_LOOPS
=
2
,
DWRITE_PANOSE_FINIALS_NONE_CLOSED_LOOPS
=
3
,
DWRITE_PANOSE_FINIALS_NONE_OPEN_LOOPS
=
4
,
DWRITE_PANOSE_FINIALS_SHARP_NO_LOOPS
=
5
,
DWRITE_PANOSE_FINIALS_SHARP_CLOSED_LOOPS
=
6
,
DWRITE_PANOSE_FINIALS_SHARP_OPEN_LOOPS
=
7
,
DWRITE_PANOSE_FINIALS_TAPERED_NO_LOOPS
=
8
,
DWRITE_PANOSE_FINIALS_TAPERED_CLOSED_LOOPS
=
9
,
DWRITE_PANOSE_FINIALS_TAPERED_OPEN_LOOPS
=
10
,
DWRITE_PANOSE_FINIALS_ROUND_NO_LOOPS
=
11
,
DWRITE_PANOSE_FINIALS_ROUND_CLOSED_LOOPS
=
12
,
DWRITE_PANOSE_FINIALS_ROUND_OPEN_LOOPS
=
13
};
enum
{
DWRITE_PANOSE_XASCENT_ANY
=
0
,
DWRITE_PANOSE_XASCENT_NO_FIT
=
1
,
DWRITE_PANOSE_XASCENT_VERY_LOW
=
2
,
DWRITE_PANOSE_XASCENT_LOW
=
3
,
DWRITE_PANOSE_XASCENT_MEDIUM
=
4
,
DWRITE_PANOSE_XASCENT_HIGH
=
5
,
DWRITE_PANOSE_XASCENT_VERY_HIGH
=
6
};
enum
DWRITE_PANOSE_DECORATIVE_CLASS
{
DWRITE_PANOSE_DECORATIVE_CLASS_ANY
=
0
,
DWRITE_PANOSE_DECORATIVE_CLASS_NO_FIT
=
1
,
DWRITE_PANOSE_DECORATIVE_CLASS_DERIVATIVE
=
2
,
DWRITE_PANOSE_DECORATIVE_CLASS_NONSTANDARD_TOPOLOGY
=
3
,
DWRITE_PANOSE_DECORATIVE_CLASS_NONSTANDARD_ELEMENTS
=
4
,
DWRITE_PANOSE_DECORATIVE_CLASS_NONSTANDARD_ASPECT
=
5
,
DWRITE_PANOSE_DECORATIVE_CLASS_INITIALS
=
6
,
DWRITE_PANOSE_DECORATIVE_CLASS_CARTOON
=
7
,
DWRITE_PANOSE_DECORATIVE_CLASS_PICTURE_STEMS
=
8
,
DWRITE_PANOSE_DECORATIVE_CLASS_ORNAMENTED
=
9
,
DWRITE_PANOSE_DECORATIVE_CLASS_TEXT_AND_BACKGROUND
=
10
,
DWRITE_PANOSE_DECORATIVE_CLASS_COLLAGE
=
11
,
DWRITE_PANOSE_DECORATIVE_CLASS_MONTAGE
=
12
};
enum
{
=
0
,
DWRITE_PANOSE_ASPECT_NO_FIT
=
1
,
DWRITE_PANOSE_ASPECT_SUPER_CONDENSED
=
2
,
DWRITE_PANOSE_ASPECT_VERY_CONDENSED
=
3
,
DWRITE_PANOSE_ASPECT_CONDENSED
=
4
,
DWRITE_PANOSE_ASPECT_NORMAL
=
5
,
DWRITE_PANOSE_ASPECT_EXTENDED
=
6
,
DWRITE_PANOSE_ASPECT_VERY_EXTENDED
=
7
,
DWRITE_PANOSE_ASPECT_SUPER_EXTENDED
=
8
,
DWRITE_PANOSE_ASPECT_MONOSPACED
=
9
};
enum
{
=
0
,
DWRITE_PANOSE_FILL_NO_FIT
=
1
,
DWRITE_PANOSE_FILL_STANDARD_SOLID_FILL
=
2
,
DWRITE_PANOSE_FILL_NO_FILL
=
3
,
DWRITE_PANOSE_FILL_PATTERNED_FILL
=
4
,
DWRITE_PANOSE_FILL_COMPLEX_FILL
=
5
,
DWRITE_PANOSE_FILL_SHAPED_FILL
=
6
,
DWRITE_PANOSE_FILL_DRAWN_DISTRESSED
=
7
,
};
enum
{
=
0
,
DWRITE_PANOSE_LINING_NO_FIT
=
1
,
DWRITE_PANOSE_LINING_NONE
=
2
,
DWRITE_PANOSE_LINING_INLINE
=
3
,
DWRITE_PANOSE_LINING_OUTLINE
=
4
,
DWRITE_PANOSE_LINING_ENGRAVED
=
5
,
DWRITE_PANOSE_LINING_SHADOW
=
6
,
DWRITE_PANOSE_LINING_RELIEF
=
7
,
DWRITE_PANOSE_LINING_BACKDROP
=
8
};
enum
DWRITE_PANOSE_DECORATIVE_TOPOLOGY
{
DWRITE_PANOSE_DECORATIVE_TOPOLOGY_ANY
=
0
,
DWRITE_PANOSE_DECORATIVE_TOPOLOGY_NO_FIT
=
1
,
DWRITE_PANOSE_DECORATIVE_TOPOLOGY_STANDARD
=
2
,
DWRITE_PANOSE_DECORATIVE_TOPOLOGY_SQUARE
=
3
,
DWRITE_PANOSE_DECORATIVE_TOPOLOGY_MULTIPLE_SEGMENT
=
4
,
DWRITE_PANOSE_DECORATIVE_TOPOLOGY_ART_DECO
=
5
,
DWRITE_PANOSE_DECORATIVE_TOPOLOGY_UNEVEN_WEIGHTING
=
6
,
DWRITE_PANOSE_DECORATIVE_TOPOLOGY_DIVERSE_ARMS
=
7
,
=
8
,
=
9
,
DWRITE_PANOSE_DECORATIVE_TOPOLOGY_UPPER_CASE_IN_LOWER_CASE
=
10
,
DWRITE_PANOSE_DECORATIVE_TOPOLOGY_IMPLIED_TOPOLOGY
=
11
,
DWRITE_PANOSE_DECORATIVE_TOPOLOGY_HORSESHOE_E_AND_A
=
12
,
DWRITE_PANOSE_DECORATIVE_TOPOLOGY_CURSIVE
=
13
,
DWRITE_PANOSE_DECORATIVE_TOPOLOGY_BLACKLETTER
=
14
,
DWRITE_PANOSE_DECORATIVE_TOPOLOGY_SWASH_VARIANCE
=
15
};
enum
DWRITE_PANOSE_CHARACTER_RANGES
{
DWRITE_PANOSE_CHARACTER_RANGES_ANY
=
0
,
DWRITE_PANOSE_CHARACTER_RANGES_NO_FIT
=
1
,
DWRITE_PANOSE_CHARACTER_RANGES_EXTENDED_COLLECTION
=
2
,
DWRITE_PANOSE_CHARACTER_RANGES_LITERALS
=
3
,
DWRITE_PANOSE_CHARACTER_RANGES_NO_LOWER_CASE
=
4
,
DWRITE_PANOSE_CHARACTER_RANGES_SMALL_CAPS
=
5
};
enum
DWRITE_PANOSE_SYMBOL_KIND
{
DWRITE_PANOSE_SYMBOL_KIND_ANY
=
0
,
DWRITE_PANOSE_SYMBOL_KIND_NO_FIT
=
1
,
DWRITE_PANOSE_SYMBOL_KIND_MONTAGES
=
2
,
DWRITE_PANOSE_SYMBOL_KIND_PICTURES
=
3
,
DWRITE_PANOSE_SYMBOL_KIND_SHAPES
=
4
,
DWRITE_PANOSE_SYMBOL_KIND_SCIENTIFIC
=
5
,
DWRITE_PANOSE_SYMBOL_KIND_MUSIC
=
6
,
DWRITE_PANOSE_SYMBOL_KIND_EXPERT
=
7
,
DWRITE_PANOSE_SYMBOL_KIND_PATTERNS
=
8
,
DWRITE_PANOSE_SYMBOL_KIND_BOARDERS
=
9
,
DWRITE_PANOSE_SYMBOL_KIND_ICONS
=
10
,
DWRITE_PANOSE_SYMBOL_KIND_LOGOS
=
11
,
DWRITE_PANOSE_SYMBOL_KIND_INDUSTRY_SPECIFIC
=
12
};
enum
DWRITE_PANOSE_SYMBOL_ASPECT_RATIO
{
DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_ANY
=
0
,
DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_NO_FIT
=
1
,
DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_NO_WIDTH
=
2
,
DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_EXCEPTIONALLY_WIDE
=
3
,
DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_SUPER_WIDE
=
4
,
DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_VERY_WIDE
=
5
,
DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_WIDE
=
6
,
DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_NORMAL
=
7
,
DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_NARROW
=
8
,
DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_VERY_NARROW
=
9
};
enum
{
DWRITE_OUTLINE_THRESHOLD_ANTIALIASED
,
DWRITE_OUTLINE_THRESHOLD_ALIASED
};
enum
{
,
,
,
,
,
DWRITE_BASELINE_IDEOGRAPHIC_BOTTOM
,
DWRITE_BASELINE_IDEOGRAPHIC_TOP
,
,
,
};
enum
DWRITE_VERTICAL_GLYPH_ORIENTATION
{
DWRITE_VERTICAL_GLYPH_ORIENTATION_DEFAULT
,
DWRITE_VERTICAL_GLYPH_ORIENTATION_STACKED
,
};
enum
DWRITE_GLYPH_ORIENTATION_ANGLE
{
DWRITE_GLYPH_ORIENTATION_ANGLE_0_DEGREES
,
DWRITE_GLYPH_ORIENTATION_ANGLE_90_DEGREES
,
DWRITE_GLYPH_ORIENTATION_ANGLE_180_DEGREES
,
DWRITE_GLYPH_ORIENTATION_ANGLE_270_DEGREES
,
};
struct
:
public
{
;
;
;
;
;
;
;
;
;
;
;
;
;
};
struct
{
;
;
;
};
union
{
[
10
];
;
struct
{
;
;
;
;
;
;
;
;
;
;
}
;
struct
{
;
;
;
;
;
;
;
;
;
;
}
;
struct
{
;
;
;
;
;
;
;
;
;
;
}
;
struct
{
;
;
;
;
;
;
;
;
;
;
}
;
};
struct
{
;
;
};
struct
{
;
;
;
;
:
1
;
:
1
;
:
1
;
:
1
;
isDistributedWithinCluster
:
1
;
:
1
;
:
1
;
:
25
;
};
struct
DWRITE_JUSTIFICATION_OPPORTUNITY
{
;
;
;
:
8
;
:
8
;
:
1
;
:
1
;
:
1
;
:
1
;
:
12
;
};
interface IDWriteTextAnalysisSource1;
struct
IDWriteTextAnalysisSource1
;
interface IDWriteTextAnalysisSink1;
interface IDWriteRenderingParams1;
interface DWRITE_DECLARE_INTERFACE("30572f99-dac6-41db-a16e-0486307e606a") IDWriteFactory1 : public IDWriteFactory
struct
__declspec
(uuid(
"30572f99-dac6-41db-a16e-0486307e606a"
))
__declspec
(novtable)
:
public
{
STDMETHOD(GetEudcFontCollection)(
virtual
__declspec
(nothrow)
__stdcall
(
_COM_Outptr_ IDWriteFontCollection** fontCollection,
BOOL checkForUpdates = FALSE
STDMETHOD(CreateCustomRenderingParams)(
virtual
__declspec
(nothrow)
__stdcall
CreateCustomRenderingParams
(
,
,
enhancedContrastGrayscale
,
,
,
,
_COM_Outptr_ IDWriteRenderingParams1** renderingParams
using
::
CreateCustomRenderingParams
;
};
interface DWRITE_DECLARE_INTERFACE("a71efdb4-9fdb-4838-ad90-cfc3be8c3daf") IDWriteFontFace1 : public IDWriteFontFace
struct
__declspec
(uuid(
"a71efdb4-9fdb-4838-ad90-cfc3be8c3daf"
))
__declspec
(novtable)
:
public
{
STDMETHOD_(void, GetMetrics)(
virtual
__declspec
(nothrow)
void
__stdcall
(
_Out_ DWRITE_FONT_METRICS1* fontMetrics
STDMETHOD(GetGdiCompatibleMetrics)(
virtual
__declspec
(nothrow)
__stdcall
(
,
,
_In_opt_ DWRITE_MATRIX const* transform,
_Out_ DWRITE_FONT_METRICS1* fontMetrics
STDMETHOD_(void, GetCaretMetrics)(
virtual
__declspec
(nothrow)
void
__stdcall
(
_Out_ DWRITE_CARET_METRICS* caretMetrics
STDMETHOD(GetUnicodeRanges)(
virtual
__declspec
(nothrow)
__stdcall
(
,
_Out_writes_to_opt_(maxRangeCount, *actualRangeCount) DWRITE_UNICODE_RANGE* unicodeRanges,
_Out_ UINT32* actualRangeCount
STDMETHOD_(BOOL, IsMonospacedFont)() PURE;
virtual
__declspec
(nothrow)
__stdcall
() =
0
;
STDMETHOD(GetDesignGlyphAdvances)(
virtual
__declspec
(nothrow)
__stdcall
(
,
_In_reads_(glyphCount) UINT16 const* glyphIndices,
_Out_writes_(glyphCount) INT32* glyphAdvances,
STDMETHOD(GetGdiCompatibleGlyphAdvances)(
virtual
__declspec
(nothrow)
__stdcall
GetGdiCompatibleGlyphAdvances
(
,
,
_In_opt_ DWRITE_MATRIX const* transform,
,
,
,
_In_reads_(glyphCount) UINT16 const* glyphIndices,
_Out_writes_(glyphCount) INT32* glyphAdvances
STDMETHOD(GetKerningPairAdjustments)(
virtual
__declspec
(nothrow)
__stdcall
GetKerningPairAdjustments
(
,
_In_reads_(glyphCount) UINT16 const* glyphIndices,
_Out_writes_(glyphCount) INT32* glyphAdvanceAdjustments
STDMETHOD_(BOOL, HasKerningPairs)() PURE;
virtual
__declspec
(nothrow)
__stdcall
() =
0
;
STDMETHOD(GetRecommendedRenderingMode)(
virtual
__declspec
(nothrow)
__stdcall
GetRecommendedRenderingMode
(
,
,
,
_In_opt_ DWRITE_MATRIX const* transform,
,
,
,
_Out_ DWRITE_RENDERING_MODE* renderingMode
STDMETHOD(GetVerticalGlyphVariants)(
virtual
__declspec
(nothrow)
__stdcall
(
,
_In_reads_(glyphCount) UINT16 const* nominalGlyphIndices,
_Out_writes_(glyphCount) UINT16* verticalGlyphIndices
STDMETHOD_(BOOL, HasVerticalGlyphVariants)() PURE;
virtual
__declspec
(nothrow)
__stdcall
() =
0
;
using
::
;
using
::
;
using
::
GetRecommendedRenderingMode
;
};
interface DWRITE_DECLARE_INTERFACE("acd16696-8c14-4f5d-877e-fe3fc1d32738") IDWriteFont1 : public IDWriteFont
struct
__declspec
(uuid(
"acd16696-8c14-4f5d-877e-fe3fc1d32738"
))
__declspec
(novtable)
:
public
{
STDMETHOD_(void, GetMetrics)(
virtual
__declspec
(nothrow)
void
__stdcall
(
_Out_ DWRITE_FONT_METRICS1* fontMetrics
using
::
;
STDMETHOD_(void, GetPanose)(
virtual
__declspec
(nothrow)
void
__stdcall
(
_Out_ DWRITE_PANOSE* panose
STDMETHOD(GetUnicodeRanges)(
virtual
__declspec
(nothrow)
__stdcall
(
,
_Out_writes_to_opt_(maxRangeCount, *actualRangeCount) DWRITE_UNICODE_RANGE* unicodeRanges,
_Out_ UINT32* actualRangeCount
STDMETHOD_(BOOL, IsMonospacedFont)() PURE;
virtual
__declspec
(nothrow)
__stdcall
() =
0
;
};
interface DWRITE_DECLARE_INTERFACE("94413cf4-a6fc-4248-8b50-6674348fcad3") IDWriteRenderingParams1 : public IDWriteRenderingParams
struct
__declspec
(uuid(
"94413cf4-a6fc-4248-8b50-6674348fcad3"
))
__declspec
(novtable)
:
public
{
STDMETHOD_(FLOAT, GetGrayscaleEnhancedContrast)() PURE;
virtual
__declspec
(nothrow)
__stdcall
GetGrayscaleEnhancedContrast
() =
0
;
};
interface DWRITE_DECLARE_INTERFACE("80DAD800-E21F-4E83-96CE-BFCCE500DB7C") IDWriteTextAnalyzer1 : public IDWriteTextAnalyzer
struct
__declspec
(uuid(
"80DAD800-E21F-4E83-96CE-BFCCE500DB7C"
))
__declspec
(novtable)
:
public
{
STDMETHOD(ApplyCharacterSpacing)(
virtual
__declspec
(nothrow)
__stdcall
(
,
,
,
,
,
_In_reads_(textLength) UINT16 const* clusterMap,
_In_reads_(glyphCount) FLOAT const* glyphAdvances,
_In_reads_(glyphCount) DWRITE_GLYPH_OFFSET const* glyphOffsets,
_In_reads_(glyphCount) DWRITE_SHAPING_GLYPH_PROPERTIES const* glyphProperties,
DWRITE_SHAPING_GLYPH_PROPERTIES
const
*
,
_Out_writes_(glyphCount) FLOAT* modifiedGlyphAdvances,
_Out_writes_(glyphCount) DWRITE_GLYPH_OFFSET* modifiedGlyphOffsets
STDMETHOD(GetBaseline)(
virtual
__declspec
(nothrow)
__stdcall
(
_In_ IDWriteFontFace* fontFace,
,
,
,
,
_In_opt_z_ WCHAR const* localeName,
_Out_ INT32* baselineCoordinate,
STDMETHOD(AnalyzeVerticalGlyphOrientation)(
virtual
__declspec
(nothrow)
__stdcall
AnalyzeVerticalGlyphOrientation
(
_In_ IDWriteTextAnalysisSource1* analysisSource,
IDWriteTextAnalysisSource1
*
,
,
,
_In_ IDWriteTextAnalysisSink1* analysisSink
STDMETHOD(GetGlyphOrientationTransform)(
virtual
__declspec
(nothrow)
__stdcall
GetGlyphOrientationTransform
(
DWRITE_GLYPH_ORIENTATION_ANGLE
,
,
_Out_ DWRITE_MATRIX* transform
STDMETHOD(GetScriptProperties)(
virtual
__declspec
(nothrow)
__stdcall
(
,
_Out_ DWRITE_SCRIPT_PROPERTIES* scriptProperties
STDMETHOD(GetTextComplexity)(
virtual
__declspec
(nothrow)
__stdcall
(
_In_reads_(textLength) WCHAR const* textString,
,
_In_ IDWriteFontFace* fontFace,
_Out_ BOOL* isTextSimple,
_Out_range_(0, textLength) UINT32* textLengthRead,
_Out_writes_to_opt_(textLength, *textLengthRead) UINT16* glyphIndices
STDMETHOD(GetJustificationOpportunities)(
virtual
__declspec
(nothrow)
__stdcall
GetJustificationOpportunities
(
_In_opt_ IDWriteFontFace* fontFace,
,
,
,
,
_In_reads_(textLength) WCHAR const* textString,
_In_reads_(textLength) UINT16 const* clusterMap,
_In_reads_(glyphCount) DWRITE_SHAPING_GLYPH_PROPERTIES const* glyphProperties,
DWRITE_SHAPING_GLYPH_PROPERTIES
const
*
,
_Out_writes_(glyphCount) DWRITE_JUSTIFICATION_OPPORTUNITY* justificationOpportunities
DWRITE_JUSTIFICATION_OPPORTUNITY
*
justificationOpportunities
STDMETHOD(JustifyGlyphAdvances)(
virtual
__declspec
(nothrow)
__stdcall
(
,
,
_In_reads_(glyphCount) DWRITE_JUSTIFICATION_OPPORTUNITY const* justificationOpportunities,
DWRITE_JUSTIFICATION_OPPORTUNITY
const
*
justificationOpportunities
,
_In_reads_(glyphCount) FLOAT const* glyphAdvances,
_In_reads_(glyphCount) DWRITE_GLYPH_OFFSET const* glyphOffsets,
_Out_writes_(glyphCount) FLOAT* justifiedGlyphAdvances,
_Out_writes_opt_(glyphCount) DWRITE_GLYPH_OFFSET* justifiedGlyphOffsets
STDMETHOD(GetJustifiedGlyphs)(
virtual
__declspec
(nothrow)
__stdcall
(
_In_opt_ IDWriteFontFace* fontFace,
,
,
,
,
,
_In_reads_opt_(textLength) UINT16 const* clusterMap,
_In_reads_(glyphCount) UINT16 const* glyphIndices,
_In_reads_(glyphCount) FLOAT const* glyphAdvances,
_In_reads_(glyphCount) FLOAT const* justifiedGlyphAdvances,
_In_reads_(glyphCount) DWRITE_GLYPH_OFFSET const* justifiedGlyphOffsets,
_In_reads_(glyphCount) DWRITE_SHAPING_GLYPH_PROPERTIES const* glyphProperties,
DWRITE_SHAPING_GLYPH_PROPERTIES
const
*
,
_Out_range_(glyphCount, maxGlyphCount) UINT32* actualGlyphCount,
_Out_writes_opt_(textLength) UINT16* modifiedClusterMap,
_Out_writes_to_(maxGlyphCount, *actualGlyphCount) UINT16* modifiedGlyphIndices,
_Out_writes_to_(maxGlyphCount, *actualGlyphCount) FLOAT* modifiedGlyphAdvances,
_Out_writes_to_(maxGlyphCount, *actualGlyphCount) DWRITE_GLYPH_OFFSET* modifiedGlyphOffsets
};
interface DWRITE_DECLARE_INTERFACE("639CFAD8-0FB4-4B21-A58A-067920120009") IDWriteTextAnalysisSource1 : public IDWriteTextAnalysisSource
struct
__declspec
(uuid(
"639CFAD8-0FB4-4B21-A58A-067920120009"
))
__declspec
(novtable)
IDWriteTextAnalysisSource1
:
public
IDWriteTextAnalysisSource
{
STDMETHOD(GetVerticalGlyphOrientation)(
virtual
__declspec
(nothrow)
__stdcall
GetVerticalGlyphOrientation
(
,
_Out_ UINT32* textLength,
_Out_ DWRITE_VERTICAL_GLYPH_ORIENTATION* glyphOrientation,
DWRITE_VERTICAL_GLYPH_ORIENTATION
*
,
};
interface DWRITE_DECLARE_INTERFACE("B0D941A0-85E7-4D8B-9FD3-5CED9934482A") IDWriteTextAnalysisSink1 : public IDWriteTextAnalysisSink
struct
__declspec
(uuid(
"B0D941A0-85E7-4D8B-9FD3-5CED9934482A"
))
__declspec
(novtable)
:
public
{
STDMETHOD(SetGlyphOrientation)(
virtual
__declspec
(nothrow)
__stdcall
(
,
,
DWRITE_GLYPH_ORIENTATION_ANGLE
,
,
,
};
interface DWRITE_DECLARE_INTERFACE("9064D822-80A7-465C-A986-DF65F78B8FEB") IDWriteTextLayout1 : public IDWriteTextLayout
struct
__declspec
(uuid(
"9064D822-80A7-465C-A986-DF65F78B8FEB"
))
__declspec
(novtable)
:
public
{
STDMETHOD(SetPairKerning)(
virtual
__declspec
(nothrow)
__stdcall
(
,
STDMETHOD(GetPairKerning)(
virtual
__declspec
(nothrow)
__stdcall
(
,
_Out_ BOOL* isPairKerningEnabled,
_Out_opt_ DWRITE_TEXT_RANGE* textRange = NULL
STDMETHOD(SetCharacterSpacing)(
virtual
__declspec
(nothrow)
__stdcall
(
,
,
,
STDMETHOD(GetCharacterSpacing)(
virtual
__declspec
(nothrow)
__stdcall
(
,
_Out_ FLOAT* leadingSpacing,
_Out_ FLOAT* trailingSpacing,
_Out_ FLOAT* minimumAdvanceWidth,
_Out_opt_ DWRITE_TEXT_RANGE* textRange = NULL
};
enum
DWRITE_TEXT_ANTIALIAS_MODE
{
DWRITE_TEXT_ANTIALIAS_MODE_CLEARTYPE
,
DWRITE_TEXT_ANTIALIAS_MODE_GRAYSCALE
};
interface DWRITE_DECLARE_INTERFACE("791e8298-3ef3-4230-9880-c9bdecc42064") IDWriteBitmapRenderTarget1 : public IDWriteBitmapRenderTarget
struct
__declspec
(uuid(
"791e8298-3ef3-4230-9880-c9bdecc42064"
))
__declspec
(novtable)
IDWriteBitmapRenderTarget1
:
public
IDWriteBitmapRenderTarget
{
STDMETHOD_(DWRITE_TEXT_ANTIALIAS_MODE, GetTextAntialiasMode)() PURE;
virtual
__declspec
(nothrow)
DWRITE_TEXT_ANTIALIAS_MODE
__stdcall
() =
0
;
STDMETHOD(SetTextAntialiasMode)(
virtual
__declspec
(nothrow)
__stdcall
(
DWRITE_TEXT_ANTIALIAS_MODE
};
#endif /* DWRITE_1_H_INCLUDED */