]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Win32/Graphics/DirectWrite/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Win32 / Graphics / DirectWrite / mod.rs
CommitLineData
5e7ed085
FG
1#[link(name = "windows")]
2extern "system" {
04454e1e 3 #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
4 pub fn DWriteCreateFactory(factorytype: DWRITE_FACTORY_TYPE, iid: *const ::windows_sys::core::GUID, factory: *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT;
5}
04454e1e 6#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 7pub const DWRITE_ALPHA_MAX: u32 = 255u32;
04454e1e 8#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 9pub type DWRITE_AUTOMATIC_FONT_AXES = u32;
04454e1e 10#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 11pub const DWRITE_AUTOMATIC_FONT_AXES_NONE: DWRITE_AUTOMATIC_FONT_AXES = 0u32;
04454e1e 12#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 13pub const DWRITE_AUTOMATIC_FONT_AXES_OPTICAL_SIZE: DWRITE_AUTOMATIC_FONT_AXES = 1u32;
04454e1e 14#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 15pub type DWRITE_BASELINE = i32;
04454e1e 16#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 17pub const DWRITE_BASELINE_DEFAULT: DWRITE_BASELINE = 0i32;
04454e1e 18#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 19pub const DWRITE_BASELINE_ROMAN: DWRITE_BASELINE = 1i32;
04454e1e 20#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 21pub const DWRITE_BASELINE_CENTRAL: DWRITE_BASELINE = 2i32;
04454e1e 22#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 23pub const DWRITE_BASELINE_MATH: DWRITE_BASELINE = 3i32;
04454e1e 24#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 25pub const DWRITE_BASELINE_HANGING: DWRITE_BASELINE = 4i32;
04454e1e 26#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 27pub const DWRITE_BASELINE_IDEOGRAPHIC_BOTTOM: DWRITE_BASELINE = 5i32;
04454e1e 28#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 29pub const DWRITE_BASELINE_IDEOGRAPHIC_TOP: DWRITE_BASELINE = 6i32;
04454e1e 30#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 31pub const DWRITE_BASELINE_MINIMUM: DWRITE_BASELINE = 7i32;
04454e1e 32#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 33pub const DWRITE_BASELINE_MAXIMUM: DWRITE_BASELINE = 8i32;
04454e1e 34#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 35pub type DWRITE_BREAK_CONDITION = i32;
04454e1e 36#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 37pub const DWRITE_BREAK_CONDITION_NEUTRAL: DWRITE_BREAK_CONDITION = 0i32;
04454e1e 38#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 39pub const DWRITE_BREAK_CONDITION_CAN_BREAK: DWRITE_BREAK_CONDITION = 1i32;
04454e1e 40#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 41pub const DWRITE_BREAK_CONDITION_MAY_NOT_BREAK: DWRITE_BREAK_CONDITION = 2i32;
04454e1e 42#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
43pub const DWRITE_BREAK_CONDITION_MUST_BREAK: DWRITE_BREAK_CONDITION = 3i32;
44#[repr(C)]
04454e1e 45#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
46pub struct DWRITE_CARET_METRICS {
47 pub slopeRise: i16,
48 pub slopeRun: i16,
49 pub offset: i16,
50}
51impl ::core::marker::Copy for DWRITE_CARET_METRICS {}
52impl ::core::clone::Clone for DWRITE_CARET_METRICS {
53 fn clone(&self) -> Self {
54 *self
55 }
56}
57#[repr(C)]
04454e1e 58#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
59pub struct DWRITE_CLUSTER_METRICS {
60 pub width: f32,
61 pub length: u16,
62 pub _bitfield: u16,
63}
64impl ::core::marker::Copy for DWRITE_CLUSTER_METRICS {}
65impl ::core::clone::Clone for DWRITE_CLUSTER_METRICS {
66 fn clone(&self) -> Self {
67 *self
68 }
69}
70#[repr(C)]
04454e1e 71#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
72pub struct DWRITE_COLOR_F {
73 pub r: f32,
74 pub g: f32,
75 pub b: f32,
76 pub a: f32,
77}
78impl ::core::marker::Copy for DWRITE_COLOR_F {}
79impl ::core::clone::Clone for DWRITE_COLOR_F {
80 fn clone(&self) -> Self {
81 *self
82 }
83}
84#[repr(C)]
04454e1e 85#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
86#[cfg(feature = "Win32_Foundation")]
87pub struct DWRITE_COLOR_GLYPH_RUN {
88 pub glyphRun: DWRITE_GLYPH_RUN,
89 pub glyphRunDescription: *mut DWRITE_GLYPH_RUN_DESCRIPTION,
90 pub baselineOriginX: f32,
91 pub baselineOriginY: f32,
92 pub runColor: DWRITE_COLOR_F,
93 pub paletteIndex: u16,
94}
95#[cfg(feature = "Win32_Foundation")]
96impl ::core::marker::Copy for DWRITE_COLOR_GLYPH_RUN {}
97#[cfg(feature = "Win32_Foundation")]
98impl ::core::clone::Clone for DWRITE_COLOR_GLYPH_RUN {
99 fn clone(&self) -> Self {
100 *self
101 }
102}
103#[repr(C)]
04454e1e 104#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
105#[cfg(feature = "Win32_Foundation")]
106pub struct DWRITE_COLOR_GLYPH_RUN1 {
107 pub Base: DWRITE_COLOR_GLYPH_RUN,
108 pub glyphImageFormat: DWRITE_GLYPH_IMAGE_FORMATS,
109 pub measuringMode: DWRITE_MEASURING_MODE,
110}
111#[cfg(feature = "Win32_Foundation")]
112impl ::core::marker::Copy for DWRITE_COLOR_GLYPH_RUN1 {}
113#[cfg(feature = "Win32_Foundation")]
114impl ::core::clone::Clone for DWRITE_COLOR_GLYPH_RUN1 {
115 fn clone(&self) -> Self {
116 *self
117 }
118}
04454e1e 119#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 120pub type DWRITE_CONTAINER_TYPE = i32;
04454e1e 121#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 122pub const DWRITE_CONTAINER_TYPE_UNKNOWN: DWRITE_CONTAINER_TYPE = 0i32;
04454e1e 123#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 124pub const DWRITE_CONTAINER_TYPE_WOFF: DWRITE_CONTAINER_TYPE = 1i32;
04454e1e 125#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 126pub const DWRITE_CONTAINER_TYPE_WOFF2: DWRITE_CONTAINER_TYPE = 2i32;
04454e1e 127#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 128pub const DWRITE_ERR_BASE: u32 = 20480u32;
04454e1e 129#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 130pub const DWRITE_E_DOWNLOADCANCELLED: ::windows_sys::core::HRESULT = -2003283954i32;
04454e1e 131#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 132pub const DWRITE_E_DOWNLOADFAILED: ::windows_sys::core::HRESULT = -2003283953i32;
04454e1e 133#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 134pub const DWRITE_E_REMOTEFONT: ::windows_sys::core::HRESULT = -2003283955i32;
04454e1e 135#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 136pub const DWRITE_E_TOOMANYDOWNLOADS: ::windows_sys::core::HRESULT = -2003283952i32;
04454e1e 137#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 138pub type DWRITE_FACTORY_TYPE = i32;
04454e1e 139#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 140pub const DWRITE_FACTORY_TYPE_SHARED: DWRITE_FACTORY_TYPE = 0i32;
04454e1e 141#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
142pub const DWRITE_FACTORY_TYPE_ISOLATED: DWRITE_FACTORY_TYPE = 1i32;
143#[repr(C)]
04454e1e 144#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
145pub struct DWRITE_FILE_FRAGMENT {
146 pub fileOffset: u64,
147 pub fragmentSize: u64,
148}
149impl ::core::marker::Copy for DWRITE_FILE_FRAGMENT {}
150impl ::core::clone::Clone for DWRITE_FILE_FRAGMENT {
151 fn clone(&self) -> Self {
152 *self
153 }
154}
04454e1e 155#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 156pub type DWRITE_FLOW_DIRECTION = i32;
04454e1e 157#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 158pub const DWRITE_FLOW_DIRECTION_TOP_TO_BOTTOM: DWRITE_FLOW_DIRECTION = 0i32;
04454e1e 159#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 160pub const DWRITE_FLOW_DIRECTION_BOTTOM_TO_TOP: DWRITE_FLOW_DIRECTION = 1i32;
04454e1e 161#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 162pub const DWRITE_FLOW_DIRECTION_LEFT_TO_RIGHT: DWRITE_FLOW_DIRECTION = 2i32;
04454e1e 163#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 164pub const DWRITE_FLOW_DIRECTION_RIGHT_TO_LEFT: DWRITE_FLOW_DIRECTION = 3i32;
04454e1e 165#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 166pub type DWRITE_FONT_AXIS_ATTRIBUTES = u32;
04454e1e 167#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 168pub const DWRITE_FONT_AXIS_ATTRIBUTES_NONE: DWRITE_FONT_AXIS_ATTRIBUTES = 0u32;
04454e1e 169#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 170pub const DWRITE_FONT_AXIS_ATTRIBUTES_VARIABLE: DWRITE_FONT_AXIS_ATTRIBUTES = 1u32;
04454e1e 171#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
172pub const DWRITE_FONT_AXIS_ATTRIBUTES_HIDDEN: DWRITE_FONT_AXIS_ATTRIBUTES = 2u32;
173#[repr(C)]
04454e1e 174#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
175pub struct DWRITE_FONT_AXIS_RANGE {
176 pub axisTag: DWRITE_FONT_AXIS_TAG,
177 pub minValue: f32,
178 pub maxValue: f32,
179}
180impl ::core::marker::Copy for DWRITE_FONT_AXIS_RANGE {}
181impl ::core::clone::Clone for DWRITE_FONT_AXIS_RANGE {
182 fn clone(&self) -> Self {
183 *self
184 }
185}
04454e1e 186#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 187pub type DWRITE_FONT_AXIS_TAG = u32;
04454e1e 188#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 189pub const DWRITE_FONT_AXIS_TAG_WEIGHT: DWRITE_FONT_AXIS_TAG = 1952999287u32;
04454e1e 190#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 191pub const DWRITE_FONT_AXIS_TAG_WIDTH: DWRITE_FONT_AXIS_TAG = 1752458359u32;
04454e1e 192#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 193pub const DWRITE_FONT_AXIS_TAG_SLANT: DWRITE_FONT_AXIS_TAG = 1953393779u32;
04454e1e 194#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 195pub const DWRITE_FONT_AXIS_TAG_OPTICAL_SIZE: DWRITE_FONT_AXIS_TAG = 2054385775u32;
04454e1e 196#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
197pub const DWRITE_FONT_AXIS_TAG_ITALIC: DWRITE_FONT_AXIS_TAG = 1818326121u32;
198#[repr(C)]
04454e1e 199#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
200pub struct DWRITE_FONT_AXIS_VALUE {
201 pub axisTag: DWRITE_FONT_AXIS_TAG,
202 pub value: f32,
203}
204impl ::core::marker::Copy for DWRITE_FONT_AXIS_VALUE {}
205impl ::core::clone::Clone for DWRITE_FONT_AXIS_VALUE {
206 fn clone(&self) -> Self {
207 *self
208 }
209}
04454e1e 210#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 211pub type DWRITE_FONT_FACE_TYPE = i32;
04454e1e 212#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 213pub const DWRITE_FONT_FACE_TYPE_CFF: DWRITE_FONT_FACE_TYPE = 0i32;
04454e1e 214#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 215pub const DWRITE_FONT_FACE_TYPE_TRUETYPE: DWRITE_FONT_FACE_TYPE = 1i32;
04454e1e 216#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 217pub const DWRITE_FONT_FACE_TYPE_OPENTYPE_COLLECTION: DWRITE_FONT_FACE_TYPE = 2i32;
04454e1e 218#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 219pub const DWRITE_FONT_FACE_TYPE_TYPE1: DWRITE_FONT_FACE_TYPE = 3i32;
04454e1e 220#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 221pub const DWRITE_FONT_FACE_TYPE_VECTOR: DWRITE_FONT_FACE_TYPE = 4i32;
04454e1e 222#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 223pub const DWRITE_FONT_FACE_TYPE_BITMAP: DWRITE_FONT_FACE_TYPE = 5i32;
04454e1e 224#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 225pub const DWRITE_FONT_FACE_TYPE_UNKNOWN: DWRITE_FONT_FACE_TYPE = 6i32;
04454e1e 226#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 227pub const DWRITE_FONT_FACE_TYPE_RAW_CFF: DWRITE_FONT_FACE_TYPE = 7i32;
04454e1e 228#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 229pub const DWRITE_FONT_FACE_TYPE_TRUETYPE_COLLECTION: DWRITE_FONT_FACE_TYPE = 2i32;
04454e1e 230#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 231pub type DWRITE_FONT_FAMILY_MODEL = i32;
04454e1e 232#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 233pub const DWRITE_FONT_FAMILY_MODEL_TYPOGRAPHIC: DWRITE_FONT_FAMILY_MODEL = 0i32;
04454e1e 234#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
235pub const DWRITE_FONT_FAMILY_MODEL_WEIGHT_STRETCH_STYLE: DWRITE_FONT_FAMILY_MODEL = 1i32;
236#[repr(C)]
04454e1e 237#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
238pub struct DWRITE_FONT_FEATURE {
239 pub nameTag: DWRITE_FONT_FEATURE_TAG,
240 pub parameter: u32,
241}
242impl ::core::marker::Copy for DWRITE_FONT_FEATURE {}
243impl ::core::clone::Clone for DWRITE_FONT_FEATURE {
244 fn clone(&self) -> Self {
245 *self
246 }
247}
04454e1e 248#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 249pub type DWRITE_FONT_FEATURE_TAG = u32;
04454e1e 250#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 251pub const DWRITE_FONT_FEATURE_TAG_ALTERNATIVE_FRACTIONS: DWRITE_FONT_FEATURE_TAG = 1668441697u32;
04454e1e 252#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 253pub const DWRITE_FONT_FEATURE_TAG_PETITE_CAPITALS_FROM_CAPITALS: DWRITE_FONT_FEATURE_TAG = 1668297315u32;
04454e1e 254#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 255pub const DWRITE_FONT_FEATURE_TAG_SMALL_CAPITALS_FROM_CAPITALS: DWRITE_FONT_FEATURE_TAG = 1668493923u32;
04454e1e 256#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 257pub const DWRITE_FONT_FEATURE_TAG_CONTEXTUAL_ALTERNATES: DWRITE_FONT_FEATURE_TAG = 1953259875u32;
04454e1e 258#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 259pub const DWRITE_FONT_FEATURE_TAG_CASE_SENSITIVE_FORMS: DWRITE_FONT_FEATURE_TAG = 1702060387u32;
04454e1e 260#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 261pub const DWRITE_FONT_FEATURE_TAG_GLYPH_COMPOSITION_DECOMPOSITION: DWRITE_FONT_FEATURE_TAG = 1886217059u32;
04454e1e 262#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 263pub const DWRITE_FONT_FEATURE_TAG_CONTEXTUAL_LIGATURES: DWRITE_FONT_FEATURE_TAG = 1734962275u32;
04454e1e 264#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 265pub const DWRITE_FONT_FEATURE_TAG_CAPITAL_SPACING: DWRITE_FONT_FEATURE_TAG = 1886613603u32;
04454e1e 266#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 267pub const DWRITE_FONT_FEATURE_TAG_CONTEXTUAL_SWASH: DWRITE_FONT_FEATURE_TAG = 1752658787u32;
04454e1e 268#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 269pub const DWRITE_FONT_FEATURE_TAG_CURSIVE_POSITIONING: DWRITE_FONT_FEATURE_TAG = 1936880995u32;
04454e1e 270#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 271pub const DWRITE_FONT_FEATURE_TAG_DEFAULT: DWRITE_FONT_FEATURE_TAG = 1953261156u32;
04454e1e 272#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 273pub const DWRITE_FONT_FEATURE_TAG_DISCRETIONARY_LIGATURES: DWRITE_FONT_FEATURE_TAG = 1734962276u32;
04454e1e 274#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 275pub const DWRITE_FONT_FEATURE_TAG_EXPERT_FORMS: DWRITE_FONT_FEATURE_TAG = 1953527909u32;
04454e1e 276#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 277pub const DWRITE_FONT_FEATURE_TAG_FRACTIONS: DWRITE_FONT_FEATURE_TAG = 1667330662u32;
04454e1e 278#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 279pub const DWRITE_FONT_FEATURE_TAG_FULL_WIDTH: DWRITE_FONT_FEATURE_TAG = 1684633446u32;
04454e1e 280#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 281pub const DWRITE_FONT_FEATURE_TAG_HALF_FORMS: DWRITE_FONT_FEATURE_TAG = 1718378856u32;
04454e1e 282#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 283pub const DWRITE_FONT_FEATURE_TAG_HALANT_FORMS: DWRITE_FONT_FEATURE_TAG = 1852596584u32;
04454e1e 284#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 285pub const DWRITE_FONT_FEATURE_TAG_ALTERNATE_HALF_WIDTH: DWRITE_FONT_FEATURE_TAG = 1953259880u32;
04454e1e 286#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 287pub const DWRITE_FONT_FEATURE_TAG_HISTORICAL_FORMS: DWRITE_FONT_FEATURE_TAG = 1953720680u32;
04454e1e 288#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 289pub const DWRITE_FONT_FEATURE_TAG_HORIZONTAL_KANA_ALTERNATES: DWRITE_FONT_FEATURE_TAG = 1634626408u32;
04454e1e 290#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 291pub const DWRITE_FONT_FEATURE_TAG_HISTORICAL_LIGATURES: DWRITE_FONT_FEATURE_TAG = 1734962280u32;
04454e1e 292#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 293pub const DWRITE_FONT_FEATURE_TAG_HALF_WIDTH: DWRITE_FONT_FEATURE_TAG = 1684633448u32;
04454e1e 294#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 295pub const DWRITE_FONT_FEATURE_TAG_HOJO_KANJI_FORMS: DWRITE_FONT_FEATURE_TAG = 1869246312u32;
04454e1e 296#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 297pub const DWRITE_FONT_FEATURE_TAG_JIS04_FORMS: DWRITE_FONT_FEATURE_TAG = 875589738u32;
04454e1e 298#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 299pub const DWRITE_FONT_FEATURE_TAG_JIS78_FORMS: DWRITE_FONT_FEATURE_TAG = 943157354u32;
04454e1e 300#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 301pub const DWRITE_FONT_FEATURE_TAG_JIS83_FORMS: DWRITE_FONT_FEATURE_TAG = 859336810u32;
04454e1e 302#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 303pub const DWRITE_FONT_FEATURE_TAG_JIS90_FORMS: DWRITE_FONT_FEATURE_TAG = 809070698u32;
04454e1e 304#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 305pub const DWRITE_FONT_FEATURE_TAG_KERNING: DWRITE_FONT_FEATURE_TAG = 1852990827u32;
04454e1e 306#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 307pub const DWRITE_FONT_FEATURE_TAG_STANDARD_LIGATURES: DWRITE_FONT_FEATURE_TAG = 1634167148u32;
04454e1e 308#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 309pub const DWRITE_FONT_FEATURE_TAG_LINING_FIGURES: DWRITE_FONT_FEATURE_TAG = 1836412524u32;
04454e1e 310#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 311pub const DWRITE_FONT_FEATURE_TAG_LOCALIZED_FORMS: DWRITE_FONT_FEATURE_TAG = 1818455916u32;
04454e1e 312#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 313pub const DWRITE_FONT_FEATURE_TAG_MARK_POSITIONING: DWRITE_FONT_FEATURE_TAG = 1802658157u32;
04454e1e 314#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 315pub const DWRITE_FONT_FEATURE_TAG_MATHEMATICAL_GREEK: DWRITE_FONT_FEATURE_TAG = 1802659693u32;
04454e1e 316#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 317pub const DWRITE_FONT_FEATURE_TAG_MARK_TO_MARK_POSITIONING: DWRITE_FONT_FEATURE_TAG = 1802333037u32;
04454e1e 318#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 319pub const DWRITE_FONT_FEATURE_TAG_ALTERNATE_ANNOTATION_FORMS: DWRITE_FONT_FEATURE_TAG = 1953259886u32;
04454e1e 320#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 321pub const DWRITE_FONT_FEATURE_TAG_NLC_KANJI_FORMS: DWRITE_FONT_FEATURE_TAG = 1801677934u32;
04454e1e 322#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 323pub const DWRITE_FONT_FEATURE_TAG_OLD_STYLE_FIGURES: DWRITE_FONT_FEATURE_TAG = 1836412527u32;
04454e1e 324#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 325pub const DWRITE_FONT_FEATURE_TAG_ORDINALS: DWRITE_FONT_FEATURE_TAG = 1852076655u32;
04454e1e 326#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 327pub const DWRITE_FONT_FEATURE_TAG_PROPORTIONAL_ALTERNATE_WIDTH: DWRITE_FONT_FEATURE_TAG = 1953259888u32;
04454e1e 328#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 329pub const DWRITE_FONT_FEATURE_TAG_PETITE_CAPITALS: DWRITE_FONT_FEATURE_TAG = 1885430640u32;
04454e1e 330#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 331pub const DWRITE_FONT_FEATURE_TAG_PROPORTIONAL_FIGURES: DWRITE_FONT_FEATURE_TAG = 1836412528u32;
04454e1e 332#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 333pub const DWRITE_FONT_FEATURE_TAG_PROPORTIONAL_WIDTHS: DWRITE_FONT_FEATURE_TAG = 1684633456u32;
04454e1e 334#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 335pub const DWRITE_FONT_FEATURE_TAG_QUARTER_WIDTHS: DWRITE_FONT_FEATURE_TAG = 1684633457u32;
04454e1e 336#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 337pub const DWRITE_FONT_FEATURE_TAG_REQUIRED_LIGATURES: DWRITE_FONT_FEATURE_TAG = 1734962290u32;
04454e1e 338#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 339pub const DWRITE_FONT_FEATURE_TAG_RUBY_NOTATION_FORMS: DWRITE_FONT_FEATURE_TAG = 2036495730u32;
04454e1e 340#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 341pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_ALTERNATES: DWRITE_FONT_FEATURE_TAG = 1953259891u32;
04454e1e 342#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 343pub const DWRITE_FONT_FEATURE_TAG_SCIENTIFIC_INFERIORS: DWRITE_FONT_FEATURE_TAG = 1718511987u32;
04454e1e 344#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 345pub const DWRITE_FONT_FEATURE_TAG_SMALL_CAPITALS: DWRITE_FONT_FEATURE_TAG = 1885564275u32;
04454e1e 346#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 347pub const DWRITE_FONT_FEATURE_TAG_SIMPLIFIED_FORMS: DWRITE_FONT_FEATURE_TAG = 1819307379u32;
04454e1e 348#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 349pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_1: DWRITE_FONT_FEATURE_TAG = 825258867u32;
04454e1e 350#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 351pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_2: DWRITE_FONT_FEATURE_TAG = 842036083u32;
04454e1e 352#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 353pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_3: DWRITE_FONT_FEATURE_TAG = 858813299u32;
04454e1e 354#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 355pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_4: DWRITE_FONT_FEATURE_TAG = 875590515u32;
04454e1e 356#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 357pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_5: DWRITE_FONT_FEATURE_TAG = 892367731u32;
04454e1e 358#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 359pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_6: DWRITE_FONT_FEATURE_TAG = 909144947u32;
04454e1e 360#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 361pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_7: DWRITE_FONT_FEATURE_TAG = 925922163u32;
04454e1e 362#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 363pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_8: DWRITE_FONT_FEATURE_TAG = 942699379u32;
04454e1e 364#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 365pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_9: DWRITE_FONT_FEATURE_TAG = 959476595u32;
04454e1e 366#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 367pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_10: DWRITE_FONT_FEATURE_TAG = 808547187u32;
04454e1e 368#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 369pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_11: DWRITE_FONT_FEATURE_TAG = 825324403u32;
04454e1e 370#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 371pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_12: DWRITE_FONT_FEATURE_TAG = 842101619u32;
04454e1e 372#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 373pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_13: DWRITE_FONT_FEATURE_TAG = 858878835u32;
04454e1e 374#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 375pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_14: DWRITE_FONT_FEATURE_TAG = 875656051u32;
04454e1e 376#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 377pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_15: DWRITE_FONT_FEATURE_TAG = 892433267u32;
04454e1e 378#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 379pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_16: DWRITE_FONT_FEATURE_TAG = 909210483u32;
04454e1e 380#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 381pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_17: DWRITE_FONT_FEATURE_TAG = 925987699u32;
04454e1e 382#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 383pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_18: DWRITE_FONT_FEATURE_TAG = 942764915u32;
04454e1e 384#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 385pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_19: DWRITE_FONT_FEATURE_TAG = 959542131u32;
04454e1e 386#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 387pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_20: DWRITE_FONT_FEATURE_TAG = 808612723u32;
04454e1e 388#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 389pub const DWRITE_FONT_FEATURE_TAG_SUBSCRIPT: DWRITE_FONT_FEATURE_TAG = 1935832435u32;
04454e1e 390#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 391pub const DWRITE_FONT_FEATURE_TAG_SUPERSCRIPT: DWRITE_FONT_FEATURE_TAG = 1936749939u32;
04454e1e 392#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 393pub const DWRITE_FONT_FEATURE_TAG_SWASH: DWRITE_FONT_FEATURE_TAG = 1752397683u32;
04454e1e 394#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 395pub const DWRITE_FONT_FEATURE_TAG_TITLING: DWRITE_FONT_FEATURE_TAG = 1819568500u32;
04454e1e 396#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 397pub const DWRITE_FONT_FEATURE_TAG_TRADITIONAL_NAME_FORMS: DWRITE_FONT_FEATURE_TAG = 1835101812u32;
04454e1e 398#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 399pub const DWRITE_FONT_FEATURE_TAG_TABULAR_FIGURES: DWRITE_FONT_FEATURE_TAG = 1836412532u32;
04454e1e 400#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 401pub const DWRITE_FONT_FEATURE_TAG_TRADITIONAL_FORMS: DWRITE_FONT_FEATURE_TAG = 1684107892u32;
04454e1e 402#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 403pub const DWRITE_FONT_FEATURE_TAG_THIRD_WIDTHS: DWRITE_FONT_FEATURE_TAG = 1684633460u32;
04454e1e 404#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 405pub const DWRITE_FONT_FEATURE_TAG_UNICASE: DWRITE_FONT_FEATURE_TAG = 1667853941u32;
04454e1e 406#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 407pub const DWRITE_FONT_FEATURE_TAG_VERTICAL_WRITING: DWRITE_FONT_FEATURE_TAG = 1953654134u32;
04454e1e 408#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 409pub const DWRITE_FONT_FEATURE_TAG_VERTICAL_ALTERNATES_AND_ROTATION: DWRITE_FONT_FEATURE_TAG = 846492278u32;
04454e1e 410#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 411pub const DWRITE_FONT_FEATURE_TAG_SLASHED_ZERO: DWRITE_FONT_FEATURE_TAG = 1869768058u32;
04454e1e 412#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 413pub type DWRITE_FONT_FILE_TYPE = i32;
04454e1e 414#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 415pub const DWRITE_FONT_FILE_TYPE_UNKNOWN: DWRITE_FONT_FILE_TYPE = 0i32;
04454e1e 416#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 417pub const DWRITE_FONT_FILE_TYPE_CFF: DWRITE_FONT_FILE_TYPE = 1i32;
04454e1e 418#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 419pub const DWRITE_FONT_FILE_TYPE_TRUETYPE: DWRITE_FONT_FILE_TYPE = 2i32;
04454e1e 420#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 421pub const DWRITE_FONT_FILE_TYPE_OPENTYPE_COLLECTION: DWRITE_FONT_FILE_TYPE = 3i32;
04454e1e 422#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 423pub const DWRITE_FONT_FILE_TYPE_TYPE1_PFM: DWRITE_FONT_FILE_TYPE = 4i32;
04454e1e 424#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 425pub const DWRITE_FONT_FILE_TYPE_TYPE1_PFB: DWRITE_FONT_FILE_TYPE = 5i32;
04454e1e 426#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 427pub const DWRITE_FONT_FILE_TYPE_VECTOR: DWRITE_FONT_FILE_TYPE = 6i32;
04454e1e 428#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 429pub const DWRITE_FONT_FILE_TYPE_BITMAP: DWRITE_FONT_FILE_TYPE = 7i32;
04454e1e 430#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 431pub const DWRITE_FONT_FILE_TYPE_TRUETYPE_COLLECTION: DWRITE_FONT_FILE_TYPE = 3i32;
04454e1e 432#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 433pub type DWRITE_FONT_LINE_GAP_USAGE = i32;
04454e1e 434#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 435pub const DWRITE_FONT_LINE_GAP_USAGE_DEFAULT: DWRITE_FONT_LINE_GAP_USAGE = 0i32;
04454e1e 436#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 437pub const DWRITE_FONT_LINE_GAP_USAGE_DISABLED: DWRITE_FONT_LINE_GAP_USAGE = 1i32;
04454e1e 438#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
439pub const DWRITE_FONT_LINE_GAP_USAGE_ENABLED: DWRITE_FONT_LINE_GAP_USAGE = 2i32;
440#[repr(C)]
04454e1e 441#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
442pub struct DWRITE_FONT_METRICS {
443 pub designUnitsPerEm: u16,
444 pub ascent: u16,
445 pub descent: u16,
446 pub lineGap: i16,
447 pub capHeight: u16,
448 pub xHeight: u16,
449 pub underlinePosition: i16,
450 pub underlineThickness: u16,
451 pub strikethroughPosition: i16,
452 pub strikethroughThickness: u16,
453}
454impl ::core::marker::Copy for DWRITE_FONT_METRICS {}
455impl ::core::clone::Clone for DWRITE_FONT_METRICS {
456 fn clone(&self) -> Self {
457 *self
458 }
459}
460#[repr(C)]
04454e1e 461#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
462#[cfg(feature = "Win32_Foundation")]
463pub struct DWRITE_FONT_METRICS1 {
464 pub __AnonymousBase_DWrite_1_L627_C38: DWRITE_FONT_METRICS,
465 pub glyphBoxLeft: i16,
466 pub glyphBoxTop: i16,
467 pub glyphBoxRight: i16,
468 pub glyphBoxBottom: i16,
469 pub subscriptPositionX: i16,
470 pub subscriptPositionY: i16,
471 pub subscriptSizeX: i16,
472 pub subscriptSizeY: i16,
473 pub superscriptPositionX: i16,
474 pub superscriptPositionY: i16,
475 pub superscriptSizeX: i16,
476 pub superscriptSizeY: i16,
477 pub hasTypographicMetrics: super::super::Foundation::BOOL,
478}
479#[cfg(feature = "Win32_Foundation")]
480impl ::core::marker::Copy for DWRITE_FONT_METRICS1 {}
481#[cfg(feature = "Win32_Foundation")]
482impl ::core::clone::Clone for DWRITE_FONT_METRICS1 {
483 fn clone(&self) -> Self {
484 *self
485 }
486}
487#[repr(C)]
04454e1e 488#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
489pub struct DWRITE_FONT_PROPERTY {
490 pub propertyId: DWRITE_FONT_PROPERTY_ID,
04454e1e
FG
491 pub propertyValue: ::windows_sys::core::PCWSTR,
492 pub localeName: ::windows_sys::core::PCWSTR,
5e7ed085 493}
5e7ed085 494impl ::core::marker::Copy for DWRITE_FONT_PROPERTY {}
5e7ed085
FG
495impl ::core::clone::Clone for DWRITE_FONT_PROPERTY {
496 fn clone(&self) -> Self {
497 *self
498 }
499}
04454e1e 500#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 501pub type DWRITE_FONT_PROPERTY_ID = i32;
04454e1e 502#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 503pub const DWRITE_FONT_PROPERTY_ID_NONE: DWRITE_FONT_PROPERTY_ID = 0i32;
04454e1e 504#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 505pub const DWRITE_FONT_PROPERTY_ID_WEIGHT_STRETCH_STYLE_FAMILY_NAME: DWRITE_FONT_PROPERTY_ID = 1i32;
04454e1e 506#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 507pub const DWRITE_FONT_PROPERTY_ID_TYPOGRAPHIC_FAMILY_NAME: DWRITE_FONT_PROPERTY_ID = 2i32;
04454e1e 508#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 509pub const DWRITE_FONT_PROPERTY_ID_WEIGHT_STRETCH_STYLE_FACE_NAME: DWRITE_FONT_PROPERTY_ID = 3i32;
04454e1e 510#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 511pub const DWRITE_FONT_PROPERTY_ID_FULL_NAME: DWRITE_FONT_PROPERTY_ID = 4i32;
04454e1e 512#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 513pub const DWRITE_FONT_PROPERTY_ID_WIN32_FAMILY_NAME: DWRITE_FONT_PROPERTY_ID = 5i32;
04454e1e 514#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 515pub const DWRITE_FONT_PROPERTY_ID_POSTSCRIPT_NAME: DWRITE_FONT_PROPERTY_ID = 6i32;
04454e1e 516#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 517pub const DWRITE_FONT_PROPERTY_ID_DESIGN_SCRIPT_LANGUAGE_TAG: DWRITE_FONT_PROPERTY_ID = 7i32;
04454e1e 518#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 519pub const DWRITE_FONT_PROPERTY_ID_SUPPORTED_SCRIPT_LANGUAGE_TAG: DWRITE_FONT_PROPERTY_ID = 8i32;
04454e1e 520#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 521pub const DWRITE_FONT_PROPERTY_ID_SEMANTIC_TAG: DWRITE_FONT_PROPERTY_ID = 9i32;
04454e1e 522#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 523pub const DWRITE_FONT_PROPERTY_ID_WEIGHT: DWRITE_FONT_PROPERTY_ID = 10i32;
04454e1e 524#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 525pub const DWRITE_FONT_PROPERTY_ID_STRETCH: DWRITE_FONT_PROPERTY_ID = 11i32;
04454e1e 526#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 527pub const DWRITE_FONT_PROPERTY_ID_STYLE: DWRITE_FONT_PROPERTY_ID = 12i32;
04454e1e 528#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 529pub const DWRITE_FONT_PROPERTY_ID_TYPOGRAPHIC_FACE_NAME: DWRITE_FONT_PROPERTY_ID = 13i32;
04454e1e 530#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 531pub const DWRITE_FONT_PROPERTY_ID_TOTAL: DWRITE_FONT_PROPERTY_ID = 13i32;
04454e1e 532#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 533pub const DWRITE_FONT_PROPERTY_ID_TOTAL_RS3: DWRITE_FONT_PROPERTY_ID = 14i32;
04454e1e 534#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 535pub const DWRITE_FONT_PROPERTY_ID_PREFERRED_FAMILY_NAME: DWRITE_FONT_PROPERTY_ID = 2i32;
04454e1e 536#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 537pub const DWRITE_FONT_PROPERTY_ID_FAMILY_NAME: DWRITE_FONT_PROPERTY_ID = 1i32;
04454e1e 538#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 539pub const DWRITE_FONT_PROPERTY_ID_FACE_NAME: DWRITE_FONT_PROPERTY_ID = 3i32;
04454e1e 540#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 541pub type DWRITE_FONT_SIMULATIONS = u32;
04454e1e 542#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 543pub const DWRITE_FONT_SIMULATIONS_NONE: DWRITE_FONT_SIMULATIONS = 0u32;
04454e1e 544#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 545pub const DWRITE_FONT_SIMULATIONS_BOLD: DWRITE_FONT_SIMULATIONS = 1u32;
04454e1e 546#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 547pub const DWRITE_FONT_SIMULATIONS_OBLIQUE: DWRITE_FONT_SIMULATIONS = 2u32;
04454e1e 548#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 549pub type DWRITE_FONT_SOURCE_TYPE = i32;
04454e1e 550#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 551pub const DWRITE_FONT_SOURCE_TYPE_UNKNOWN: DWRITE_FONT_SOURCE_TYPE = 0i32;
04454e1e 552#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 553pub const DWRITE_FONT_SOURCE_TYPE_PER_MACHINE: DWRITE_FONT_SOURCE_TYPE = 1i32;
04454e1e 554#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 555pub const DWRITE_FONT_SOURCE_TYPE_PER_USER: DWRITE_FONT_SOURCE_TYPE = 2i32;
04454e1e 556#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 557pub const DWRITE_FONT_SOURCE_TYPE_APPX_PACKAGE: DWRITE_FONT_SOURCE_TYPE = 3i32;
04454e1e 558#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 559pub const DWRITE_FONT_SOURCE_TYPE_REMOTE_FONT_PROVIDER: DWRITE_FONT_SOURCE_TYPE = 4i32;
04454e1e 560#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 561pub type DWRITE_FONT_STRETCH = i32;
04454e1e 562#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 563pub const DWRITE_FONT_STRETCH_UNDEFINED: DWRITE_FONT_STRETCH = 0i32;
04454e1e 564#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 565pub const DWRITE_FONT_STRETCH_ULTRA_CONDENSED: DWRITE_FONT_STRETCH = 1i32;
04454e1e 566#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 567pub const DWRITE_FONT_STRETCH_EXTRA_CONDENSED: DWRITE_FONT_STRETCH = 2i32;
04454e1e 568#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 569pub const DWRITE_FONT_STRETCH_CONDENSED: DWRITE_FONT_STRETCH = 3i32;
04454e1e 570#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 571pub const DWRITE_FONT_STRETCH_SEMI_CONDENSED: DWRITE_FONT_STRETCH = 4i32;
04454e1e 572#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 573pub const DWRITE_FONT_STRETCH_NORMAL: DWRITE_FONT_STRETCH = 5i32;
04454e1e 574#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 575pub const DWRITE_FONT_STRETCH_MEDIUM: DWRITE_FONT_STRETCH = 5i32;
04454e1e 576#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 577pub const DWRITE_FONT_STRETCH_SEMI_EXPANDED: DWRITE_FONT_STRETCH = 6i32;
04454e1e 578#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 579pub const DWRITE_FONT_STRETCH_EXPANDED: DWRITE_FONT_STRETCH = 7i32;
04454e1e 580#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 581pub const DWRITE_FONT_STRETCH_EXTRA_EXPANDED: DWRITE_FONT_STRETCH = 8i32;
04454e1e 582#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 583pub const DWRITE_FONT_STRETCH_ULTRA_EXPANDED: DWRITE_FONT_STRETCH = 9i32;
04454e1e 584#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 585pub type DWRITE_FONT_STYLE = i32;
04454e1e 586#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 587pub const DWRITE_FONT_STYLE_NORMAL: DWRITE_FONT_STYLE = 0i32;
04454e1e 588#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 589pub const DWRITE_FONT_STYLE_OBLIQUE: DWRITE_FONT_STYLE = 1i32;
04454e1e 590#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 591pub const DWRITE_FONT_STYLE_ITALIC: DWRITE_FONT_STYLE = 2i32;
04454e1e 592#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 593pub type DWRITE_FONT_WEIGHT = i32;
04454e1e 594#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 595pub const DWRITE_FONT_WEIGHT_THIN: DWRITE_FONT_WEIGHT = 100i32;
04454e1e 596#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 597pub const DWRITE_FONT_WEIGHT_EXTRA_LIGHT: DWRITE_FONT_WEIGHT = 200i32;
04454e1e 598#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 599pub const DWRITE_FONT_WEIGHT_ULTRA_LIGHT: DWRITE_FONT_WEIGHT = 200i32;
04454e1e 600#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 601pub const DWRITE_FONT_WEIGHT_LIGHT: DWRITE_FONT_WEIGHT = 300i32;
04454e1e 602#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 603pub const DWRITE_FONT_WEIGHT_SEMI_LIGHT: DWRITE_FONT_WEIGHT = 350i32;
04454e1e 604#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 605pub const DWRITE_FONT_WEIGHT_NORMAL: DWRITE_FONT_WEIGHT = 400i32;
04454e1e 606#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 607pub const DWRITE_FONT_WEIGHT_REGULAR: DWRITE_FONT_WEIGHT = 400i32;
04454e1e 608#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 609pub const DWRITE_FONT_WEIGHT_MEDIUM: DWRITE_FONT_WEIGHT = 500i32;
04454e1e 610#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 611pub const DWRITE_FONT_WEIGHT_DEMI_BOLD: DWRITE_FONT_WEIGHT = 600i32;
04454e1e 612#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 613pub const DWRITE_FONT_WEIGHT_SEMI_BOLD: DWRITE_FONT_WEIGHT = 600i32;
04454e1e 614#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 615pub const DWRITE_FONT_WEIGHT_BOLD: DWRITE_FONT_WEIGHT = 700i32;
04454e1e 616#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 617pub const DWRITE_FONT_WEIGHT_EXTRA_BOLD: DWRITE_FONT_WEIGHT = 800i32;
04454e1e 618#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 619pub const DWRITE_FONT_WEIGHT_ULTRA_BOLD: DWRITE_FONT_WEIGHT = 800i32;
04454e1e 620#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 621pub const DWRITE_FONT_WEIGHT_BLACK: DWRITE_FONT_WEIGHT = 900i32;
04454e1e 622#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 623pub const DWRITE_FONT_WEIGHT_HEAVY: DWRITE_FONT_WEIGHT = 900i32;
04454e1e 624#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 625pub const DWRITE_FONT_WEIGHT_EXTRA_BLACK: DWRITE_FONT_WEIGHT = 950i32;
04454e1e 626#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
627pub const DWRITE_FONT_WEIGHT_ULTRA_BLACK: DWRITE_FONT_WEIGHT = 950i32;
628#[repr(C)]
04454e1e 629#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"]
5e7ed085
FG
630#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))]
631pub struct DWRITE_GLYPH_IMAGE_DATA {
632 pub imageData: *const ::core::ffi::c_void,
633 pub imageDataSize: u32,
634 pub uniqueDataId: u32,
635 pub pixelsPerEm: u32,
636 pub pixelSize: super::Direct2D::Common::D2D_SIZE_U,
637 pub horizontalLeftOrigin: super::super::Foundation::POINT,
638 pub horizontalRightOrigin: super::super::Foundation::POINT,
639 pub verticalTopOrigin: super::super::Foundation::POINT,
640 pub verticalBottomOrigin: super::super::Foundation::POINT,
641}
642#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))]
643impl ::core::marker::Copy for DWRITE_GLYPH_IMAGE_DATA {}
644#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))]
645impl ::core::clone::Clone for DWRITE_GLYPH_IMAGE_DATA {
646 fn clone(&self) -> Self {
647 *self
648 }
649}
04454e1e 650#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 651pub type DWRITE_GLYPH_IMAGE_FORMATS = u32;
04454e1e 652#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 653pub const DWRITE_GLYPH_IMAGE_FORMATS_NONE: DWRITE_GLYPH_IMAGE_FORMATS = 0u32;
04454e1e 654#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 655pub const DWRITE_GLYPH_IMAGE_FORMATS_TRUETYPE: DWRITE_GLYPH_IMAGE_FORMATS = 1u32;
04454e1e 656#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 657pub const DWRITE_GLYPH_IMAGE_FORMATS_CFF: DWRITE_GLYPH_IMAGE_FORMATS = 2u32;
04454e1e 658#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 659pub const DWRITE_GLYPH_IMAGE_FORMATS_COLR: DWRITE_GLYPH_IMAGE_FORMATS = 4u32;
04454e1e 660#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 661pub const DWRITE_GLYPH_IMAGE_FORMATS_SVG: DWRITE_GLYPH_IMAGE_FORMATS = 8u32;
04454e1e 662#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 663pub const DWRITE_GLYPH_IMAGE_FORMATS_PNG: DWRITE_GLYPH_IMAGE_FORMATS = 16u32;
04454e1e 664#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 665pub const DWRITE_GLYPH_IMAGE_FORMATS_JPEG: DWRITE_GLYPH_IMAGE_FORMATS = 32u32;
04454e1e 666#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 667pub const DWRITE_GLYPH_IMAGE_FORMATS_TIFF: DWRITE_GLYPH_IMAGE_FORMATS = 64u32;
04454e1e 668#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
669pub const DWRITE_GLYPH_IMAGE_FORMATS_PREMULTIPLIED_B8G8R8A8: DWRITE_GLYPH_IMAGE_FORMATS = 128u32;
670#[repr(C)]
04454e1e 671#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
672pub struct DWRITE_GLYPH_METRICS {
673 pub leftSideBearing: i32,
674 pub advanceWidth: u32,
675 pub rightSideBearing: i32,
676 pub topSideBearing: i32,
677 pub advanceHeight: u32,
678 pub bottomSideBearing: i32,
679 pub verticalOriginY: i32,
680}
681impl ::core::marker::Copy for DWRITE_GLYPH_METRICS {}
682impl ::core::clone::Clone for DWRITE_GLYPH_METRICS {
683 fn clone(&self) -> Self {
684 *self
685 }
686}
687#[repr(C)]
04454e1e 688#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
689pub struct DWRITE_GLYPH_OFFSET {
690 pub advanceOffset: f32,
691 pub ascenderOffset: f32,
692}
693impl ::core::marker::Copy for DWRITE_GLYPH_OFFSET {}
694impl ::core::clone::Clone for DWRITE_GLYPH_OFFSET {
695 fn clone(&self) -> Self {
696 *self
697 }
698}
04454e1e 699#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 700pub type DWRITE_GLYPH_ORIENTATION_ANGLE = i32;
04454e1e 701#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 702pub const DWRITE_GLYPH_ORIENTATION_ANGLE_0_DEGREES: DWRITE_GLYPH_ORIENTATION_ANGLE = 0i32;
04454e1e 703#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 704pub const DWRITE_GLYPH_ORIENTATION_ANGLE_90_DEGREES: DWRITE_GLYPH_ORIENTATION_ANGLE = 1i32;
04454e1e 705#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 706pub const DWRITE_GLYPH_ORIENTATION_ANGLE_180_DEGREES: DWRITE_GLYPH_ORIENTATION_ANGLE = 2i32;
04454e1e 707#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
708pub const DWRITE_GLYPH_ORIENTATION_ANGLE_270_DEGREES: DWRITE_GLYPH_ORIENTATION_ANGLE = 3i32;
709#[repr(C)]
04454e1e 710#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
711#[cfg(feature = "Win32_Foundation")]
712pub struct DWRITE_GLYPH_RUN {
713 pub fontFace: IDWriteFontFace,
714 pub fontEmSize: f32,
715 pub glyphCount: u32,
716 pub glyphIndices: *const u16,
717 pub glyphAdvances: *const f32,
718 pub glyphOffsets: *const DWRITE_GLYPH_OFFSET,
719 pub isSideways: super::super::Foundation::BOOL,
720 pub bidiLevel: u32,
721}
722#[cfg(feature = "Win32_Foundation")]
723impl ::core::marker::Copy for DWRITE_GLYPH_RUN {}
724#[cfg(feature = "Win32_Foundation")]
725impl ::core::clone::Clone for DWRITE_GLYPH_RUN {
726 fn clone(&self) -> Self {
727 *self
728 }
729}
730#[repr(C)]
04454e1e 731#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 732pub struct DWRITE_GLYPH_RUN_DESCRIPTION {
04454e1e
FG
733 pub localeName: ::windows_sys::core::PCWSTR,
734 pub string: ::windows_sys::core::PCWSTR,
5e7ed085
FG
735 pub stringLength: u32,
736 pub clusterMap: *const u16,
737 pub textPosition: u32,
738}
5e7ed085 739impl ::core::marker::Copy for DWRITE_GLYPH_RUN_DESCRIPTION {}
5e7ed085
FG
740impl ::core::clone::Clone for DWRITE_GLYPH_RUN_DESCRIPTION {
741 fn clone(&self) -> Self {
742 *self
743 }
744}
04454e1e 745#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 746pub type DWRITE_GRID_FIT_MODE = i32;
04454e1e 747#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 748pub const DWRITE_GRID_FIT_MODE_DEFAULT: DWRITE_GRID_FIT_MODE = 0i32;
04454e1e 749#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 750pub const DWRITE_GRID_FIT_MODE_DISABLED: DWRITE_GRID_FIT_MODE = 1i32;
04454e1e 751#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
752pub const DWRITE_GRID_FIT_MODE_ENABLED: DWRITE_GRID_FIT_MODE = 2i32;
753#[repr(C)]
04454e1e 754#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
755#[cfg(feature = "Win32_Foundation")]
756pub struct DWRITE_HIT_TEST_METRICS {
757 pub textPosition: u32,
758 pub length: u32,
759 pub left: f32,
760 pub top: f32,
761 pub width: f32,
762 pub height: f32,
763 pub bidiLevel: u32,
764 pub isText: super::super::Foundation::BOOL,
765 pub isTrimmed: super::super::Foundation::BOOL,
766}
767#[cfg(feature = "Win32_Foundation")]
768impl ::core::marker::Copy for DWRITE_HIT_TEST_METRICS {}
769#[cfg(feature = "Win32_Foundation")]
770impl ::core::clone::Clone for DWRITE_HIT_TEST_METRICS {
771 fn clone(&self) -> Self {
772 *self
773 }
774}
04454e1e 775#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 776pub type DWRITE_INFORMATIONAL_STRING_ID = i32;
04454e1e 777#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 778pub const DWRITE_INFORMATIONAL_STRING_NONE: DWRITE_INFORMATIONAL_STRING_ID = 0i32;
04454e1e 779#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 780pub const DWRITE_INFORMATIONAL_STRING_COPYRIGHT_NOTICE: DWRITE_INFORMATIONAL_STRING_ID = 1i32;
04454e1e 781#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 782pub const DWRITE_INFORMATIONAL_STRING_VERSION_STRINGS: DWRITE_INFORMATIONAL_STRING_ID = 2i32;
04454e1e 783#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 784pub const DWRITE_INFORMATIONAL_STRING_TRADEMARK: DWRITE_INFORMATIONAL_STRING_ID = 3i32;
04454e1e 785#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 786pub const DWRITE_INFORMATIONAL_STRING_MANUFACTURER: DWRITE_INFORMATIONAL_STRING_ID = 4i32;
04454e1e 787#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 788pub const DWRITE_INFORMATIONAL_STRING_DESIGNER: DWRITE_INFORMATIONAL_STRING_ID = 5i32;
04454e1e 789#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 790pub const DWRITE_INFORMATIONAL_STRING_DESIGNER_URL: DWRITE_INFORMATIONAL_STRING_ID = 6i32;
04454e1e 791#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 792pub const DWRITE_INFORMATIONAL_STRING_DESCRIPTION: DWRITE_INFORMATIONAL_STRING_ID = 7i32;
04454e1e 793#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 794pub const DWRITE_INFORMATIONAL_STRING_FONT_VENDOR_URL: DWRITE_INFORMATIONAL_STRING_ID = 8i32;
04454e1e 795#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 796pub const DWRITE_INFORMATIONAL_STRING_LICENSE_DESCRIPTION: DWRITE_INFORMATIONAL_STRING_ID = 9i32;
04454e1e 797#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 798pub const DWRITE_INFORMATIONAL_STRING_LICENSE_INFO_URL: DWRITE_INFORMATIONAL_STRING_ID = 10i32;
04454e1e 799#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 800pub const DWRITE_INFORMATIONAL_STRING_WIN32_FAMILY_NAMES: DWRITE_INFORMATIONAL_STRING_ID = 11i32;
04454e1e 801#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 802pub const DWRITE_INFORMATIONAL_STRING_WIN32_SUBFAMILY_NAMES: DWRITE_INFORMATIONAL_STRING_ID = 12i32;
04454e1e 803#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 804pub const DWRITE_INFORMATIONAL_STRING_TYPOGRAPHIC_FAMILY_NAMES: DWRITE_INFORMATIONAL_STRING_ID = 13i32;
04454e1e 805#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 806pub const DWRITE_INFORMATIONAL_STRING_TYPOGRAPHIC_SUBFAMILY_NAMES: DWRITE_INFORMATIONAL_STRING_ID = 14i32;
04454e1e 807#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 808pub const DWRITE_INFORMATIONAL_STRING_SAMPLE_TEXT: DWRITE_INFORMATIONAL_STRING_ID = 15i32;
04454e1e 809#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 810pub const DWRITE_INFORMATIONAL_STRING_FULL_NAME: DWRITE_INFORMATIONAL_STRING_ID = 16i32;
04454e1e 811#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 812pub const DWRITE_INFORMATIONAL_STRING_POSTSCRIPT_NAME: DWRITE_INFORMATIONAL_STRING_ID = 17i32;
04454e1e 813#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 814pub const DWRITE_INFORMATIONAL_STRING_POSTSCRIPT_CID_NAME: DWRITE_INFORMATIONAL_STRING_ID = 18i32;
04454e1e 815#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 816pub const DWRITE_INFORMATIONAL_STRING_WEIGHT_STRETCH_STYLE_FAMILY_NAME: DWRITE_INFORMATIONAL_STRING_ID = 19i32;
04454e1e 817#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 818pub const DWRITE_INFORMATIONAL_STRING_DESIGN_SCRIPT_LANGUAGE_TAG: DWRITE_INFORMATIONAL_STRING_ID = 20i32;
04454e1e 819#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 820pub const DWRITE_INFORMATIONAL_STRING_SUPPORTED_SCRIPT_LANGUAGE_TAG: DWRITE_INFORMATIONAL_STRING_ID = 21i32;
04454e1e 821#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 822pub const DWRITE_INFORMATIONAL_STRING_PREFERRED_FAMILY_NAMES: DWRITE_INFORMATIONAL_STRING_ID = 13i32;
04454e1e 823#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 824pub const DWRITE_INFORMATIONAL_STRING_PREFERRED_SUBFAMILY_NAMES: DWRITE_INFORMATIONAL_STRING_ID = 14i32;
04454e1e 825#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
826pub const DWRITE_INFORMATIONAL_STRING_WWS_FAMILY_NAME: DWRITE_INFORMATIONAL_STRING_ID = 19i32;
827#[repr(C)]
04454e1e 828#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
829#[cfg(feature = "Win32_Foundation")]
830pub struct DWRITE_INLINE_OBJECT_METRICS {
831 pub width: f32,
832 pub height: f32,
833 pub baseline: f32,
834 pub supportsSideways: super::super::Foundation::BOOL,
835}
836#[cfg(feature = "Win32_Foundation")]
837impl ::core::marker::Copy for DWRITE_INLINE_OBJECT_METRICS {}
838#[cfg(feature = "Win32_Foundation")]
839impl ::core::clone::Clone for DWRITE_INLINE_OBJECT_METRICS {
840 fn clone(&self) -> Self {
841 *self
842 }
843}
844#[repr(C)]
04454e1e 845#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
846pub struct DWRITE_JUSTIFICATION_OPPORTUNITY {
847 pub expansionMinimum: f32,
848 pub expansionMaximum: f32,
849 pub compressionMaximum: f32,
850 pub _bitfield: u32,
851}
852impl ::core::marker::Copy for DWRITE_JUSTIFICATION_OPPORTUNITY {}
853impl ::core::clone::Clone for DWRITE_JUSTIFICATION_OPPORTUNITY {
854 fn clone(&self) -> Self {
855 *self
856 }
857}
858#[repr(C)]
04454e1e 859#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
860pub struct DWRITE_LINE_BREAKPOINT {
861 pub _bitfield: u8,
862}
863impl ::core::marker::Copy for DWRITE_LINE_BREAKPOINT {}
864impl ::core::clone::Clone for DWRITE_LINE_BREAKPOINT {
865 fn clone(&self) -> Self {
866 *self
867 }
868}
869#[repr(C)]
04454e1e 870#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
871#[cfg(feature = "Win32_Foundation")]
872pub struct DWRITE_LINE_METRICS {
873 pub length: u32,
874 pub trailingWhitespaceLength: u32,
875 pub newlineLength: u32,
876 pub height: f32,
877 pub baseline: f32,
878 pub isTrimmed: super::super::Foundation::BOOL,
879}
880#[cfg(feature = "Win32_Foundation")]
881impl ::core::marker::Copy for DWRITE_LINE_METRICS {}
882#[cfg(feature = "Win32_Foundation")]
883impl ::core::clone::Clone for DWRITE_LINE_METRICS {
884 fn clone(&self) -> Self {
885 *self
886 }
887}
888#[repr(C)]
04454e1e 889#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
890#[cfg(feature = "Win32_Foundation")]
891pub struct DWRITE_LINE_METRICS1 {
892 pub Base: DWRITE_LINE_METRICS,
893 pub leadingBefore: f32,
894 pub leadingAfter: f32,
895}
896#[cfg(feature = "Win32_Foundation")]
897impl ::core::marker::Copy for DWRITE_LINE_METRICS1 {}
898#[cfg(feature = "Win32_Foundation")]
899impl ::core::clone::Clone for DWRITE_LINE_METRICS1 {
900 fn clone(&self) -> Self {
901 *self
902 }
903}
904#[repr(C)]
04454e1e 905#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
906pub struct DWRITE_LINE_SPACING {
907 pub method: DWRITE_LINE_SPACING_METHOD,
908 pub height: f32,
909 pub baseline: f32,
910 pub leadingBefore: f32,
911 pub fontLineGapUsage: DWRITE_FONT_LINE_GAP_USAGE,
912}
913impl ::core::marker::Copy for DWRITE_LINE_SPACING {}
914impl ::core::clone::Clone for DWRITE_LINE_SPACING {
915 fn clone(&self) -> Self {
916 *self
917 }
918}
04454e1e 919#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 920pub type DWRITE_LINE_SPACING_METHOD = i32;
04454e1e 921#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 922pub const DWRITE_LINE_SPACING_METHOD_DEFAULT: DWRITE_LINE_SPACING_METHOD = 0i32;
04454e1e 923#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 924pub const DWRITE_LINE_SPACING_METHOD_UNIFORM: DWRITE_LINE_SPACING_METHOD = 1i32;
04454e1e 925#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 926pub const DWRITE_LINE_SPACING_METHOD_PROPORTIONAL: DWRITE_LINE_SPACING_METHOD = 2i32;
04454e1e 927#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 928pub type DWRITE_LOCALITY = i32;
04454e1e 929#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 930pub const DWRITE_LOCALITY_REMOTE: DWRITE_LOCALITY = 0i32;
04454e1e 931#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 932pub const DWRITE_LOCALITY_PARTIAL: DWRITE_LOCALITY = 1i32;
04454e1e 933#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
934pub const DWRITE_LOCALITY_LOCAL: DWRITE_LOCALITY = 2i32;
935#[repr(C)]
04454e1e 936#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
937pub struct DWRITE_MATRIX {
938 pub m11: f32,
939 pub m12: f32,
940 pub m21: f32,
941 pub m22: f32,
942 pub dx: f32,
943 pub dy: f32,
944}
945impl ::core::marker::Copy for DWRITE_MATRIX {}
946impl ::core::clone::Clone for DWRITE_MATRIX {
947 fn clone(&self) -> Self {
948 *self
949 }
950}
04454e1e 951#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 952pub type DWRITE_MEASURING_MODE = i32;
04454e1e 953#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 954pub const DWRITE_MEASURING_MODE_NATURAL: DWRITE_MEASURING_MODE = 0i32;
04454e1e 955#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 956pub const DWRITE_MEASURING_MODE_GDI_CLASSIC: DWRITE_MEASURING_MODE = 1i32;
04454e1e 957#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 958pub const DWRITE_MEASURING_MODE_GDI_NATURAL: DWRITE_MEASURING_MODE = 2i32;
04454e1e 959#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 960pub type DWRITE_NUMBER_SUBSTITUTION_METHOD = i32;
04454e1e 961#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 962pub const DWRITE_NUMBER_SUBSTITUTION_METHOD_FROM_CULTURE: DWRITE_NUMBER_SUBSTITUTION_METHOD = 0i32;
04454e1e 963#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 964pub const DWRITE_NUMBER_SUBSTITUTION_METHOD_CONTEXTUAL: DWRITE_NUMBER_SUBSTITUTION_METHOD = 1i32;
04454e1e 965#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 966pub const DWRITE_NUMBER_SUBSTITUTION_METHOD_NONE: DWRITE_NUMBER_SUBSTITUTION_METHOD = 2i32;
04454e1e 967#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 968pub const DWRITE_NUMBER_SUBSTITUTION_METHOD_NATIONAL: DWRITE_NUMBER_SUBSTITUTION_METHOD = 3i32;
04454e1e 969#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 970pub const DWRITE_NUMBER_SUBSTITUTION_METHOD_TRADITIONAL: DWRITE_NUMBER_SUBSTITUTION_METHOD = 4i32;
04454e1e 971#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 972pub type DWRITE_OPTICAL_ALIGNMENT = i32;
04454e1e 973#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 974pub const DWRITE_OPTICAL_ALIGNMENT_NONE: DWRITE_OPTICAL_ALIGNMENT = 0i32;
04454e1e 975#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 976pub const DWRITE_OPTICAL_ALIGNMENT_NO_SIDE_BEARINGS: DWRITE_OPTICAL_ALIGNMENT = 1i32;
04454e1e 977#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 978pub type DWRITE_OUTLINE_THRESHOLD = i32;
04454e1e 979#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 980pub const DWRITE_OUTLINE_THRESHOLD_ANTIALIASED: DWRITE_OUTLINE_THRESHOLD = 0i32;
04454e1e 981#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
982pub const DWRITE_OUTLINE_THRESHOLD_ALIASED: DWRITE_OUTLINE_THRESHOLD = 1i32;
983#[repr(C)]
04454e1e 984#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
985pub struct DWRITE_OVERHANG_METRICS {
986 pub left: f32,
987 pub top: f32,
988 pub right: f32,
989 pub bottom: f32,
990}
991impl ::core::marker::Copy for DWRITE_OVERHANG_METRICS {}
992impl ::core::clone::Clone for DWRITE_OVERHANG_METRICS {
993 fn clone(&self) -> Self {
994 *self
995 }
996}
997#[repr(C)]
04454e1e 998#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
999pub union DWRITE_PANOSE {
1000 pub values: [u8; 10],
1001 pub familyKind: u8,
1002 pub text: DWRITE_PANOSE_3,
1003 pub script: DWRITE_PANOSE_1,
1004 pub decorative: DWRITE_PANOSE_0,
1005 pub symbol: DWRITE_PANOSE_2,
1006}
1007impl ::core::marker::Copy for DWRITE_PANOSE {}
1008impl ::core::clone::Clone for DWRITE_PANOSE {
1009 fn clone(&self) -> Self {
1010 *self
1011 }
1012}
1013#[repr(C)]
04454e1e 1014#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
1015pub struct DWRITE_PANOSE_0 {
1016 pub familyKind: u8,
1017 pub decorativeClass: u8,
1018 pub weight: u8,
1019 pub aspect: u8,
1020 pub contrast: u8,
1021 pub serifVariant: u8,
1022 pub fill: u8,
1023 pub lining: u8,
1024 pub decorativeTopology: u8,
1025 pub characterRange: u8,
1026}
1027impl ::core::marker::Copy for DWRITE_PANOSE_0 {}
1028impl ::core::clone::Clone for DWRITE_PANOSE_0 {
1029 fn clone(&self) -> Self {
1030 *self
1031 }
1032}
1033#[repr(C)]
04454e1e 1034#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
1035pub struct DWRITE_PANOSE_1 {
1036 pub familyKind: u8,
1037 pub toolKind: u8,
1038 pub weight: u8,
1039 pub spacing: u8,
1040 pub aspectRatio: u8,
1041 pub contrast: u8,
1042 pub scriptTopology: u8,
1043 pub scriptForm: u8,
1044 pub finials: u8,
1045 pub xAscent: u8,
1046}
1047impl ::core::marker::Copy for DWRITE_PANOSE_1 {}
1048impl ::core::clone::Clone for DWRITE_PANOSE_1 {
1049 fn clone(&self) -> Self {
1050 *self
1051 }
1052}
1053#[repr(C)]
04454e1e 1054#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
1055pub struct DWRITE_PANOSE_2 {
1056 pub familyKind: u8,
1057 pub symbolKind: u8,
1058 pub weight: u8,
1059 pub spacing: u8,
1060 pub aspectRatioAndContrast: u8,
1061 pub aspectRatio94: u8,
1062 pub aspectRatio119: u8,
1063 pub aspectRatio157: u8,
1064 pub aspectRatio163: u8,
1065 pub aspectRatio211: u8,
1066}
1067impl ::core::marker::Copy for DWRITE_PANOSE_2 {}
1068impl ::core::clone::Clone for DWRITE_PANOSE_2 {
1069 fn clone(&self) -> Self {
1070 *self
1071 }
1072}
1073#[repr(C)]
04454e1e 1074#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
1075pub struct DWRITE_PANOSE_3 {
1076 pub familyKind: u8,
1077 pub serifStyle: u8,
1078 pub weight: u8,
1079 pub proportion: u8,
1080 pub contrast: u8,
1081 pub strokeVariation: u8,
1082 pub armStyle: u8,
1083 pub letterform: u8,
1084 pub midline: u8,
1085 pub xHeight: u8,
1086}
1087impl ::core::marker::Copy for DWRITE_PANOSE_3 {}
1088impl ::core::clone::Clone for DWRITE_PANOSE_3 {
1089 fn clone(&self) -> Self {
1090 *self
1091 }
1092}
04454e1e 1093#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1094pub type DWRITE_PANOSE_ARM_STYLE = i32;
04454e1e 1095#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1096pub const DWRITE_PANOSE_ARM_STYLE_ANY: DWRITE_PANOSE_ARM_STYLE = 0i32;
04454e1e 1097#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1098pub const DWRITE_PANOSE_ARM_STYLE_NO_FIT: DWRITE_PANOSE_ARM_STYLE = 1i32;
04454e1e 1099#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1100pub const DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_HORIZONTAL: DWRITE_PANOSE_ARM_STYLE = 2i32;
04454e1e 1101#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1102pub const DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_WEDGE: DWRITE_PANOSE_ARM_STYLE = 3i32;
04454e1e 1103#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1104pub const DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_VERTICAL: DWRITE_PANOSE_ARM_STYLE = 4i32;
04454e1e 1105#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1106pub const DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_SINGLE_SERIF: DWRITE_PANOSE_ARM_STYLE = 5i32;
04454e1e 1107#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1108pub const DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_DOUBLE_SERIF: DWRITE_PANOSE_ARM_STYLE = 6i32;
04454e1e 1109#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1110pub const DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_HORIZONTAL: DWRITE_PANOSE_ARM_STYLE = 7i32;
04454e1e 1111#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1112pub const DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_WEDGE: DWRITE_PANOSE_ARM_STYLE = 8i32;
04454e1e 1113#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1114pub const DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_VERTICAL: DWRITE_PANOSE_ARM_STYLE = 9i32;
04454e1e 1115#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1116pub const DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_SINGLE_SERIF: DWRITE_PANOSE_ARM_STYLE = 10i32;
04454e1e 1117#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1118pub const DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_DOUBLE_SERIF: DWRITE_PANOSE_ARM_STYLE = 11i32;
04454e1e 1119#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1120pub const DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_HORZ: DWRITE_PANOSE_ARM_STYLE = 2i32;
04454e1e 1121#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1122pub const DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_VERT: DWRITE_PANOSE_ARM_STYLE = 4i32;
04454e1e 1123#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1124pub const DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_HORZ: DWRITE_PANOSE_ARM_STYLE = 7i32;
04454e1e 1125#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1126pub const DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_WEDGE: DWRITE_PANOSE_ARM_STYLE = 8i32;
04454e1e 1127#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1128pub const DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_VERT: DWRITE_PANOSE_ARM_STYLE = 9i32;
04454e1e 1129#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1130pub const DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_SINGLE_SERIF: DWRITE_PANOSE_ARM_STYLE = 10i32;
04454e1e 1131#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1132pub const DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_DOUBLE_SERIF: DWRITE_PANOSE_ARM_STYLE = 11i32;
04454e1e 1133#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1134pub type DWRITE_PANOSE_ASPECT = i32;
04454e1e 1135#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1136pub const DWRITE_PANOSE_ASPECT_ANY: DWRITE_PANOSE_ASPECT = 0i32;
04454e1e 1137#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1138pub const DWRITE_PANOSE_ASPECT_NO_FIT: DWRITE_PANOSE_ASPECT = 1i32;
04454e1e 1139#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1140pub const DWRITE_PANOSE_ASPECT_SUPER_CONDENSED: DWRITE_PANOSE_ASPECT = 2i32;
04454e1e 1141#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1142pub const DWRITE_PANOSE_ASPECT_VERY_CONDENSED: DWRITE_PANOSE_ASPECT = 3i32;
04454e1e 1143#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1144pub const DWRITE_PANOSE_ASPECT_CONDENSED: DWRITE_PANOSE_ASPECT = 4i32;
04454e1e 1145#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1146pub const DWRITE_PANOSE_ASPECT_NORMAL: DWRITE_PANOSE_ASPECT = 5i32;
04454e1e 1147#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1148pub const DWRITE_PANOSE_ASPECT_EXTENDED: DWRITE_PANOSE_ASPECT = 6i32;
04454e1e 1149#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1150pub const DWRITE_PANOSE_ASPECT_VERY_EXTENDED: DWRITE_PANOSE_ASPECT = 7i32;
04454e1e 1151#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1152pub const DWRITE_PANOSE_ASPECT_SUPER_EXTENDED: DWRITE_PANOSE_ASPECT = 8i32;
04454e1e 1153#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1154pub const DWRITE_PANOSE_ASPECT_MONOSPACED: DWRITE_PANOSE_ASPECT = 9i32;
04454e1e 1155#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1156pub type DWRITE_PANOSE_ASPECT_RATIO = i32;
04454e1e 1157#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1158pub const DWRITE_PANOSE_ASPECT_RATIO_ANY: DWRITE_PANOSE_ASPECT_RATIO = 0i32;
04454e1e 1159#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1160pub const DWRITE_PANOSE_ASPECT_RATIO_NO_FIT: DWRITE_PANOSE_ASPECT_RATIO = 1i32;
04454e1e 1161#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1162pub const DWRITE_PANOSE_ASPECT_RATIO_VERY_CONDENSED: DWRITE_PANOSE_ASPECT_RATIO = 2i32;
04454e1e 1163#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1164pub const DWRITE_PANOSE_ASPECT_RATIO_CONDENSED: DWRITE_PANOSE_ASPECT_RATIO = 3i32;
04454e1e 1165#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1166pub const DWRITE_PANOSE_ASPECT_RATIO_NORMAL: DWRITE_PANOSE_ASPECT_RATIO = 4i32;
04454e1e 1167#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1168pub const DWRITE_PANOSE_ASPECT_RATIO_EXPANDED: DWRITE_PANOSE_ASPECT_RATIO = 5i32;
04454e1e 1169#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1170pub const DWRITE_PANOSE_ASPECT_RATIO_VERY_EXPANDED: DWRITE_PANOSE_ASPECT_RATIO = 6i32;
04454e1e 1171#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1172pub type DWRITE_PANOSE_CHARACTER_RANGES = i32;
04454e1e 1173#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1174pub const DWRITE_PANOSE_CHARACTER_RANGES_ANY: DWRITE_PANOSE_CHARACTER_RANGES = 0i32;
04454e1e 1175#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1176pub const DWRITE_PANOSE_CHARACTER_RANGES_NO_FIT: DWRITE_PANOSE_CHARACTER_RANGES = 1i32;
04454e1e 1177#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1178pub const DWRITE_PANOSE_CHARACTER_RANGES_EXTENDED_COLLECTION: DWRITE_PANOSE_CHARACTER_RANGES = 2i32;
04454e1e 1179#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1180pub const DWRITE_PANOSE_CHARACTER_RANGES_LITERALS: DWRITE_PANOSE_CHARACTER_RANGES = 3i32;
04454e1e 1181#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1182pub const DWRITE_PANOSE_CHARACTER_RANGES_NO_LOWER_CASE: DWRITE_PANOSE_CHARACTER_RANGES = 4i32;
04454e1e 1183#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1184pub const DWRITE_PANOSE_CHARACTER_RANGES_SMALL_CAPS: DWRITE_PANOSE_CHARACTER_RANGES = 5i32;
04454e1e 1185#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1186pub type DWRITE_PANOSE_CONTRAST = i32;
04454e1e 1187#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1188pub const DWRITE_PANOSE_CONTRAST_ANY: DWRITE_PANOSE_CONTRAST = 0i32;
04454e1e 1189#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1190pub const DWRITE_PANOSE_CONTRAST_NO_FIT: DWRITE_PANOSE_CONTRAST = 1i32;
04454e1e 1191#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1192pub const DWRITE_PANOSE_CONTRAST_NONE: DWRITE_PANOSE_CONTRAST = 2i32;
04454e1e 1193#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1194pub const DWRITE_PANOSE_CONTRAST_VERY_LOW: DWRITE_PANOSE_CONTRAST = 3i32;
04454e1e 1195#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1196pub const DWRITE_PANOSE_CONTRAST_LOW: DWRITE_PANOSE_CONTRAST = 4i32;
04454e1e 1197#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1198pub const DWRITE_PANOSE_CONTRAST_MEDIUM_LOW: DWRITE_PANOSE_CONTRAST = 5i32;
04454e1e 1199#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1200pub const DWRITE_PANOSE_CONTRAST_MEDIUM: DWRITE_PANOSE_CONTRAST = 6i32;
04454e1e 1201#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1202pub const DWRITE_PANOSE_CONTRAST_MEDIUM_HIGH: DWRITE_PANOSE_CONTRAST = 7i32;
04454e1e 1203#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1204pub const DWRITE_PANOSE_CONTRAST_HIGH: DWRITE_PANOSE_CONTRAST = 8i32;
04454e1e 1205#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1206pub const DWRITE_PANOSE_CONTRAST_VERY_HIGH: DWRITE_PANOSE_CONTRAST = 9i32;
04454e1e 1207#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1208pub const DWRITE_PANOSE_CONTRAST_HORIZONTAL_LOW: DWRITE_PANOSE_CONTRAST = 10i32;
04454e1e 1209#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1210pub const DWRITE_PANOSE_CONTRAST_HORIZONTAL_MEDIUM: DWRITE_PANOSE_CONTRAST = 11i32;
04454e1e 1211#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1212pub const DWRITE_PANOSE_CONTRAST_HORIZONTAL_HIGH: DWRITE_PANOSE_CONTRAST = 12i32;
04454e1e 1213#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1214pub const DWRITE_PANOSE_CONTRAST_BROKEN: DWRITE_PANOSE_CONTRAST = 13i32;
04454e1e 1215#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1216pub type DWRITE_PANOSE_DECORATIVE_CLASS = i32;
04454e1e 1217#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1218pub const DWRITE_PANOSE_DECORATIVE_CLASS_ANY: DWRITE_PANOSE_DECORATIVE_CLASS = 0i32;
04454e1e 1219#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1220pub const DWRITE_PANOSE_DECORATIVE_CLASS_NO_FIT: DWRITE_PANOSE_DECORATIVE_CLASS = 1i32;
04454e1e 1221#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1222pub const DWRITE_PANOSE_DECORATIVE_CLASS_DERIVATIVE: DWRITE_PANOSE_DECORATIVE_CLASS = 2i32;
04454e1e 1223#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1224pub const DWRITE_PANOSE_DECORATIVE_CLASS_NONSTANDARD_TOPOLOGY: DWRITE_PANOSE_DECORATIVE_CLASS = 3i32;
04454e1e 1225#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1226pub const DWRITE_PANOSE_DECORATIVE_CLASS_NONSTANDARD_ELEMENTS: DWRITE_PANOSE_DECORATIVE_CLASS = 4i32;
04454e1e 1227#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1228pub const DWRITE_PANOSE_DECORATIVE_CLASS_NONSTANDARD_ASPECT: DWRITE_PANOSE_DECORATIVE_CLASS = 5i32;
04454e1e 1229#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1230pub const DWRITE_PANOSE_DECORATIVE_CLASS_INITIALS: DWRITE_PANOSE_DECORATIVE_CLASS = 6i32;
04454e1e 1231#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1232pub const DWRITE_PANOSE_DECORATIVE_CLASS_CARTOON: DWRITE_PANOSE_DECORATIVE_CLASS = 7i32;
04454e1e 1233#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1234pub const DWRITE_PANOSE_DECORATIVE_CLASS_PICTURE_STEMS: DWRITE_PANOSE_DECORATIVE_CLASS = 8i32;
04454e1e 1235#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1236pub const DWRITE_PANOSE_DECORATIVE_CLASS_ORNAMENTED: DWRITE_PANOSE_DECORATIVE_CLASS = 9i32;
04454e1e 1237#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1238pub const DWRITE_PANOSE_DECORATIVE_CLASS_TEXT_AND_BACKGROUND: DWRITE_PANOSE_DECORATIVE_CLASS = 10i32;
04454e1e 1239#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1240pub const DWRITE_PANOSE_DECORATIVE_CLASS_COLLAGE: DWRITE_PANOSE_DECORATIVE_CLASS = 11i32;
04454e1e 1241#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1242pub const DWRITE_PANOSE_DECORATIVE_CLASS_MONTAGE: DWRITE_PANOSE_DECORATIVE_CLASS = 12i32;
04454e1e 1243#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1244pub type DWRITE_PANOSE_DECORATIVE_TOPOLOGY = i32;
04454e1e 1245#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1246pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_ANY: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 0i32;
04454e1e 1247#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1248pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_NO_FIT: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 1i32;
04454e1e 1249#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1250pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_STANDARD: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 2i32;
04454e1e 1251#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1252pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_SQUARE: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 3i32;
04454e1e 1253#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1254pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_MULTIPLE_SEGMENT: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 4i32;
04454e1e 1255#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1256pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_ART_DECO: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 5i32;
04454e1e 1257#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1258pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_UNEVEN_WEIGHTING: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 6i32;
04454e1e 1259#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1260pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_DIVERSE_ARMS: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 7i32;
04454e1e 1261#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1262pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_DIVERSE_FORMS: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 8i32;
04454e1e 1263#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1264pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_LOMBARDIC_FORMS: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 9i32;
04454e1e 1265#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1266pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_UPPER_CASE_IN_LOWER_CASE: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 10i32;
04454e1e 1267#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1268pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_IMPLIED_TOPOLOGY: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 11i32;
04454e1e 1269#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1270pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_HORSESHOE_E_AND_A: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 12i32;
04454e1e 1271#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1272pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_CURSIVE: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 13i32;
04454e1e 1273#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1274pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_BLACKLETTER: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 14i32;
04454e1e 1275#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1276pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_SWASH_VARIANCE: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 15i32;
04454e1e 1277#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1278pub type DWRITE_PANOSE_FAMILY = i32;
04454e1e 1279#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1280pub const DWRITE_PANOSE_FAMILY_ANY: DWRITE_PANOSE_FAMILY = 0i32;
04454e1e 1281#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1282pub const DWRITE_PANOSE_FAMILY_NO_FIT: DWRITE_PANOSE_FAMILY = 1i32;
04454e1e 1283#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1284pub const DWRITE_PANOSE_FAMILY_TEXT_DISPLAY: DWRITE_PANOSE_FAMILY = 2i32;
04454e1e 1285#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1286pub const DWRITE_PANOSE_FAMILY_SCRIPT: DWRITE_PANOSE_FAMILY = 3i32;
04454e1e 1287#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1288pub const DWRITE_PANOSE_FAMILY_DECORATIVE: DWRITE_PANOSE_FAMILY = 4i32;
04454e1e 1289#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1290pub const DWRITE_PANOSE_FAMILY_SYMBOL: DWRITE_PANOSE_FAMILY = 5i32;
04454e1e 1291#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1292pub const DWRITE_PANOSE_FAMILY_PICTORIAL: DWRITE_PANOSE_FAMILY = 5i32;
04454e1e 1293#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1294pub type DWRITE_PANOSE_FILL = i32;
04454e1e 1295#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1296pub const DWRITE_PANOSE_FILL_ANY: DWRITE_PANOSE_FILL = 0i32;
04454e1e 1297#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1298pub const DWRITE_PANOSE_FILL_NO_FIT: DWRITE_PANOSE_FILL = 1i32;
04454e1e 1299#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1300pub const DWRITE_PANOSE_FILL_STANDARD_SOLID_FILL: DWRITE_PANOSE_FILL = 2i32;
04454e1e 1301#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1302pub const DWRITE_PANOSE_FILL_NO_FILL: DWRITE_PANOSE_FILL = 3i32;
04454e1e 1303#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1304pub const DWRITE_PANOSE_FILL_PATTERNED_FILL: DWRITE_PANOSE_FILL = 4i32;
04454e1e 1305#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1306pub const DWRITE_PANOSE_FILL_COMPLEX_FILL: DWRITE_PANOSE_FILL = 5i32;
04454e1e 1307#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1308pub const DWRITE_PANOSE_FILL_SHAPED_FILL: DWRITE_PANOSE_FILL = 6i32;
04454e1e 1309#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1310pub const DWRITE_PANOSE_FILL_DRAWN_DISTRESSED: DWRITE_PANOSE_FILL = 7i32;
04454e1e 1311#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1312pub type DWRITE_PANOSE_FINIALS = i32;
04454e1e 1313#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1314pub const DWRITE_PANOSE_FINIALS_ANY: DWRITE_PANOSE_FINIALS = 0i32;
04454e1e 1315#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1316pub const DWRITE_PANOSE_FINIALS_NO_FIT: DWRITE_PANOSE_FINIALS = 1i32;
04454e1e 1317#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1318pub const DWRITE_PANOSE_FINIALS_NONE_NO_LOOPS: DWRITE_PANOSE_FINIALS = 2i32;
04454e1e 1319#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1320pub const DWRITE_PANOSE_FINIALS_NONE_CLOSED_LOOPS: DWRITE_PANOSE_FINIALS = 3i32;
04454e1e 1321#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1322pub const DWRITE_PANOSE_FINIALS_NONE_OPEN_LOOPS: DWRITE_PANOSE_FINIALS = 4i32;
04454e1e 1323#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1324pub const DWRITE_PANOSE_FINIALS_SHARP_NO_LOOPS: DWRITE_PANOSE_FINIALS = 5i32;
04454e1e 1325#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1326pub const DWRITE_PANOSE_FINIALS_SHARP_CLOSED_LOOPS: DWRITE_PANOSE_FINIALS = 6i32;
04454e1e 1327#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1328pub const DWRITE_PANOSE_FINIALS_SHARP_OPEN_LOOPS: DWRITE_PANOSE_FINIALS = 7i32;
04454e1e 1329#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1330pub const DWRITE_PANOSE_FINIALS_TAPERED_NO_LOOPS: DWRITE_PANOSE_FINIALS = 8i32;
04454e1e 1331#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1332pub const DWRITE_PANOSE_FINIALS_TAPERED_CLOSED_LOOPS: DWRITE_PANOSE_FINIALS = 9i32;
04454e1e 1333#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1334pub const DWRITE_PANOSE_FINIALS_TAPERED_OPEN_LOOPS: DWRITE_PANOSE_FINIALS = 10i32;
04454e1e 1335#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1336pub const DWRITE_PANOSE_FINIALS_ROUND_NO_LOOPS: DWRITE_PANOSE_FINIALS = 11i32;
04454e1e 1337#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1338pub const DWRITE_PANOSE_FINIALS_ROUND_CLOSED_LOOPS: DWRITE_PANOSE_FINIALS = 12i32;
04454e1e 1339#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1340pub const DWRITE_PANOSE_FINIALS_ROUND_OPEN_LOOPS: DWRITE_PANOSE_FINIALS = 13i32;
04454e1e 1341#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1342pub type DWRITE_PANOSE_LETTERFORM = i32;
04454e1e 1343#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1344pub const DWRITE_PANOSE_LETTERFORM_ANY: DWRITE_PANOSE_LETTERFORM = 0i32;
04454e1e 1345#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1346pub const DWRITE_PANOSE_LETTERFORM_NO_FIT: DWRITE_PANOSE_LETTERFORM = 1i32;
04454e1e 1347#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1348pub const DWRITE_PANOSE_LETTERFORM_NORMAL_CONTACT: DWRITE_PANOSE_LETTERFORM = 2i32;
04454e1e 1349#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1350pub const DWRITE_PANOSE_LETTERFORM_NORMAL_WEIGHTED: DWRITE_PANOSE_LETTERFORM = 3i32;
04454e1e 1351#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1352pub const DWRITE_PANOSE_LETTERFORM_NORMAL_BOXED: DWRITE_PANOSE_LETTERFORM = 4i32;
04454e1e 1353#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1354pub const DWRITE_PANOSE_LETTERFORM_NORMAL_FLATTENED: DWRITE_PANOSE_LETTERFORM = 5i32;
04454e1e 1355#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1356pub const DWRITE_PANOSE_LETTERFORM_NORMAL_ROUNDED: DWRITE_PANOSE_LETTERFORM = 6i32;
04454e1e 1357#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1358pub const DWRITE_PANOSE_LETTERFORM_NORMAL_OFF_CENTER: DWRITE_PANOSE_LETTERFORM = 7i32;
04454e1e 1359#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1360pub const DWRITE_PANOSE_LETTERFORM_NORMAL_SQUARE: DWRITE_PANOSE_LETTERFORM = 8i32;
04454e1e 1361#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1362pub const DWRITE_PANOSE_LETTERFORM_OBLIQUE_CONTACT: DWRITE_PANOSE_LETTERFORM = 9i32;
04454e1e 1363#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1364pub const DWRITE_PANOSE_LETTERFORM_OBLIQUE_WEIGHTED: DWRITE_PANOSE_LETTERFORM = 10i32;
04454e1e 1365#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1366pub const DWRITE_PANOSE_LETTERFORM_OBLIQUE_BOXED: DWRITE_PANOSE_LETTERFORM = 11i32;
04454e1e 1367#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1368pub const DWRITE_PANOSE_LETTERFORM_OBLIQUE_FLATTENED: DWRITE_PANOSE_LETTERFORM = 12i32;
04454e1e 1369#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1370pub const DWRITE_PANOSE_LETTERFORM_OBLIQUE_ROUNDED: DWRITE_PANOSE_LETTERFORM = 13i32;
04454e1e 1371#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1372pub const DWRITE_PANOSE_LETTERFORM_OBLIQUE_OFF_CENTER: DWRITE_PANOSE_LETTERFORM = 14i32;
04454e1e 1373#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1374pub const DWRITE_PANOSE_LETTERFORM_OBLIQUE_SQUARE: DWRITE_PANOSE_LETTERFORM = 15i32;
04454e1e 1375#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1376pub type DWRITE_PANOSE_LINING = i32;
04454e1e 1377#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1378pub const DWRITE_PANOSE_LINING_ANY: DWRITE_PANOSE_LINING = 0i32;
04454e1e 1379#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1380pub const DWRITE_PANOSE_LINING_NO_FIT: DWRITE_PANOSE_LINING = 1i32;
04454e1e 1381#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1382pub const DWRITE_PANOSE_LINING_NONE: DWRITE_PANOSE_LINING = 2i32;
04454e1e 1383#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1384pub const DWRITE_PANOSE_LINING_INLINE: DWRITE_PANOSE_LINING = 3i32;
04454e1e 1385#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1386pub const DWRITE_PANOSE_LINING_OUTLINE: DWRITE_PANOSE_LINING = 4i32;
04454e1e 1387#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1388pub const DWRITE_PANOSE_LINING_ENGRAVED: DWRITE_PANOSE_LINING = 5i32;
04454e1e 1389#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1390pub const DWRITE_PANOSE_LINING_SHADOW: DWRITE_PANOSE_LINING = 6i32;
04454e1e 1391#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1392pub const DWRITE_PANOSE_LINING_RELIEF: DWRITE_PANOSE_LINING = 7i32;
04454e1e 1393#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1394pub const DWRITE_PANOSE_LINING_BACKDROP: DWRITE_PANOSE_LINING = 8i32;
04454e1e 1395#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1396pub type DWRITE_PANOSE_MIDLINE = i32;
04454e1e 1397#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1398pub const DWRITE_PANOSE_MIDLINE_ANY: DWRITE_PANOSE_MIDLINE = 0i32;
04454e1e 1399#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1400pub const DWRITE_PANOSE_MIDLINE_NO_FIT: DWRITE_PANOSE_MIDLINE = 1i32;
04454e1e 1401#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1402pub const DWRITE_PANOSE_MIDLINE_STANDARD_TRIMMED: DWRITE_PANOSE_MIDLINE = 2i32;
04454e1e 1403#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1404pub const DWRITE_PANOSE_MIDLINE_STANDARD_POINTED: DWRITE_PANOSE_MIDLINE = 3i32;
04454e1e 1405#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1406pub const DWRITE_PANOSE_MIDLINE_STANDARD_SERIFED: DWRITE_PANOSE_MIDLINE = 4i32;
04454e1e 1407#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1408pub const DWRITE_PANOSE_MIDLINE_HIGH_TRIMMED: DWRITE_PANOSE_MIDLINE = 5i32;
04454e1e 1409#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1410pub const DWRITE_PANOSE_MIDLINE_HIGH_POINTED: DWRITE_PANOSE_MIDLINE = 6i32;
04454e1e 1411#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1412pub const DWRITE_PANOSE_MIDLINE_HIGH_SERIFED: DWRITE_PANOSE_MIDLINE = 7i32;
04454e1e 1413#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1414pub const DWRITE_PANOSE_MIDLINE_CONSTANT_TRIMMED: DWRITE_PANOSE_MIDLINE = 8i32;
04454e1e 1415#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1416pub const DWRITE_PANOSE_MIDLINE_CONSTANT_POINTED: DWRITE_PANOSE_MIDLINE = 9i32;
04454e1e 1417#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1418pub const DWRITE_PANOSE_MIDLINE_CONSTANT_SERIFED: DWRITE_PANOSE_MIDLINE = 10i32;
04454e1e 1419#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1420pub const DWRITE_PANOSE_MIDLINE_LOW_TRIMMED: DWRITE_PANOSE_MIDLINE = 11i32;
04454e1e 1421#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1422pub const DWRITE_PANOSE_MIDLINE_LOW_POINTED: DWRITE_PANOSE_MIDLINE = 12i32;
04454e1e 1423#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1424pub const DWRITE_PANOSE_MIDLINE_LOW_SERIFED: DWRITE_PANOSE_MIDLINE = 13i32;
04454e1e 1425#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1426pub type DWRITE_PANOSE_PROPORTION = i32;
04454e1e 1427#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1428pub const DWRITE_PANOSE_PROPORTION_ANY: DWRITE_PANOSE_PROPORTION = 0i32;
04454e1e 1429#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1430pub const DWRITE_PANOSE_PROPORTION_NO_FIT: DWRITE_PANOSE_PROPORTION = 1i32;
04454e1e 1431#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1432pub const DWRITE_PANOSE_PROPORTION_OLD_STYLE: DWRITE_PANOSE_PROPORTION = 2i32;
04454e1e 1433#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1434pub const DWRITE_PANOSE_PROPORTION_MODERN: DWRITE_PANOSE_PROPORTION = 3i32;
04454e1e 1435#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1436pub const DWRITE_PANOSE_PROPORTION_EVEN_WIDTH: DWRITE_PANOSE_PROPORTION = 4i32;
04454e1e 1437#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1438pub const DWRITE_PANOSE_PROPORTION_EXPANDED: DWRITE_PANOSE_PROPORTION = 5i32;
04454e1e 1439#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1440pub const DWRITE_PANOSE_PROPORTION_CONDENSED: DWRITE_PANOSE_PROPORTION = 6i32;
04454e1e 1441#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1442pub const DWRITE_PANOSE_PROPORTION_VERY_EXPANDED: DWRITE_PANOSE_PROPORTION = 7i32;
04454e1e 1443#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1444pub const DWRITE_PANOSE_PROPORTION_VERY_CONDENSED: DWRITE_PANOSE_PROPORTION = 8i32;
04454e1e 1445#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1446pub const DWRITE_PANOSE_PROPORTION_MONOSPACED: DWRITE_PANOSE_PROPORTION = 9i32;
04454e1e 1447#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1448pub type DWRITE_PANOSE_SCRIPT_FORM = i32;
04454e1e 1449#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1450pub const DWRITE_PANOSE_SCRIPT_FORM_ANY: DWRITE_PANOSE_SCRIPT_FORM = 0i32;
04454e1e 1451#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1452pub const DWRITE_PANOSE_SCRIPT_FORM_NO_FIT: DWRITE_PANOSE_SCRIPT_FORM = 1i32;
04454e1e 1453#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1454pub const DWRITE_PANOSE_SCRIPT_FORM_UPRIGHT_NO_WRAPPING: DWRITE_PANOSE_SCRIPT_FORM = 2i32;
04454e1e 1455#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1456pub const DWRITE_PANOSE_SCRIPT_FORM_UPRIGHT_SOME_WRAPPING: DWRITE_PANOSE_SCRIPT_FORM = 3i32;
04454e1e 1457#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1458pub const DWRITE_PANOSE_SCRIPT_FORM_UPRIGHT_MORE_WRAPPING: DWRITE_PANOSE_SCRIPT_FORM = 4i32;
04454e1e 1459#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1460pub const DWRITE_PANOSE_SCRIPT_FORM_UPRIGHT_EXTREME_WRAPPING: DWRITE_PANOSE_SCRIPT_FORM = 5i32;
04454e1e 1461#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1462pub const DWRITE_PANOSE_SCRIPT_FORM_OBLIQUE_NO_WRAPPING: DWRITE_PANOSE_SCRIPT_FORM = 6i32;
04454e1e 1463#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1464pub const DWRITE_PANOSE_SCRIPT_FORM_OBLIQUE_SOME_WRAPPING: DWRITE_PANOSE_SCRIPT_FORM = 7i32;
04454e1e 1465#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1466pub const DWRITE_PANOSE_SCRIPT_FORM_OBLIQUE_MORE_WRAPPING: DWRITE_PANOSE_SCRIPT_FORM = 8i32;
04454e1e 1467#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1468pub const DWRITE_PANOSE_SCRIPT_FORM_OBLIQUE_EXTREME_WRAPPING: DWRITE_PANOSE_SCRIPT_FORM = 9i32;
04454e1e 1469#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1470pub const DWRITE_PANOSE_SCRIPT_FORM_EXAGGERATED_NO_WRAPPING: DWRITE_PANOSE_SCRIPT_FORM = 10i32;
04454e1e 1471#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1472pub const DWRITE_PANOSE_SCRIPT_FORM_EXAGGERATED_SOME_WRAPPING: DWRITE_PANOSE_SCRIPT_FORM = 11i32;
04454e1e 1473#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1474pub const DWRITE_PANOSE_SCRIPT_FORM_EXAGGERATED_MORE_WRAPPING: DWRITE_PANOSE_SCRIPT_FORM = 12i32;
04454e1e 1475#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1476pub const DWRITE_PANOSE_SCRIPT_FORM_EXAGGERATED_EXTREME_WRAPPING: DWRITE_PANOSE_SCRIPT_FORM = 13i32;
04454e1e 1477#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1478pub type DWRITE_PANOSE_SCRIPT_TOPOLOGY = i32;
04454e1e 1479#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1480pub const DWRITE_PANOSE_SCRIPT_TOPOLOGY_ANY: DWRITE_PANOSE_SCRIPT_TOPOLOGY = 0i32;
04454e1e 1481#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1482pub const DWRITE_PANOSE_SCRIPT_TOPOLOGY_NO_FIT: DWRITE_PANOSE_SCRIPT_TOPOLOGY = 1i32;
04454e1e 1483#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1484pub const DWRITE_PANOSE_SCRIPT_TOPOLOGY_ROMAN_DISCONNECTED: DWRITE_PANOSE_SCRIPT_TOPOLOGY = 2i32;
04454e1e 1485#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1486pub const DWRITE_PANOSE_SCRIPT_TOPOLOGY_ROMAN_TRAILING: DWRITE_PANOSE_SCRIPT_TOPOLOGY = 3i32;
04454e1e 1487#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1488pub const DWRITE_PANOSE_SCRIPT_TOPOLOGY_ROMAN_CONNECTED: DWRITE_PANOSE_SCRIPT_TOPOLOGY = 4i32;
04454e1e 1489#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1490pub const DWRITE_PANOSE_SCRIPT_TOPOLOGY_CURSIVE_DISCONNECTED: DWRITE_PANOSE_SCRIPT_TOPOLOGY = 5i32;
04454e1e 1491#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1492pub const DWRITE_PANOSE_SCRIPT_TOPOLOGY_CURSIVE_TRAILING: DWRITE_PANOSE_SCRIPT_TOPOLOGY = 6i32;
04454e1e 1493#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1494pub const DWRITE_PANOSE_SCRIPT_TOPOLOGY_CURSIVE_CONNECTED: DWRITE_PANOSE_SCRIPT_TOPOLOGY = 7i32;
04454e1e 1495#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1496pub const DWRITE_PANOSE_SCRIPT_TOPOLOGY_BLACKLETTER_DISCONNECTED: DWRITE_PANOSE_SCRIPT_TOPOLOGY = 8i32;
04454e1e 1497#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1498pub const DWRITE_PANOSE_SCRIPT_TOPOLOGY_BLACKLETTER_TRAILING: DWRITE_PANOSE_SCRIPT_TOPOLOGY = 9i32;
04454e1e 1499#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1500pub const DWRITE_PANOSE_SCRIPT_TOPOLOGY_BLACKLETTER_CONNECTED: DWRITE_PANOSE_SCRIPT_TOPOLOGY = 10i32;
04454e1e 1501#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1502pub type DWRITE_PANOSE_SERIF_STYLE = i32;
04454e1e 1503#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1504pub const DWRITE_PANOSE_SERIF_STYLE_ANY: DWRITE_PANOSE_SERIF_STYLE = 0i32;
04454e1e 1505#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1506pub const DWRITE_PANOSE_SERIF_STYLE_NO_FIT: DWRITE_PANOSE_SERIF_STYLE = 1i32;
04454e1e 1507#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1508pub const DWRITE_PANOSE_SERIF_STYLE_COVE: DWRITE_PANOSE_SERIF_STYLE = 2i32;
04454e1e 1509#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1510pub const DWRITE_PANOSE_SERIF_STYLE_OBTUSE_COVE: DWRITE_PANOSE_SERIF_STYLE = 3i32;
04454e1e 1511#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1512pub const DWRITE_PANOSE_SERIF_STYLE_SQUARE_COVE: DWRITE_PANOSE_SERIF_STYLE = 4i32;
04454e1e 1513#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1514pub const DWRITE_PANOSE_SERIF_STYLE_OBTUSE_SQUARE_COVE: DWRITE_PANOSE_SERIF_STYLE = 5i32;
04454e1e 1515#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1516pub const DWRITE_PANOSE_SERIF_STYLE_SQUARE: DWRITE_PANOSE_SERIF_STYLE = 6i32;
04454e1e 1517#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1518pub const DWRITE_PANOSE_SERIF_STYLE_THIN: DWRITE_PANOSE_SERIF_STYLE = 7i32;
04454e1e 1519#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1520pub const DWRITE_PANOSE_SERIF_STYLE_OVAL: DWRITE_PANOSE_SERIF_STYLE = 8i32;
04454e1e 1521#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1522pub const DWRITE_PANOSE_SERIF_STYLE_EXAGGERATED: DWRITE_PANOSE_SERIF_STYLE = 9i32;
04454e1e 1523#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1524pub const DWRITE_PANOSE_SERIF_STYLE_TRIANGLE: DWRITE_PANOSE_SERIF_STYLE = 10i32;
04454e1e 1525#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1526pub const DWRITE_PANOSE_SERIF_STYLE_NORMAL_SANS: DWRITE_PANOSE_SERIF_STYLE = 11i32;
04454e1e 1527#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1528pub const DWRITE_PANOSE_SERIF_STYLE_OBTUSE_SANS: DWRITE_PANOSE_SERIF_STYLE = 12i32;
04454e1e 1529#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1530pub const DWRITE_PANOSE_SERIF_STYLE_PERPENDICULAR_SANS: DWRITE_PANOSE_SERIF_STYLE = 13i32;
04454e1e 1531#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1532pub const DWRITE_PANOSE_SERIF_STYLE_FLARED: DWRITE_PANOSE_SERIF_STYLE = 14i32;
04454e1e 1533#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1534pub const DWRITE_PANOSE_SERIF_STYLE_ROUNDED: DWRITE_PANOSE_SERIF_STYLE = 15i32;
04454e1e 1535#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1536pub const DWRITE_PANOSE_SERIF_STYLE_SCRIPT: DWRITE_PANOSE_SERIF_STYLE = 16i32;
04454e1e 1537#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1538pub const DWRITE_PANOSE_SERIF_STYLE_PERP_SANS: DWRITE_PANOSE_SERIF_STYLE = 13i32;
04454e1e 1539#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1540pub const DWRITE_PANOSE_SERIF_STYLE_BONE: DWRITE_PANOSE_SERIF_STYLE = 8i32;
04454e1e 1541#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1542pub type DWRITE_PANOSE_SPACING = i32;
04454e1e 1543#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1544pub const DWRITE_PANOSE_SPACING_ANY: DWRITE_PANOSE_SPACING = 0i32;
04454e1e 1545#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1546pub const DWRITE_PANOSE_SPACING_NO_FIT: DWRITE_PANOSE_SPACING = 1i32;
04454e1e 1547#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1548pub const DWRITE_PANOSE_SPACING_PROPORTIONAL_SPACED: DWRITE_PANOSE_SPACING = 2i32;
04454e1e 1549#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1550pub const DWRITE_PANOSE_SPACING_MONOSPACED: DWRITE_PANOSE_SPACING = 3i32;
04454e1e 1551#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1552pub type DWRITE_PANOSE_STROKE_VARIATION = i32;
04454e1e 1553#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1554pub const DWRITE_PANOSE_STROKE_VARIATION_ANY: DWRITE_PANOSE_STROKE_VARIATION = 0i32;
04454e1e 1555#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1556pub const DWRITE_PANOSE_STROKE_VARIATION_NO_FIT: DWRITE_PANOSE_STROKE_VARIATION = 1i32;
04454e1e 1557#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1558pub const DWRITE_PANOSE_STROKE_VARIATION_NO_VARIATION: DWRITE_PANOSE_STROKE_VARIATION = 2i32;
04454e1e 1559#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1560pub const DWRITE_PANOSE_STROKE_VARIATION_GRADUAL_DIAGONAL: DWRITE_PANOSE_STROKE_VARIATION = 3i32;
04454e1e 1561#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1562pub const DWRITE_PANOSE_STROKE_VARIATION_GRADUAL_TRANSITIONAL: DWRITE_PANOSE_STROKE_VARIATION = 4i32;
04454e1e 1563#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1564pub const DWRITE_PANOSE_STROKE_VARIATION_GRADUAL_VERTICAL: DWRITE_PANOSE_STROKE_VARIATION = 5i32;
04454e1e 1565#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1566pub const DWRITE_PANOSE_STROKE_VARIATION_GRADUAL_HORIZONTAL: DWRITE_PANOSE_STROKE_VARIATION = 6i32;
04454e1e 1567#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1568pub const DWRITE_PANOSE_STROKE_VARIATION_RAPID_VERTICAL: DWRITE_PANOSE_STROKE_VARIATION = 7i32;
04454e1e 1569#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1570pub const DWRITE_PANOSE_STROKE_VARIATION_RAPID_HORIZONTAL: DWRITE_PANOSE_STROKE_VARIATION = 8i32;
04454e1e 1571#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1572pub const DWRITE_PANOSE_STROKE_VARIATION_INSTANT_VERTICAL: DWRITE_PANOSE_STROKE_VARIATION = 9i32;
04454e1e 1573#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1574pub const DWRITE_PANOSE_STROKE_VARIATION_INSTANT_HORIZONTAL: DWRITE_PANOSE_STROKE_VARIATION = 10i32;
04454e1e 1575#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1576pub type DWRITE_PANOSE_SYMBOL_ASPECT_RATIO = i32;
04454e1e 1577#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1578pub const DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_ANY: DWRITE_PANOSE_SYMBOL_ASPECT_RATIO = 0i32;
04454e1e 1579#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1580pub const DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_NO_FIT: DWRITE_PANOSE_SYMBOL_ASPECT_RATIO = 1i32;
04454e1e 1581#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1582pub const DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_NO_WIDTH: DWRITE_PANOSE_SYMBOL_ASPECT_RATIO = 2i32;
04454e1e 1583#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1584pub const DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_EXCEPTIONALLY_WIDE: DWRITE_PANOSE_SYMBOL_ASPECT_RATIO = 3i32;
04454e1e 1585#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1586pub const DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_SUPER_WIDE: DWRITE_PANOSE_SYMBOL_ASPECT_RATIO = 4i32;
04454e1e 1587#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1588pub const DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_VERY_WIDE: DWRITE_PANOSE_SYMBOL_ASPECT_RATIO = 5i32;
04454e1e 1589#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1590pub const DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_WIDE: DWRITE_PANOSE_SYMBOL_ASPECT_RATIO = 6i32;
04454e1e 1591#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1592pub const DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_NORMAL: DWRITE_PANOSE_SYMBOL_ASPECT_RATIO = 7i32;
04454e1e 1593#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1594pub const DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_NARROW: DWRITE_PANOSE_SYMBOL_ASPECT_RATIO = 8i32;
04454e1e 1595#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1596pub const DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_VERY_NARROW: DWRITE_PANOSE_SYMBOL_ASPECT_RATIO = 9i32;
04454e1e 1597#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1598pub type DWRITE_PANOSE_SYMBOL_KIND = i32;
04454e1e 1599#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1600pub const DWRITE_PANOSE_SYMBOL_KIND_ANY: DWRITE_PANOSE_SYMBOL_KIND = 0i32;
04454e1e 1601#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1602pub const DWRITE_PANOSE_SYMBOL_KIND_NO_FIT: DWRITE_PANOSE_SYMBOL_KIND = 1i32;
04454e1e 1603#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1604pub const DWRITE_PANOSE_SYMBOL_KIND_MONTAGES: DWRITE_PANOSE_SYMBOL_KIND = 2i32;
04454e1e 1605#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1606pub const DWRITE_PANOSE_SYMBOL_KIND_PICTURES: DWRITE_PANOSE_SYMBOL_KIND = 3i32;
04454e1e 1607#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1608pub const DWRITE_PANOSE_SYMBOL_KIND_SHAPES: DWRITE_PANOSE_SYMBOL_KIND = 4i32;
04454e1e 1609#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1610pub const DWRITE_PANOSE_SYMBOL_KIND_SCIENTIFIC: DWRITE_PANOSE_SYMBOL_KIND = 5i32;
04454e1e 1611#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1612pub const DWRITE_PANOSE_SYMBOL_KIND_MUSIC: DWRITE_PANOSE_SYMBOL_KIND = 6i32;
04454e1e 1613#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1614pub const DWRITE_PANOSE_SYMBOL_KIND_EXPERT: DWRITE_PANOSE_SYMBOL_KIND = 7i32;
04454e1e 1615#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1616pub const DWRITE_PANOSE_SYMBOL_KIND_PATTERNS: DWRITE_PANOSE_SYMBOL_KIND = 8i32;
04454e1e 1617#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1618pub const DWRITE_PANOSE_SYMBOL_KIND_BOARDERS: DWRITE_PANOSE_SYMBOL_KIND = 9i32;
04454e1e 1619#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1620pub const DWRITE_PANOSE_SYMBOL_KIND_ICONS: DWRITE_PANOSE_SYMBOL_KIND = 10i32;
04454e1e 1621#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1622pub const DWRITE_PANOSE_SYMBOL_KIND_LOGOS: DWRITE_PANOSE_SYMBOL_KIND = 11i32;
04454e1e 1623#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1624pub const DWRITE_PANOSE_SYMBOL_KIND_INDUSTRY_SPECIFIC: DWRITE_PANOSE_SYMBOL_KIND = 12i32;
04454e1e 1625#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1626pub type DWRITE_PANOSE_TOOL_KIND = i32;
04454e1e 1627#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1628pub const DWRITE_PANOSE_TOOL_KIND_ANY: DWRITE_PANOSE_TOOL_KIND = 0i32;
04454e1e 1629#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1630pub const DWRITE_PANOSE_TOOL_KIND_NO_FIT: DWRITE_PANOSE_TOOL_KIND = 1i32;
04454e1e 1631#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1632pub const DWRITE_PANOSE_TOOL_KIND_FLAT_NIB: DWRITE_PANOSE_TOOL_KIND = 2i32;
04454e1e 1633#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1634pub const DWRITE_PANOSE_TOOL_KIND_PRESSURE_POINT: DWRITE_PANOSE_TOOL_KIND = 3i32;
04454e1e 1635#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1636pub const DWRITE_PANOSE_TOOL_KIND_ENGRAVED: DWRITE_PANOSE_TOOL_KIND = 4i32;
04454e1e 1637#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1638pub const DWRITE_PANOSE_TOOL_KIND_BALL: DWRITE_PANOSE_TOOL_KIND = 5i32;
04454e1e 1639#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1640pub const DWRITE_PANOSE_TOOL_KIND_BRUSH: DWRITE_PANOSE_TOOL_KIND = 6i32;
04454e1e 1641#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1642pub const DWRITE_PANOSE_TOOL_KIND_ROUGH: DWRITE_PANOSE_TOOL_KIND = 7i32;
04454e1e 1643#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1644pub const DWRITE_PANOSE_TOOL_KIND_FELT_PEN_BRUSH_TIP: DWRITE_PANOSE_TOOL_KIND = 8i32;
04454e1e 1645#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1646pub const DWRITE_PANOSE_TOOL_KIND_WILD_BRUSH: DWRITE_PANOSE_TOOL_KIND = 9i32;
04454e1e 1647#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1648pub type DWRITE_PANOSE_WEIGHT = i32;
04454e1e 1649#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1650pub const DWRITE_PANOSE_WEIGHT_ANY: DWRITE_PANOSE_WEIGHT = 0i32;
04454e1e 1651#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1652pub const DWRITE_PANOSE_WEIGHT_NO_FIT: DWRITE_PANOSE_WEIGHT = 1i32;
04454e1e 1653#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1654pub const DWRITE_PANOSE_WEIGHT_VERY_LIGHT: DWRITE_PANOSE_WEIGHT = 2i32;
04454e1e 1655#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1656pub const DWRITE_PANOSE_WEIGHT_LIGHT: DWRITE_PANOSE_WEIGHT = 3i32;
04454e1e 1657#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1658pub const DWRITE_PANOSE_WEIGHT_THIN: DWRITE_PANOSE_WEIGHT = 4i32;
04454e1e 1659#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1660pub const DWRITE_PANOSE_WEIGHT_BOOK: DWRITE_PANOSE_WEIGHT = 5i32;
04454e1e 1661#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1662pub const DWRITE_PANOSE_WEIGHT_MEDIUM: DWRITE_PANOSE_WEIGHT = 6i32;
04454e1e 1663#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1664pub const DWRITE_PANOSE_WEIGHT_DEMI: DWRITE_PANOSE_WEIGHT = 7i32;
04454e1e 1665#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1666pub const DWRITE_PANOSE_WEIGHT_BOLD: DWRITE_PANOSE_WEIGHT = 8i32;
04454e1e 1667#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1668pub const DWRITE_PANOSE_WEIGHT_HEAVY: DWRITE_PANOSE_WEIGHT = 9i32;
04454e1e 1669#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1670pub const DWRITE_PANOSE_WEIGHT_BLACK: DWRITE_PANOSE_WEIGHT = 10i32;
04454e1e 1671#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1672pub const DWRITE_PANOSE_WEIGHT_EXTRA_BLACK: DWRITE_PANOSE_WEIGHT = 11i32;
04454e1e 1673#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1674pub const DWRITE_PANOSE_WEIGHT_NORD: DWRITE_PANOSE_WEIGHT = 11i32;
04454e1e 1675#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1676pub type DWRITE_PANOSE_XASCENT = i32;
04454e1e 1677#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1678pub const DWRITE_PANOSE_XASCENT_ANY: DWRITE_PANOSE_XASCENT = 0i32;
04454e1e 1679#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1680pub const DWRITE_PANOSE_XASCENT_NO_FIT: DWRITE_PANOSE_XASCENT = 1i32;
04454e1e 1681#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1682pub const DWRITE_PANOSE_XASCENT_VERY_LOW: DWRITE_PANOSE_XASCENT = 2i32;
04454e1e 1683#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1684pub const DWRITE_PANOSE_XASCENT_LOW: DWRITE_PANOSE_XASCENT = 3i32;
04454e1e 1685#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1686pub const DWRITE_PANOSE_XASCENT_MEDIUM: DWRITE_PANOSE_XASCENT = 4i32;
04454e1e 1687#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1688pub const DWRITE_PANOSE_XASCENT_HIGH: DWRITE_PANOSE_XASCENT = 5i32;
04454e1e 1689#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1690pub const DWRITE_PANOSE_XASCENT_VERY_HIGH: DWRITE_PANOSE_XASCENT = 6i32;
04454e1e 1691#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1692pub type DWRITE_PANOSE_XHEIGHT = i32;
04454e1e 1693#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1694pub const DWRITE_PANOSE_XHEIGHT_ANY: DWRITE_PANOSE_XHEIGHT = 0i32;
04454e1e 1695#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1696pub const DWRITE_PANOSE_XHEIGHT_NO_FIT: DWRITE_PANOSE_XHEIGHT = 1i32;
04454e1e 1697#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1698pub const DWRITE_PANOSE_XHEIGHT_CONSTANT_SMALL: DWRITE_PANOSE_XHEIGHT = 2i32;
04454e1e 1699#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1700pub const DWRITE_PANOSE_XHEIGHT_CONSTANT_STANDARD: DWRITE_PANOSE_XHEIGHT = 3i32;
04454e1e 1701#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1702pub const DWRITE_PANOSE_XHEIGHT_CONSTANT_LARGE: DWRITE_PANOSE_XHEIGHT = 4i32;
04454e1e 1703#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1704pub const DWRITE_PANOSE_XHEIGHT_DUCKING_SMALL: DWRITE_PANOSE_XHEIGHT = 5i32;
04454e1e 1705#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1706pub const DWRITE_PANOSE_XHEIGHT_DUCKING_STANDARD: DWRITE_PANOSE_XHEIGHT = 6i32;
04454e1e 1707#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1708pub const DWRITE_PANOSE_XHEIGHT_DUCKING_LARGE: DWRITE_PANOSE_XHEIGHT = 7i32;
04454e1e 1709#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1710pub const DWRITE_PANOSE_XHEIGHT_CONSTANT_STD: DWRITE_PANOSE_XHEIGHT = 3i32;
04454e1e 1711#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1712pub const DWRITE_PANOSE_XHEIGHT_DUCKING_STD: DWRITE_PANOSE_XHEIGHT = 6i32;
04454e1e 1713#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1714pub type DWRITE_PARAGRAPH_ALIGNMENT = i32;
04454e1e 1715#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1716pub const DWRITE_PARAGRAPH_ALIGNMENT_NEAR: DWRITE_PARAGRAPH_ALIGNMENT = 0i32;
04454e1e 1717#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1718pub const DWRITE_PARAGRAPH_ALIGNMENT_FAR: DWRITE_PARAGRAPH_ALIGNMENT = 1i32;
04454e1e 1719#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1720pub const DWRITE_PARAGRAPH_ALIGNMENT_CENTER: DWRITE_PARAGRAPH_ALIGNMENT = 2i32;
04454e1e 1721#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1722pub type DWRITE_PIXEL_GEOMETRY = i32;
04454e1e 1723#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1724pub const DWRITE_PIXEL_GEOMETRY_FLAT: DWRITE_PIXEL_GEOMETRY = 0i32;
04454e1e 1725#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1726pub const DWRITE_PIXEL_GEOMETRY_RGB: DWRITE_PIXEL_GEOMETRY = 1i32;
04454e1e 1727#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1728pub const DWRITE_PIXEL_GEOMETRY_BGR: DWRITE_PIXEL_GEOMETRY = 2i32;
04454e1e 1729#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1730pub type DWRITE_READING_DIRECTION = i32;
04454e1e 1731#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1732pub const DWRITE_READING_DIRECTION_LEFT_TO_RIGHT: DWRITE_READING_DIRECTION = 0i32;
04454e1e 1733#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1734pub const DWRITE_READING_DIRECTION_RIGHT_TO_LEFT: DWRITE_READING_DIRECTION = 1i32;
04454e1e 1735#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1736pub const DWRITE_READING_DIRECTION_TOP_TO_BOTTOM: DWRITE_READING_DIRECTION = 2i32;
04454e1e 1737#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1738pub const DWRITE_READING_DIRECTION_BOTTOM_TO_TOP: DWRITE_READING_DIRECTION = 3i32;
04454e1e 1739#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1740pub type DWRITE_RENDERING_MODE = i32;
04454e1e 1741#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1742pub const DWRITE_RENDERING_MODE_DEFAULT: DWRITE_RENDERING_MODE = 0i32;
04454e1e 1743#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1744pub const DWRITE_RENDERING_MODE_ALIASED: DWRITE_RENDERING_MODE = 1i32;
04454e1e 1745#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1746pub const DWRITE_RENDERING_MODE_GDI_CLASSIC: DWRITE_RENDERING_MODE = 2i32;
04454e1e 1747#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1748pub const DWRITE_RENDERING_MODE_GDI_NATURAL: DWRITE_RENDERING_MODE = 3i32;
04454e1e 1749#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1750pub const DWRITE_RENDERING_MODE_NATURAL: DWRITE_RENDERING_MODE = 4i32;
04454e1e 1751#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1752pub const DWRITE_RENDERING_MODE_NATURAL_SYMMETRIC: DWRITE_RENDERING_MODE = 5i32;
04454e1e 1753#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1754pub const DWRITE_RENDERING_MODE_OUTLINE: DWRITE_RENDERING_MODE = 6i32;
04454e1e 1755#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1756pub const DWRITE_RENDERING_MODE_CLEARTYPE_GDI_CLASSIC: DWRITE_RENDERING_MODE = 2i32;
04454e1e 1757#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1758pub const DWRITE_RENDERING_MODE_CLEARTYPE_GDI_NATURAL: DWRITE_RENDERING_MODE = 3i32;
04454e1e 1759#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1760pub const DWRITE_RENDERING_MODE_CLEARTYPE_NATURAL: DWRITE_RENDERING_MODE = 4i32;
04454e1e 1761#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1762pub const DWRITE_RENDERING_MODE_CLEARTYPE_NATURAL_SYMMETRIC: DWRITE_RENDERING_MODE = 5i32;
04454e1e 1763#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1764pub type DWRITE_RENDERING_MODE1 = i32;
04454e1e 1765#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1766pub const DWRITE_RENDERING_MODE1_DEFAULT: DWRITE_RENDERING_MODE1 = 0i32;
04454e1e 1767#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1768pub const DWRITE_RENDERING_MODE1_ALIASED: DWRITE_RENDERING_MODE1 = 1i32;
04454e1e 1769#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1770pub const DWRITE_RENDERING_MODE1_GDI_CLASSIC: DWRITE_RENDERING_MODE1 = 2i32;
04454e1e 1771#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1772pub const DWRITE_RENDERING_MODE1_GDI_NATURAL: DWRITE_RENDERING_MODE1 = 3i32;
04454e1e 1773#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1774pub const DWRITE_RENDERING_MODE1_NATURAL: DWRITE_RENDERING_MODE1 = 4i32;
04454e1e 1775#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1776pub const DWRITE_RENDERING_MODE1_NATURAL_SYMMETRIC: DWRITE_RENDERING_MODE1 = 5i32;
04454e1e 1777#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1778pub const DWRITE_RENDERING_MODE1_OUTLINE: DWRITE_RENDERING_MODE1 = 6i32;
04454e1e 1779#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
1780pub const DWRITE_RENDERING_MODE1_NATURAL_SYMMETRIC_DOWNSAMPLED: DWRITE_RENDERING_MODE1 = 7i32;
1781#[repr(C)]
04454e1e 1782#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
1783pub struct DWRITE_SCRIPT_ANALYSIS {
1784 pub script: u16,
1785 pub shapes: DWRITE_SCRIPT_SHAPES,
1786}
1787impl ::core::marker::Copy for DWRITE_SCRIPT_ANALYSIS {}
1788impl ::core::clone::Clone for DWRITE_SCRIPT_ANALYSIS {
1789 fn clone(&self) -> Self {
1790 *self
1791 }
1792}
1793#[repr(C)]
04454e1e 1794#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
1795pub struct DWRITE_SCRIPT_PROPERTIES {
1796 pub isoScriptCode: u32,
1797 pub isoScriptNumber: u32,
1798 pub clusterLookahead: u32,
1799 pub justificationCharacter: u32,
1800 pub _bitfield: u32,
1801}
1802impl ::core::marker::Copy for DWRITE_SCRIPT_PROPERTIES {}
1803impl ::core::clone::Clone for DWRITE_SCRIPT_PROPERTIES {
1804 fn clone(&self) -> Self {
1805 *self
1806 }
1807}
04454e1e 1808#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1809pub type DWRITE_SCRIPT_SHAPES = u32;
04454e1e 1810#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1811pub const DWRITE_SCRIPT_SHAPES_DEFAULT: DWRITE_SCRIPT_SHAPES = 0u32;
04454e1e 1812#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
1813pub const DWRITE_SCRIPT_SHAPES_NO_VISUAL: DWRITE_SCRIPT_SHAPES = 1u32;
1814#[repr(C)]
04454e1e 1815#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
1816pub struct DWRITE_SHAPING_GLYPH_PROPERTIES {
1817 pub _bitfield: u16,
1818}
1819impl ::core::marker::Copy for DWRITE_SHAPING_GLYPH_PROPERTIES {}
1820impl ::core::clone::Clone for DWRITE_SHAPING_GLYPH_PROPERTIES {
1821 fn clone(&self) -> Self {
1822 *self
1823 }
1824}
1825#[repr(C)]
04454e1e 1826#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
1827pub struct DWRITE_SHAPING_TEXT_PROPERTIES {
1828 pub _bitfield: u16,
1829}
1830impl ::core::marker::Copy for DWRITE_SHAPING_TEXT_PROPERTIES {}
1831impl ::core::clone::Clone for DWRITE_SHAPING_TEXT_PROPERTIES {
1832 fn clone(&self) -> Self {
1833 *self
1834 }
1835}
1836#[repr(C)]
04454e1e 1837#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
1838pub struct DWRITE_STRIKETHROUGH {
1839 pub width: f32,
1840 pub thickness: f32,
1841 pub offset: f32,
1842 pub readingDirection: DWRITE_READING_DIRECTION,
1843 pub flowDirection: DWRITE_FLOW_DIRECTION,
04454e1e 1844 pub localeName: ::windows_sys::core::PCWSTR,
5e7ed085
FG
1845 pub measuringMode: DWRITE_MEASURING_MODE,
1846}
5e7ed085 1847impl ::core::marker::Copy for DWRITE_STRIKETHROUGH {}
5e7ed085
FG
1848impl ::core::clone::Clone for DWRITE_STRIKETHROUGH {
1849 fn clone(&self) -> Self {
1850 *self
1851 }
1852}
04454e1e 1853#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1854pub type DWRITE_TEXTURE_TYPE = i32;
04454e1e 1855#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1856pub const DWRITE_TEXTURE_ALIASED_1x1: DWRITE_TEXTURE_TYPE = 0i32;
04454e1e 1857#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1858pub const DWRITE_TEXTURE_CLEARTYPE_3x1: DWRITE_TEXTURE_TYPE = 1i32;
04454e1e 1859#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1860pub type DWRITE_TEXT_ALIGNMENT = i32;
04454e1e 1861#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1862pub const DWRITE_TEXT_ALIGNMENT_LEADING: DWRITE_TEXT_ALIGNMENT = 0i32;
04454e1e 1863#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1864pub const DWRITE_TEXT_ALIGNMENT_TRAILING: DWRITE_TEXT_ALIGNMENT = 1i32;
04454e1e 1865#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1866pub const DWRITE_TEXT_ALIGNMENT_CENTER: DWRITE_TEXT_ALIGNMENT = 2i32;
04454e1e 1867#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1868pub const DWRITE_TEXT_ALIGNMENT_JUSTIFIED: DWRITE_TEXT_ALIGNMENT = 3i32;
04454e1e 1869#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1870pub type DWRITE_TEXT_ANTIALIAS_MODE = i32;
04454e1e 1871#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1872pub const DWRITE_TEXT_ANTIALIAS_MODE_CLEARTYPE: DWRITE_TEXT_ANTIALIAS_MODE = 0i32;
04454e1e 1873#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
1874pub const DWRITE_TEXT_ANTIALIAS_MODE_GRAYSCALE: DWRITE_TEXT_ANTIALIAS_MODE = 1i32;
1875#[repr(C)]
04454e1e 1876#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
1877pub struct DWRITE_TEXT_METRICS {
1878 pub left: f32,
1879 pub top: f32,
1880 pub width: f32,
1881 pub widthIncludingTrailingWhitespace: f32,
1882 pub height: f32,
1883 pub layoutWidth: f32,
1884 pub layoutHeight: f32,
1885 pub maxBidiReorderingDepth: u32,
1886 pub lineCount: u32,
1887}
1888impl ::core::marker::Copy for DWRITE_TEXT_METRICS {}
1889impl ::core::clone::Clone for DWRITE_TEXT_METRICS {
1890 fn clone(&self) -> Self {
1891 *self
1892 }
1893}
1894#[repr(C)]
04454e1e 1895#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
1896pub struct DWRITE_TEXT_METRICS1 {
1897 pub Base: DWRITE_TEXT_METRICS,
1898 pub heightIncludingTrailingWhitespace: f32,
1899}
1900impl ::core::marker::Copy for DWRITE_TEXT_METRICS1 {}
1901impl ::core::clone::Clone for DWRITE_TEXT_METRICS1 {
1902 fn clone(&self) -> Self {
1903 *self
1904 }
1905}
1906#[repr(C)]
04454e1e 1907#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
1908pub struct DWRITE_TEXT_RANGE {
1909 pub startPosition: u32,
1910 pub length: u32,
1911}
1912impl ::core::marker::Copy for DWRITE_TEXT_RANGE {}
1913impl ::core::clone::Clone for DWRITE_TEXT_RANGE {
1914 fn clone(&self) -> Self {
1915 *self
1916 }
1917}
1918#[repr(C)]
04454e1e 1919#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
1920pub struct DWRITE_TRIMMING {
1921 pub granularity: DWRITE_TRIMMING_GRANULARITY,
1922 pub delimiter: u32,
1923 pub delimiterCount: u32,
1924}
1925impl ::core::marker::Copy for DWRITE_TRIMMING {}
1926impl ::core::clone::Clone for DWRITE_TRIMMING {
1927 fn clone(&self) -> Self {
1928 *self
1929 }
1930}
04454e1e 1931#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1932pub type DWRITE_TRIMMING_GRANULARITY = i32;
04454e1e 1933#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1934pub const DWRITE_TRIMMING_GRANULARITY_NONE: DWRITE_TRIMMING_GRANULARITY = 0i32;
04454e1e 1935#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1936pub const DWRITE_TRIMMING_GRANULARITY_CHARACTER: DWRITE_TRIMMING_GRANULARITY = 1i32;
04454e1e 1937#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
1938pub const DWRITE_TRIMMING_GRANULARITY_WORD: DWRITE_TRIMMING_GRANULARITY = 2i32;
1939#[repr(C)]
04454e1e 1940#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
1941pub struct DWRITE_TYPOGRAPHIC_FEATURES {
1942 pub features: *mut DWRITE_FONT_FEATURE,
1943 pub featureCount: u32,
1944}
1945impl ::core::marker::Copy for DWRITE_TYPOGRAPHIC_FEATURES {}
1946impl ::core::clone::Clone for DWRITE_TYPOGRAPHIC_FEATURES {
1947 fn clone(&self) -> Self {
1948 *self
1949 }
1950}
1951#[repr(C)]
04454e1e 1952#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
1953pub struct DWRITE_UNDERLINE {
1954 pub width: f32,
1955 pub thickness: f32,
1956 pub offset: f32,
1957 pub runHeight: f32,
1958 pub readingDirection: DWRITE_READING_DIRECTION,
1959 pub flowDirection: DWRITE_FLOW_DIRECTION,
04454e1e 1960 pub localeName: ::windows_sys::core::PCWSTR,
5e7ed085
FG
1961 pub measuringMode: DWRITE_MEASURING_MODE,
1962}
5e7ed085 1963impl ::core::marker::Copy for DWRITE_UNDERLINE {}
5e7ed085
FG
1964impl ::core::clone::Clone for DWRITE_UNDERLINE {
1965 fn clone(&self) -> Self {
1966 *self
1967 }
1968}
1969#[repr(C)]
04454e1e 1970#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
1971pub struct DWRITE_UNICODE_RANGE {
1972 pub first: u32,
1973 pub last: u32,
1974}
1975impl ::core::marker::Copy for DWRITE_UNICODE_RANGE {}
1976impl ::core::clone::Clone for DWRITE_UNICODE_RANGE {
1977 fn clone(&self) -> Self {
1978 *self
1979 }
1980}
04454e1e 1981#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1982pub type DWRITE_VERTICAL_GLYPH_ORIENTATION = i32;
04454e1e 1983#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1984pub const DWRITE_VERTICAL_GLYPH_ORIENTATION_DEFAULT: DWRITE_VERTICAL_GLYPH_ORIENTATION = 0i32;
04454e1e 1985#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1986pub const DWRITE_VERTICAL_GLYPH_ORIENTATION_STACKED: DWRITE_VERTICAL_GLYPH_ORIENTATION = 1i32;
04454e1e 1987#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1988pub type DWRITE_WORD_WRAPPING = i32;
04454e1e 1989#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1990pub const DWRITE_WORD_WRAPPING_WRAP: DWRITE_WORD_WRAPPING = 0i32;
04454e1e 1991#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1992pub const DWRITE_WORD_WRAPPING_NO_WRAP: DWRITE_WORD_WRAPPING = 1i32;
04454e1e 1993#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1994pub const DWRITE_WORD_WRAPPING_EMERGENCY_BREAK: DWRITE_WORD_WRAPPING = 2i32;
04454e1e 1995#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1996pub const DWRITE_WORD_WRAPPING_WHOLE_WORD: DWRITE_WORD_WRAPPING = 3i32;
04454e1e 1997#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085 1998pub const DWRITE_WORD_WRAPPING_CHARACTER: DWRITE_WORD_WRAPPING = 4i32;
04454e1e 1999#[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"]
5e7ed085
FG
2000pub const FACILITY_DWRITE: u32 = 2200u32;
2001pub type IDWriteAsyncResult = *mut ::core::ffi::c_void;
2002pub type IDWriteBitmapRenderTarget = *mut ::core::ffi::c_void;
2003pub type IDWriteBitmapRenderTarget1 = *mut ::core::ffi::c_void;
2004pub type IDWriteColorGlyphRunEnumerator = *mut ::core::ffi::c_void;
2005pub type IDWriteColorGlyphRunEnumerator1 = *mut ::core::ffi::c_void;
2006pub type IDWriteFactory = *mut ::core::ffi::c_void;
2007pub type IDWriteFactory1 = *mut ::core::ffi::c_void;
2008pub type IDWriteFactory2 = *mut ::core::ffi::c_void;
2009pub type IDWriteFactory3 = *mut ::core::ffi::c_void;
2010pub type IDWriteFactory4 = *mut ::core::ffi::c_void;
2011pub type IDWriteFactory5 = *mut ::core::ffi::c_void;
2012pub type IDWriteFactory6 = *mut ::core::ffi::c_void;
2013pub type IDWriteFactory7 = *mut ::core::ffi::c_void;
2014pub type IDWriteFont = *mut ::core::ffi::c_void;
2015pub type IDWriteFont1 = *mut ::core::ffi::c_void;
2016pub type IDWriteFont2 = *mut ::core::ffi::c_void;
2017pub type IDWriteFont3 = *mut ::core::ffi::c_void;
2018pub type IDWriteFontCollection = *mut ::core::ffi::c_void;
2019pub type IDWriteFontCollection1 = *mut ::core::ffi::c_void;
2020pub type IDWriteFontCollection2 = *mut ::core::ffi::c_void;
2021pub type IDWriteFontCollection3 = *mut ::core::ffi::c_void;
2022pub type IDWriteFontCollectionLoader = *mut ::core::ffi::c_void;
2023pub type IDWriteFontDownloadListener = *mut ::core::ffi::c_void;
2024pub type IDWriteFontDownloadQueue = *mut ::core::ffi::c_void;
2025pub type IDWriteFontFace = *mut ::core::ffi::c_void;
2026pub type IDWriteFontFace1 = *mut ::core::ffi::c_void;
2027pub type IDWriteFontFace2 = *mut ::core::ffi::c_void;
2028pub type IDWriteFontFace3 = *mut ::core::ffi::c_void;
2029pub type IDWriteFontFace4 = *mut ::core::ffi::c_void;
2030pub type IDWriteFontFace5 = *mut ::core::ffi::c_void;
2031pub type IDWriteFontFace6 = *mut ::core::ffi::c_void;
2032pub type IDWriteFontFaceReference = *mut ::core::ffi::c_void;
2033pub type IDWriteFontFaceReference1 = *mut ::core::ffi::c_void;
2034pub type IDWriteFontFallback = *mut ::core::ffi::c_void;
2035pub type IDWriteFontFallback1 = *mut ::core::ffi::c_void;
2036pub type IDWriteFontFallbackBuilder = *mut ::core::ffi::c_void;
2037pub type IDWriteFontFamily = *mut ::core::ffi::c_void;
2038pub type IDWriteFontFamily1 = *mut ::core::ffi::c_void;
2039pub type IDWriteFontFamily2 = *mut ::core::ffi::c_void;
2040pub type IDWriteFontFile = *mut ::core::ffi::c_void;
2041pub type IDWriteFontFileEnumerator = *mut ::core::ffi::c_void;
2042pub type IDWriteFontFileLoader = *mut ::core::ffi::c_void;
2043pub type IDWriteFontFileStream = *mut ::core::ffi::c_void;
2044pub type IDWriteFontList = *mut ::core::ffi::c_void;
2045pub type IDWriteFontList1 = *mut ::core::ffi::c_void;
2046pub type IDWriteFontList2 = *mut ::core::ffi::c_void;
2047pub type IDWriteFontResource = *mut ::core::ffi::c_void;
2048pub type IDWriteFontSet = *mut ::core::ffi::c_void;
2049pub type IDWriteFontSet1 = *mut ::core::ffi::c_void;
2050pub type IDWriteFontSet2 = *mut ::core::ffi::c_void;
2051pub type IDWriteFontSet3 = *mut ::core::ffi::c_void;
2052pub type IDWriteFontSetBuilder = *mut ::core::ffi::c_void;
2053pub type IDWriteFontSetBuilder1 = *mut ::core::ffi::c_void;
2054pub type IDWriteFontSetBuilder2 = *mut ::core::ffi::c_void;
2055pub type IDWriteGdiInterop = *mut ::core::ffi::c_void;
2056pub type IDWriteGdiInterop1 = *mut ::core::ffi::c_void;
2057pub type IDWriteGlyphRunAnalysis = *mut ::core::ffi::c_void;
2058pub type IDWriteInMemoryFontFileLoader = *mut ::core::ffi::c_void;
2059pub type IDWriteInlineObject = *mut ::core::ffi::c_void;
2060pub type IDWriteLocalFontFileLoader = *mut ::core::ffi::c_void;
2061pub type IDWriteLocalizedStrings = *mut ::core::ffi::c_void;
2062pub type IDWriteNumberSubstitution = *mut ::core::ffi::c_void;
2063pub type IDWritePixelSnapping = *mut ::core::ffi::c_void;
2064pub type IDWriteRemoteFontFileLoader = *mut ::core::ffi::c_void;
2065pub type IDWriteRemoteFontFileStream = *mut ::core::ffi::c_void;
2066pub type IDWriteRenderingParams = *mut ::core::ffi::c_void;
2067pub type IDWriteRenderingParams1 = *mut ::core::ffi::c_void;
2068pub type IDWriteRenderingParams2 = *mut ::core::ffi::c_void;
2069pub type IDWriteRenderingParams3 = *mut ::core::ffi::c_void;
2070pub type IDWriteStringList = *mut ::core::ffi::c_void;
2071pub type IDWriteTextAnalysisSink = *mut ::core::ffi::c_void;
2072pub type IDWriteTextAnalysisSink1 = *mut ::core::ffi::c_void;
2073pub type IDWriteTextAnalysisSource = *mut ::core::ffi::c_void;
2074pub type IDWriteTextAnalysisSource1 = *mut ::core::ffi::c_void;
2075pub type IDWriteTextAnalyzer = *mut ::core::ffi::c_void;
2076pub type IDWriteTextAnalyzer1 = *mut ::core::ffi::c_void;
2077pub type IDWriteTextAnalyzer2 = *mut ::core::ffi::c_void;
2078pub type IDWriteTextFormat = *mut ::core::ffi::c_void;
2079pub type IDWriteTextFormat1 = *mut ::core::ffi::c_void;
2080pub type IDWriteTextFormat2 = *mut ::core::ffi::c_void;
2081pub type IDWriteTextFormat3 = *mut ::core::ffi::c_void;
2082pub type IDWriteTextLayout = *mut ::core::ffi::c_void;
2083pub type IDWriteTextLayout1 = *mut ::core::ffi::c_void;
2084pub type IDWriteTextLayout2 = *mut ::core::ffi::c_void;
2085pub type IDWriteTextLayout3 = *mut ::core::ffi::c_void;
2086pub type IDWriteTextLayout4 = *mut ::core::ffi::c_void;
2087pub type IDWriteTextRenderer = *mut ::core::ffi::c_void;
2088pub type IDWriteTextRenderer1 = *mut ::core::ffi::c_void;
2089pub type IDWriteTypography = *mut ::core::ffi::c_void;