1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] 2 #[link(name = "windows")] 3 extern "system" { DWriteCreateFactory(factorytype: DWRITE_FACTORY_TYPE, iid: *const ::windows_sys::core::GUID, factory: *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT4 pub fn DWriteCreateFactory(factorytype: DWRITE_FACTORY_TYPE, iid: *const ::windows_sys::core::GUID, factory: *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; 5 } 6 pub const DWRITE_ALPHA_MAX: u32 = 255u32; 7 pub type DWRITE_AUTOMATIC_FONT_AXES = u32; 8 pub const DWRITE_AUTOMATIC_FONT_AXES_NONE: DWRITE_AUTOMATIC_FONT_AXES = 0u32; 9 pub const DWRITE_AUTOMATIC_FONT_AXES_OPTICAL_SIZE: DWRITE_AUTOMATIC_FONT_AXES = 1u32; 10 pub type DWRITE_BASELINE = i32; 11 pub const DWRITE_BASELINE_DEFAULT: DWRITE_BASELINE = 0i32; 12 pub const DWRITE_BASELINE_ROMAN: DWRITE_BASELINE = 1i32; 13 pub const DWRITE_BASELINE_CENTRAL: DWRITE_BASELINE = 2i32; 14 pub const DWRITE_BASELINE_MATH: DWRITE_BASELINE = 3i32; 15 pub const DWRITE_BASELINE_HANGING: DWRITE_BASELINE = 4i32; 16 pub const DWRITE_BASELINE_IDEOGRAPHIC_BOTTOM: DWRITE_BASELINE = 5i32; 17 pub const DWRITE_BASELINE_IDEOGRAPHIC_TOP: DWRITE_BASELINE = 6i32; 18 pub const DWRITE_BASELINE_MINIMUM: DWRITE_BASELINE = 7i32; 19 pub const DWRITE_BASELINE_MAXIMUM: DWRITE_BASELINE = 8i32; 20 pub type DWRITE_BREAK_CONDITION = i32; 21 pub const DWRITE_BREAK_CONDITION_NEUTRAL: DWRITE_BREAK_CONDITION = 0i32; 22 pub const DWRITE_BREAK_CONDITION_CAN_BREAK: DWRITE_BREAK_CONDITION = 1i32; 23 pub const DWRITE_BREAK_CONDITION_MAY_NOT_BREAK: DWRITE_BREAK_CONDITION = 2i32; 24 pub const DWRITE_BREAK_CONDITION_MUST_BREAK: DWRITE_BREAK_CONDITION = 3i32; 25 #[repr(C)] 26 pub struct DWRITE_CARET_METRICS { 27 pub slopeRise: i16, 28 pub slopeRun: i16, 29 pub offset: i16, 30 } 31 impl ::core::marker::Copy for DWRITE_CARET_METRICS {} 32 impl ::core::clone::Clone for DWRITE_CARET_METRICS { clone(&self) -> Self33 fn clone(&self) -> Self { 34 *self 35 } 36 } 37 #[repr(C)] 38 pub struct DWRITE_CLUSTER_METRICS { 39 pub width: f32, 40 pub length: u16, 41 pub _bitfield: u16, 42 } 43 impl ::core::marker::Copy for DWRITE_CLUSTER_METRICS {} 44 impl ::core::clone::Clone for DWRITE_CLUSTER_METRICS { clone(&self) -> Self45 fn clone(&self) -> Self { 46 *self 47 } 48 } 49 #[repr(C)] 50 pub struct DWRITE_COLOR_F { 51 pub r: f32, 52 pub g: f32, 53 pub b: f32, 54 pub a: f32, 55 } 56 impl ::core::marker::Copy for DWRITE_COLOR_F {} 57 impl ::core::clone::Clone for DWRITE_COLOR_F { clone(&self) -> Self58 fn clone(&self) -> Self { 59 *self 60 } 61 } 62 #[repr(C)] 63 #[cfg(feature = "Win32_Foundation")] 64 pub struct DWRITE_COLOR_GLYPH_RUN { 65 pub glyphRun: DWRITE_GLYPH_RUN, 66 pub glyphRunDescription: *mut DWRITE_GLYPH_RUN_DESCRIPTION, 67 pub baselineOriginX: f32, 68 pub baselineOriginY: f32, 69 pub runColor: DWRITE_COLOR_F, 70 pub paletteIndex: u16, 71 } 72 #[cfg(feature = "Win32_Foundation")] 73 impl ::core::marker::Copy for DWRITE_COLOR_GLYPH_RUN {} 74 #[cfg(feature = "Win32_Foundation")] 75 impl ::core::clone::Clone for DWRITE_COLOR_GLYPH_RUN { clone(&self) -> Self76 fn clone(&self) -> Self { 77 *self 78 } 79 } 80 #[repr(C)] 81 #[cfg(feature = "Win32_Foundation")] 82 pub struct DWRITE_COLOR_GLYPH_RUN1 { 83 pub Base: DWRITE_COLOR_GLYPH_RUN, 84 pub glyphImageFormat: DWRITE_GLYPH_IMAGE_FORMATS, 85 pub measuringMode: DWRITE_MEASURING_MODE, 86 } 87 #[cfg(feature = "Win32_Foundation")] 88 impl ::core::marker::Copy for DWRITE_COLOR_GLYPH_RUN1 {} 89 #[cfg(feature = "Win32_Foundation")] 90 impl ::core::clone::Clone for DWRITE_COLOR_GLYPH_RUN1 { clone(&self) -> Self91 fn clone(&self) -> Self { 92 *self 93 } 94 } 95 pub type DWRITE_CONTAINER_TYPE = i32; 96 pub const DWRITE_CONTAINER_TYPE_UNKNOWN: DWRITE_CONTAINER_TYPE = 0i32; 97 pub const DWRITE_CONTAINER_TYPE_WOFF: DWRITE_CONTAINER_TYPE = 1i32; 98 pub const DWRITE_CONTAINER_TYPE_WOFF2: DWRITE_CONTAINER_TYPE = 2i32; 99 pub const DWRITE_ERR_BASE: u32 = 20480u32; 100 pub const DWRITE_E_DOWNLOADCANCELLED: ::windows_sys::core::HRESULT = -2003283954i32; 101 pub const DWRITE_E_DOWNLOADFAILED: ::windows_sys::core::HRESULT = -2003283953i32; 102 pub const DWRITE_E_REMOTEFONT: ::windows_sys::core::HRESULT = -2003283955i32; 103 pub const DWRITE_E_TOOMANYDOWNLOADS: ::windows_sys::core::HRESULT = -2003283952i32; 104 pub type DWRITE_FACTORY_TYPE = i32; 105 pub const DWRITE_FACTORY_TYPE_SHARED: DWRITE_FACTORY_TYPE = 0i32; 106 pub const DWRITE_FACTORY_TYPE_ISOLATED: DWRITE_FACTORY_TYPE = 1i32; 107 #[repr(C)] 108 pub struct DWRITE_FILE_FRAGMENT { 109 pub fileOffset: u64, 110 pub fragmentSize: u64, 111 } 112 impl ::core::marker::Copy for DWRITE_FILE_FRAGMENT {} 113 impl ::core::clone::Clone for DWRITE_FILE_FRAGMENT { clone(&self) -> Self114 fn clone(&self) -> Self { 115 *self 116 } 117 } 118 pub type DWRITE_FLOW_DIRECTION = i32; 119 pub const DWRITE_FLOW_DIRECTION_TOP_TO_BOTTOM: DWRITE_FLOW_DIRECTION = 0i32; 120 pub const DWRITE_FLOW_DIRECTION_BOTTOM_TO_TOP: DWRITE_FLOW_DIRECTION = 1i32; 121 pub const DWRITE_FLOW_DIRECTION_LEFT_TO_RIGHT: DWRITE_FLOW_DIRECTION = 2i32; 122 pub const DWRITE_FLOW_DIRECTION_RIGHT_TO_LEFT: DWRITE_FLOW_DIRECTION = 3i32; 123 pub type DWRITE_FONT_AXIS_ATTRIBUTES = u32; 124 pub const DWRITE_FONT_AXIS_ATTRIBUTES_NONE: DWRITE_FONT_AXIS_ATTRIBUTES = 0u32; 125 pub const DWRITE_FONT_AXIS_ATTRIBUTES_VARIABLE: DWRITE_FONT_AXIS_ATTRIBUTES = 1u32; 126 pub const DWRITE_FONT_AXIS_ATTRIBUTES_HIDDEN: DWRITE_FONT_AXIS_ATTRIBUTES = 2u32; 127 #[repr(C)] 128 pub struct DWRITE_FONT_AXIS_RANGE { 129 pub axisTag: DWRITE_FONT_AXIS_TAG, 130 pub minValue: f32, 131 pub maxValue: f32, 132 } 133 impl ::core::marker::Copy for DWRITE_FONT_AXIS_RANGE {} 134 impl ::core::clone::Clone for DWRITE_FONT_AXIS_RANGE { clone(&self) -> Self135 fn clone(&self) -> Self { 136 *self 137 } 138 } 139 pub type DWRITE_FONT_AXIS_TAG = u32; 140 pub const DWRITE_FONT_AXIS_TAG_WEIGHT: DWRITE_FONT_AXIS_TAG = 1952999287u32; 141 pub const DWRITE_FONT_AXIS_TAG_WIDTH: DWRITE_FONT_AXIS_TAG = 1752458359u32; 142 pub const DWRITE_FONT_AXIS_TAG_SLANT: DWRITE_FONT_AXIS_TAG = 1953393779u32; 143 pub const DWRITE_FONT_AXIS_TAG_OPTICAL_SIZE: DWRITE_FONT_AXIS_TAG = 2054385775u32; 144 pub const DWRITE_FONT_AXIS_TAG_ITALIC: DWRITE_FONT_AXIS_TAG = 1818326121u32; 145 #[repr(C)] 146 pub struct DWRITE_FONT_AXIS_VALUE { 147 pub axisTag: DWRITE_FONT_AXIS_TAG, 148 pub value: f32, 149 } 150 impl ::core::marker::Copy for DWRITE_FONT_AXIS_VALUE {} 151 impl ::core::clone::Clone for DWRITE_FONT_AXIS_VALUE { clone(&self) -> Self152 fn clone(&self) -> Self { 153 *self 154 } 155 } 156 pub type DWRITE_FONT_FACE_TYPE = i32; 157 pub const DWRITE_FONT_FACE_TYPE_CFF: DWRITE_FONT_FACE_TYPE = 0i32; 158 pub const DWRITE_FONT_FACE_TYPE_TRUETYPE: DWRITE_FONT_FACE_TYPE = 1i32; 159 pub const DWRITE_FONT_FACE_TYPE_OPENTYPE_COLLECTION: DWRITE_FONT_FACE_TYPE = 2i32; 160 pub const DWRITE_FONT_FACE_TYPE_TYPE1: DWRITE_FONT_FACE_TYPE = 3i32; 161 pub const DWRITE_FONT_FACE_TYPE_VECTOR: DWRITE_FONT_FACE_TYPE = 4i32; 162 pub const DWRITE_FONT_FACE_TYPE_BITMAP: DWRITE_FONT_FACE_TYPE = 5i32; 163 pub const DWRITE_FONT_FACE_TYPE_UNKNOWN: DWRITE_FONT_FACE_TYPE = 6i32; 164 pub const DWRITE_FONT_FACE_TYPE_RAW_CFF: DWRITE_FONT_FACE_TYPE = 7i32; 165 pub const DWRITE_FONT_FACE_TYPE_TRUETYPE_COLLECTION: DWRITE_FONT_FACE_TYPE = 2i32; 166 pub type DWRITE_FONT_FAMILY_MODEL = i32; 167 pub const DWRITE_FONT_FAMILY_MODEL_TYPOGRAPHIC: DWRITE_FONT_FAMILY_MODEL = 0i32; 168 pub const DWRITE_FONT_FAMILY_MODEL_WEIGHT_STRETCH_STYLE: DWRITE_FONT_FAMILY_MODEL = 1i32; 169 #[repr(C)] 170 pub struct DWRITE_FONT_FEATURE { 171 pub nameTag: DWRITE_FONT_FEATURE_TAG, 172 pub parameter: u32, 173 } 174 impl ::core::marker::Copy for DWRITE_FONT_FEATURE {} 175 impl ::core::clone::Clone for DWRITE_FONT_FEATURE { clone(&self) -> Self176 fn clone(&self) -> Self { 177 *self 178 } 179 } 180 pub type DWRITE_FONT_FEATURE_TAG = u32; 181 pub const DWRITE_FONT_FEATURE_TAG_ALTERNATIVE_FRACTIONS: DWRITE_FONT_FEATURE_TAG = 1668441697u32; 182 pub const DWRITE_FONT_FEATURE_TAG_PETITE_CAPITALS_FROM_CAPITALS: DWRITE_FONT_FEATURE_TAG = 1668297315u32; 183 pub const DWRITE_FONT_FEATURE_TAG_SMALL_CAPITALS_FROM_CAPITALS: DWRITE_FONT_FEATURE_TAG = 1668493923u32; 184 pub const DWRITE_FONT_FEATURE_TAG_CONTEXTUAL_ALTERNATES: DWRITE_FONT_FEATURE_TAG = 1953259875u32; 185 pub const DWRITE_FONT_FEATURE_TAG_CASE_SENSITIVE_FORMS: DWRITE_FONT_FEATURE_TAG = 1702060387u32; 186 pub const DWRITE_FONT_FEATURE_TAG_GLYPH_COMPOSITION_DECOMPOSITION: DWRITE_FONT_FEATURE_TAG = 1886217059u32; 187 pub const DWRITE_FONT_FEATURE_TAG_CONTEXTUAL_LIGATURES: DWRITE_FONT_FEATURE_TAG = 1734962275u32; 188 pub const DWRITE_FONT_FEATURE_TAG_CAPITAL_SPACING: DWRITE_FONT_FEATURE_TAG = 1886613603u32; 189 pub const DWRITE_FONT_FEATURE_TAG_CONTEXTUAL_SWASH: DWRITE_FONT_FEATURE_TAG = 1752658787u32; 190 pub const DWRITE_FONT_FEATURE_TAG_CURSIVE_POSITIONING: DWRITE_FONT_FEATURE_TAG = 1936880995u32; 191 pub const DWRITE_FONT_FEATURE_TAG_DEFAULT: DWRITE_FONT_FEATURE_TAG = 1953261156u32; 192 pub const DWRITE_FONT_FEATURE_TAG_DISCRETIONARY_LIGATURES: DWRITE_FONT_FEATURE_TAG = 1734962276u32; 193 pub const DWRITE_FONT_FEATURE_TAG_EXPERT_FORMS: DWRITE_FONT_FEATURE_TAG = 1953527909u32; 194 pub const DWRITE_FONT_FEATURE_TAG_FRACTIONS: DWRITE_FONT_FEATURE_TAG = 1667330662u32; 195 pub const DWRITE_FONT_FEATURE_TAG_FULL_WIDTH: DWRITE_FONT_FEATURE_TAG = 1684633446u32; 196 pub const DWRITE_FONT_FEATURE_TAG_HALF_FORMS: DWRITE_FONT_FEATURE_TAG = 1718378856u32; 197 pub const DWRITE_FONT_FEATURE_TAG_HALANT_FORMS: DWRITE_FONT_FEATURE_TAG = 1852596584u32; 198 pub const DWRITE_FONT_FEATURE_TAG_ALTERNATE_HALF_WIDTH: DWRITE_FONT_FEATURE_TAG = 1953259880u32; 199 pub const DWRITE_FONT_FEATURE_TAG_HISTORICAL_FORMS: DWRITE_FONT_FEATURE_TAG = 1953720680u32; 200 pub const DWRITE_FONT_FEATURE_TAG_HORIZONTAL_KANA_ALTERNATES: DWRITE_FONT_FEATURE_TAG = 1634626408u32; 201 pub const DWRITE_FONT_FEATURE_TAG_HISTORICAL_LIGATURES: DWRITE_FONT_FEATURE_TAG = 1734962280u32; 202 pub const DWRITE_FONT_FEATURE_TAG_HALF_WIDTH: DWRITE_FONT_FEATURE_TAG = 1684633448u32; 203 pub const DWRITE_FONT_FEATURE_TAG_HOJO_KANJI_FORMS: DWRITE_FONT_FEATURE_TAG = 1869246312u32; 204 pub const DWRITE_FONT_FEATURE_TAG_JIS04_FORMS: DWRITE_FONT_FEATURE_TAG = 875589738u32; 205 pub const DWRITE_FONT_FEATURE_TAG_JIS78_FORMS: DWRITE_FONT_FEATURE_TAG = 943157354u32; 206 pub const DWRITE_FONT_FEATURE_TAG_JIS83_FORMS: DWRITE_FONT_FEATURE_TAG = 859336810u32; 207 pub const DWRITE_FONT_FEATURE_TAG_JIS90_FORMS: DWRITE_FONT_FEATURE_TAG = 809070698u32; 208 pub const DWRITE_FONT_FEATURE_TAG_KERNING: DWRITE_FONT_FEATURE_TAG = 1852990827u32; 209 pub const DWRITE_FONT_FEATURE_TAG_STANDARD_LIGATURES: DWRITE_FONT_FEATURE_TAG = 1634167148u32; 210 pub const DWRITE_FONT_FEATURE_TAG_LINING_FIGURES: DWRITE_FONT_FEATURE_TAG = 1836412524u32; 211 pub const DWRITE_FONT_FEATURE_TAG_LOCALIZED_FORMS: DWRITE_FONT_FEATURE_TAG = 1818455916u32; 212 pub const DWRITE_FONT_FEATURE_TAG_MARK_POSITIONING: DWRITE_FONT_FEATURE_TAG = 1802658157u32; 213 pub const DWRITE_FONT_FEATURE_TAG_MATHEMATICAL_GREEK: DWRITE_FONT_FEATURE_TAG = 1802659693u32; 214 pub const DWRITE_FONT_FEATURE_TAG_MARK_TO_MARK_POSITIONING: DWRITE_FONT_FEATURE_TAG = 1802333037u32; 215 pub const DWRITE_FONT_FEATURE_TAG_ALTERNATE_ANNOTATION_FORMS: DWRITE_FONT_FEATURE_TAG = 1953259886u32; 216 pub const DWRITE_FONT_FEATURE_TAG_NLC_KANJI_FORMS: DWRITE_FONT_FEATURE_TAG = 1801677934u32; 217 pub const DWRITE_FONT_FEATURE_TAG_OLD_STYLE_FIGURES: DWRITE_FONT_FEATURE_TAG = 1836412527u32; 218 pub const DWRITE_FONT_FEATURE_TAG_ORDINALS: DWRITE_FONT_FEATURE_TAG = 1852076655u32; 219 pub const DWRITE_FONT_FEATURE_TAG_PROPORTIONAL_ALTERNATE_WIDTH: DWRITE_FONT_FEATURE_TAG = 1953259888u32; 220 pub const DWRITE_FONT_FEATURE_TAG_PETITE_CAPITALS: DWRITE_FONT_FEATURE_TAG = 1885430640u32; 221 pub const DWRITE_FONT_FEATURE_TAG_PROPORTIONAL_FIGURES: DWRITE_FONT_FEATURE_TAG = 1836412528u32; 222 pub const DWRITE_FONT_FEATURE_TAG_PROPORTIONAL_WIDTHS: DWRITE_FONT_FEATURE_TAG = 1684633456u32; 223 pub const DWRITE_FONT_FEATURE_TAG_QUARTER_WIDTHS: DWRITE_FONT_FEATURE_TAG = 1684633457u32; 224 pub const DWRITE_FONT_FEATURE_TAG_REQUIRED_LIGATURES: DWRITE_FONT_FEATURE_TAG = 1734962290u32; 225 pub const DWRITE_FONT_FEATURE_TAG_RUBY_NOTATION_FORMS: DWRITE_FONT_FEATURE_TAG = 2036495730u32; 226 pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_ALTERNATES: DWRITE_FONT_FEATURE_TAG = 1953259891u32; 227 pub const DWRITE_FONT_FEATURE_TAG_SCIENTIFIC_INFERIORS: DWRITE_FONT_FEATURE_TAG = 1718511987u32; 228 pub const DWRITE_FONT_FEATURE_TAG_SMALL_CAPITALS: DWRITE_FONT_FEATURE_TAG = 1885564275u32; 229 pub const DWRITE_FONT_FEATURE_TAG_SIMPLIFIED_FORMS: DWRITE_FONT_FEATURE_TAG = 1819307379u32; 230 pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_1: DWRITE_FONT_FEATURE_TAG = 825258867u32; 231 pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_2: DWRITE_FONT_FEATURE_TAG = 842036083u32; 232 pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_3: DWRITE_FONT_FEATURE_TAG = 858813299u32; 233 pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_4: DWRITE_FONT_FEATURE_TAG = 875590515u32; 234 pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_5: DWRITE_FONT_FEATURE_TAG = 892367731u32; 235 pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_6: DWRITE_FONT_FEATURE_TAG = 909144947u32; 236 pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_7: DWRITE_FONT_FEATURE_TAG = 925922163u32; 237 pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_8: DWRITE_FONT_FEATURE_TAG = 942699379u32; 238 pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_9: DWRITE_FONT_FEATURE_TAG = 959476595u32; 239 pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_10: DWRITE_FONT_FEATURE_TAG = 808547187u32; 240 pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_11: DWRITE_FONT_FEATURE_TAG = 825324403u32; 241 pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_12: DWRITE_FONT_FEATURE_TAG = 842101619u32; 242 pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_13: DWRITE_FONT_FEATURE_TAG = 858878835u32; 243 pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_14: DWRITE_FONT_FEATURE_TAG = 875656051u32; 244 pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_15: DWRITE_FONT_FEATURE_TAG = 892433267u32; 245 pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_16: DWRITE_FONT_FEATURE_TAG = 909210483u32; 246 pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_17: DWRITE_FONT_FEATURE_TAG = 925987699u32; 247 pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_18: DWRITE_FONT_FEATURE_TAG = 942764915u32; 248 pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_19: DWRITE_FONT_FEATURE_TAG = 959542131u32; 249 pub const DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_20: DWRITE_FONT_FEATURE_TAG = 808612723u32; 250 pub const DWRITE_FONT_FEATURE_TAG_SUBSCRIPT: DWRITE_FONT_FEATURE_TAG = 1935832435u32; 251 pub const DWRITE_FONT_FEATURE_TAG_SUPERSCRIPT: DWRITE_FONT_FEATURE_TAG = 1936749939u32; 252 pub const DWRITE_FONT_FEATURE_TAG_SWASH: DWRITE_FONT_FEATURE_TAG = 1752397683u32; 253 pub const DWRITE_FONT_FEATURE_TAG_TITLING: DWRITE_FONT_FEATURE_TAG = 1819568500u32; 254 pub const DWRITE_FONT_FEATURE_TAG_TRADITIONAL_NAME_FORMS: DWRITE_FONT_FEATURE_TAG = 1835101812u32; 255 pub const DWRITE_FONT_FEATURE_TAG_TABULAR_FIGURES: DWRITE_FONT_FEATURE_TAG = 1836412532u32; 256 pub const DWRITE_FONT_FEATURE_TAG_TRADITIONAL_FORMS: DWRITE_FONT_FEATURE_TAG = 1684107892u32; 257 pub const DWRITE_FONT_FEATURE_TAG_THIRD_WIDTHS: DWRITE_FONT_FEATURE_TAG = 1684633460u32; 258 pub const DWRITE_FONT_FEATURE_TAG_UNICASE: DWRITE_FONT_FEATURE_TAG = 1667853941u32; 259 pub const DWRITE_FONT_FEATURE_TAG_VERTICAL_WRITING: DWRITE_FONT_FEATURE_TAG = 1953654134u32; 260 pub const DWRITE_FONT_FEATURE_TAG_VERTICAL_ALTERNATES_AND_ROTATION: DWRITE_FONT_FEATURE_TAG = 846492278u32; 261 pub const DWRITE_FONT_FEATURE_TAG_SLASHED_ZERO: DWRITE_FONT_FEATURE_TAG = 1869768058u32; 262 pub type DWRITE_FONT_FILE_TYPE = i32; 263 pub const DWRITE_FONT_FILE_TYPE_UNKNOWN: DWRITE_FONT_FILE_TYPE = 0i32; 264 pub const DWRITE_FONT_FILE_TYPE_CFF: DWRITE_FONT_FILE_TYPE = 1i32; 265 pub const DWRITE_FONT_FILE_TYPE_TRUETYPE: DWRITE_FONT_FILE_TYPE = 2i32; 266 pub const DWRITE_FONT_FILE_TYPE_OPENTYPE_COLLECTION: DWRITE_FONT_FILE_TYPE = 3i32; 267 pub const DWRITE_FONT_FILE_TYPE_TYPE1_PFM: DWRITE_FONT_FILE_TYPE = 4i32; 268 pub const DWRITE_FONT_FILE_TYPE_TYPE1_PFB: DWRITE_FONT_FILE_TYPE = 5i32; 269 pub const DWRITE_FONT_FILE_TYPE_VECTOR: DWRITE_FONT_FILE_TYPE = 6i32; 270 pub const DWRITE_FONT_FILE_TYPE_BITMAP: DWRITE_FONT_FILE_TYPE = 7i32; 271 pub const DWRITE_FONT_FILE_TYPE_TRUETYPE_COLLECTION: DWRITE_FONT_FILE_TYPE = 3i32; 272 pub type DWRITE_FONT_LINE_GAP_USAGE = i32; 273 pub const DWRITE_FONT_LINE_GAP_USAGE_DEFAULT: DWRITE_FONT_LINE_GAP_USAGE = 0i32; 274 pub const DWRITE_FONT_LINE_GAP_USAGE_DISABLED: DWRITE_FONT_LINE_GAP_USAGE = 1i32; 275 pub const DWRITE_FONT_LINE_GAP_USAGE_ENABLED: DWRITE_FONT_LINE_GAP_USAGE = 2i32; 276 #[repr(C)] 277 pub struct DWRITE_FONT_METRICS { 278 pub designUnitsPerEm: u16, 279 pub ascent: u16, 280 pub descent: u16, 281 pub lineGap: i16, 282 pub capHeight: u16, 283 pub xHeight: u16, 284 pub underlinePosition: i16, 285 pub underlineThickness: u16, 286 pub strikethroughPosition: i16, 287 pub strikethroughThickness: u16, 288 } 289 impl ::core::marker::Copy for DWRITE_FONT_METRICS {} 290 impl ::core::clone::Clone for DWRITE_FONT_METRICS { clone(&self) -> Self291 fn clone(&self) -> Self { 292 *self 293 } 294 } 295 #[repr(C)] 296 #[cfg(feature = "Win32_Foundation")] 297 pub struct DWRITE_FONT_METRICS1 { 298 pub __AnonymousBase_DWrite_1_L627_C38: DWRITE_FONT_METRICS, 299 pub glyphBoxLeft: i16, 300 pub glyphBoxTop: i16, 301 pub glyphBoxRight: i16, 302 pub glyphBoxBottom: i16, 303 pub subscriptPositionX: i16, 304 pub subscriptPositionY: i16, 305 pub subscriptSizeX: i16, 306 pub subscriptSizeY: i16, 307 pub superscriptPositionX: i16, 308 pub superscriptPositionY: i16, 309 pub superscriptSizeX: i16, 310 pub superscriptSizeY: i16, 311 pub hasTypographicMetrics: super::super::Foundation::BOOL, 312 } 313 #[cfg(feature = "Win32_Foundation")] 314 impl ::core::marker::Copy for DWRITE_FONT_METRICS1 {} 315 #[cfg(feature = "Win32_Foundation")] 316 impl ::core::clone::Clone for DWRITE_FONT_METRICS1 { clone(&self) -> Self317 fn clone(&self) -> Self { 318 *self 319 } 320 } 321 #[repr(C)] 322 #[cfg(feature = "Win32_Foundation")] 323 pub struct DWRITE_FONT_PROPERTY { 324 pub propertyId: DWRITE_FONT_PROPERTY_ID, 325 pub propertyValue: super::super::Foundation::PWSTR, 326 pub localeName: super::super::Foundation::PWSTR, 327 } 328 #[cfg(feature = "Win32_Foundation")] 329 impl ::core::marker::Copy for DWRITE_FONT_PROPERTY {} 330 #[cfg(feature = "Win32_Foundation")] 331 impl ::core::clone::Clone for DWRITE_FONT_PROPERTY { clone(&self) -> Self332 fn clone(&self) -> Self { 333 *self 334 } 335 } 336 pub type DWRITE_FONT_PROPERTY_ID = i32; 337 pub const DWRITE_FONT_PROPERTY_ID_NONE: DWRITE_FONT_PROPERTY_ID = 0i32; 338 pub const DWRITE_FONT_PROPERTY_ID_WEIGHT_STRETCH_STYLE_FAMILY_NAME: DWRITE_FONT_PROPERTY_ID = 1i32; 339 pub const DWRITE_FONT_PROPERTY_ID_TYPOGRAPHIC_FAMILY_NAME: DWRITE_FONT_PROPERTY_ID = 2i32; 340 pub const DWRITE_FONT_PROPERTY_ID_WEIGHT_STRETCH_STYLE_FACE_NAME: DWRITE_FONT_PROPERTY_ID = 3i32; 341 pub const DWRITE_FONT_PROPERTY_ID_FULL_NAME: DWRITE_FONT_PROPERTY_ID = 4i32; 342 pub const DWRITE_FONT_PROPERTY_ID_WIN32_FAMILY_NAME: DWRITE_FONT_PROPERTY_ID = 5i32; 343 pub const DWRITE_FONT_PROPERTY_ID_POSTSCRIPT_NAME: DWRITE_FONT_PROPERTY_ID = 6i32; 344 pub const DWRITE_FONT_PROPERTY_ID_DESIGN_SCRIPT_LANGUAGE_TAG: DWRITE_FONT_PROPERTY_ID = 7i32; 345 pub const DWRITE_FONT_PROPERTY_ID_SUPPORTED_SCRIPT_LANGUAGE_TAG: DWRITE_FONT_PROPERTY_ID = 8i32; 346 pub const DWRITE_FONT_PROPERTY_ID_SEMANTIC_TAG: DWRITE_FONT_PROPERTY_ID = 9i32; 347 pub const DWRITE_FONT_PROPERTY_ID_WEIGHT: DWRITE_FONT_PROPERTY_ID = 10i32; 348 pub const DWRITE_FONT_PROPERTY_ID_STRETCH: DWRITE_FONT_PROPERTY_ID = 11i32; 349 pub const DWRITE_FONT_PROPERTY_ID_STYLE: DWRITE_FONT_PROPERTY_ID = 12i32; 350 pub const DWRITE_FONT_PROPERTY_ID_TYPOGRAPHIC_FACE_NAME: DWRITE_FONT_PROPERTY_ID = 13i32; 351 pub const DWRITE_FONT_PROPERTY_ID_TOTAL: DWRITE_FONT_PROPERTY_ID = 13i32; 352 pub const DWRITE_FONT_PROPERTY_ID_TOTAL_RS3: DWRITE_FONT_PROPERTY_ID = 14i32; 353 pub const DWRITE_FONT_PROPERTY_ID_PREFERRED_FAMILY_NAME: DWRITE_FONT_PROPERTY_ID = 2i32; 354 pub const DWRITE_FONT_PROPERTY_ID_FAMILY_NAME: DWRITE_FONT_PROPERTY_ID = 1i32; 355 pub const DWRITE_FONT_PROPERTY_ID_FACE_NAME: DWRITE_FONT_PROPERTY_ID = 3i32; 356 pub type DWRITE_FONT_SIMULATIONS = u32; 357 pub const DWRITE_FONT_SIMULATIONS_NONE: DWRITE_FONT_SIMULATIONS = 0u32; 358 pub const DWRITE_FONT_SIMULATIONS_BOLD: DWRITE_FONT_SIMULATIONS = 1u32; 359 pub const DWRITE_FONT_SIMULATIONS_OBLIQUE: DWRITE_FONT_SIMULATIONS = 2u32; 360 pub type DWRITE_FONT_SOURCE_TYPE = i32; 361 pub const DWRITE_FONT_SOURCE_TYPE_UNKNOWN: DWRITE_FONT_SOURCE_TYPE = 0i32; 362 pub const DWRITE_FONT_SOURCE_TYPE_PER_MACHINE: DWRITE_FONT_SOURCE_TYPE = 1i32; 363 pub const DWRITE_FONT_SOURCE_TYPE_PER_USER: DWRITE_FONT_SOURCE_TYPE = 2i32; 364 pub const DWRITE_FONT_SOURCE_TYPE_APPX_PACKAGE: DWRITE_FONT_SOURCE_TYPE = 3i32; 365 pub const DWRITE_FONT_SOURCE_TYPE_REMOTE_FONT_PROVIDER: DWRITE_FONT_SOURCE_TYPE = 4i32; 366 pub type DWRITE_FONT_STRETCH = i32; 367 pub const DWRITE_FONT_STRETCH_UNDEFINED: DWRITE_FONT_STRETCH = 0i32; 368 pub const DWRITE_FONT_STRETCH_ULTRA_CONDENSED: DWRITE_FONT_STRETCH = 1i32; 369 pub const DWRITE_FONT_STRETCH_EXTRA_CONDENSED: DWRITE_FONT_STRETCH = 2i32; 370 pub const DWRITE_FONT_STRETCH_CONDENSED: DWRITE_FONT_STRETCH = 3i32; 371 pub const DWRITE_FONT_STRETCH_SEMI_CONDENSED: DWRITE_FONT_STRETCH = 4i32; 372 pub const DWRITE_FONT_STRETCH_NORMAL: DWRITE_FONT_STRETCH = 5i32; 373 pub const DWRITE_FONT_STRETCH_MEDIUM: DWRITE_FONT_STRETCH = 5i32; 374 pub const DWRITE_FONT_STRETCH_SEMI_EXPANDED: DWRITE_FONT_STRETCH = 6i32; 375 pub const DWRITE_FONT_STRETCH_EXPANDED: DWRITE_FONT_STRETCH = 7i32; 376 pub const DWRITE_FONT_STRETCH_EXTRA_EXPANDED: DWRITE_FONT_STRETCH = 8i32; 377 pub const DWRITE_FONT_STRETCH_ULTRA_EXPANDED: DWRITE_FONT_STRETCH = 9i32; 378 pub type DWRITE_FONT_STYLE = i32; 379 pub const DWRITE_FONT_STYLE_NORMAL: DWRITE_FONT_STYLE = 0i32; 380 pub const DWRITE_FONT_STYLE_OBLIQUE: DWRITE_FONT_STYLE = 1i32; 381 pub const DWRITE_FONT_STYLE_ITALIC: DWRITE_FONT_STYLE = 2i32; 382 pub type DWRITE_FONT_WEIGHT = i32; 383 pub const DWRITE_FONT_WEIGHT_THIN: DWRITE_FONT_WEIGHT = 100i32; 384 pub const DWRITE_FONT_WEIGHT_EXTRA_LIGHT: DWRITE_FONT_WEIGHT = 200i32; 385 pub const DWRITE_FONT_WEIGHT_ULTRA_LIGHT: DWRITE_FONT_WEIGHT = 200i32; 386 pub const DWRITE_FONT_WEIGHT_LIGHT: DWRITE_FONT_WEIGHT = 300i32; 387 pub const DWRITE_FONT_WEIGHT_SEMI_LIGHT: DWRITE_FONT_WEIGHT = 350i32; 388 pub const DWRITE_FONT_WEIGHT_NORMAL: DWRITE_FONT_WEIGHT = 400i32; 389 pub const DWRITE_FONT_WEIGHT_REGULAR: DWRITE_FONT_WEIGHT = 400i32; 390 pub const DWRITE_FONT_WEIGHT_MEDIUM: DWRITE_FONT_WEIGHT = 500i32; 391 pub const DWRITE_FONT_WEIGHT_DEMI_BOLD: DWRITE_FONT_WEIGHT = 600i32; 392 pub const DWRITE_FONT_WEIGHT_SEMI_BOLD: DWRITE_FONT_WEIGHT = 600i32; 393 pub const DWRITE_FONT_WEIGHT_BOLD: DWRITE_FONT_WEIGHT = 700i32; 394 pub const DWRITE_FONT_WEIGHT_EXTRA_BOLD: DWRITE_FONT_WEIGHT = 800i32; 395 pub const DWRITE_FONT_WEIGHT_ULTRA_BOLD: DWRITE_FONT_WEIGHT = 800i32; 396 pub const DWRITE_FONT_WEIGHT_BLACK: DWRITE_FONT_WEIGHT = 900i32; 397 pub const DWRITE_FONT_WEIGHT_HEAVY: DWRITE_FONT_WEIGHT = 900i32; 398 pub const DWRITE_FONT_WEIGHT_EXTRA_BLACK: DWRITE_FONT_WEIGHT = 950i32; 399 pub const DWRITE_FONT_WEIGHT_ULTRA_BLACK: DWRITE_FONT_WEIGHT = 950i32; 400 #[repr(C)] 401 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))] 402 pub struct DWRITE_GLYPH_IMAGE_DATA { 403 pub imageData: *mut ::core::ffi::c_void, 404 pub imageDataSize: u32, 405 pub uniqueDataId: u32, 406 pub pixelsPerEm: u32, 407 pub pixelSize: super::Direct2D::Common::D2D_SIZE_U, 408 pub horizontalLeftOrigin: super::super::Foundation::POINT, 409 pub horizontalRightOrigin: super::super::Foundation::POINT, 410 pub verticalTopOrigin: super::super::Foundation::POINT, 411 pub verticalBottomOrigin: super::super::Foundation::POINT, 412 } 413 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))] 414 impl ::core::marker::Copy for DWRITE_GLYPH_IMAGE_DATA {} 415 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))] 416 impl ::core::clone::Clone for DWRITE_GLYPH_IMAGE_DATA { clone(&self) -> Self417 fn clone(&self) -> Self { 418 *self 419 } 420 } 421 pub type DWRITE_GLYPH_IMAGE_FORMATS = u32; 422 pub const DWRITE_GLYPH_IMAGE_FORMATS_NONE: DWRITE_GLYPH_IMAGE_FORMATS = 0u32; 423 pub const DWRITE_GLYPH_IMAGE_FORMATS_TRUETYPE: DWRITE_GLYPH_IMAGE_FORMATS = 1u32; 424 pub const DWRITE_GLYPH_IMAGE_FORMATS_CFF: DWRITE_GLYPH_IMAGE_FORMATS = 2u32; 425 pub const DWRITE_GLYPH_IMAGE_FORMATS_COLR: DWRITE_GLYPH_IMAGE_FORMATS = 4u32; 426 pub const DWRITE_GLYPH_IMAGE_FORMATS_SVG: DWRITE_GLYPH_IMAGE_FORMATS = 8u32; 427 pub const DWRITE_GLYPH_IMAGE_FORMATS_PNG: DWRITE_GLYPH_IMAGE_FORMATS = 16u32; 428 pub const DWRITE_GLYPH_IMAGE_FORMATS_JPEG: DWRITE_GLYPH_IMAGE_FORMATS = 32u32; 429 pub const DWRITE_GLYPH_IMAGE_FORMATS_TIFF: DWRITE_GLYPH_IMAGE_FORMATS = 64u32; 430 pub const DWRITE_GLYPH_IMAGE_FORMATS_PREMULTIPLIED_B8G8R8A8: DWRITE_GLYPH_IMAGE_FORMATS = 128u32; 431 #[repr(C)] 432 pub struct DWRITE_GLYPH_METRICS { 433 pub leftSideBearing: i32, 434 pub advanceWidth: u32, 435 pub rightSideBearing: i32, 436 pub topSideBearing: i32, 437 pub advanceHeight: u32, 438 pub bottomSideBearing: i32, 439 pub verticalOriginY: i32, 440 } 441 impl ::core::marker::Copy for DWRITE_GLYPH_METRICS {} 442 impl ::core::clone::Clone for DWRITE_GLYPH_METRICS { clone(&self) -> Self443 fn clone(&self) -> Self { 444 *self 445 } 446 } 447 #[repr(C)] 448 pub struct DWRITE_GLYPH_OFFSET { 449 pub advanceOffset: f32, 450 pub ascenderOffset: f32, 451 } 452 impl ::core::marker::Copy for DWRITE_GLYPH_OFFSET {} 453 impl ::core::clone::Clone for DWRITE_GLYPH_OFFSET { clone(&self) -> Self454 fn clone(&self) -> Self { 455 *self 456 } 457 } 458 pub type DWRITE_GLYPH_ORIENTATION_ANGLE = i32; 459 pub const DWRITE_GLYPH_ORIENTATION_ANGLE_0_DEGREES: DWRITE_GLYPH_ORIENTATION_ANGLE = 0i32; 460 pub const DWRITE_GLYPH_ORIENTATION_ANGLE_90_DEGREES: DWRITE_GLYPH_ORIENTATION_ANGLE = 1i32; 461 pub const DWRITE_GLYPH_ORIENTATION_ANGLE_180_DEGREES: DWRITE_GLYPH_ORIENTATION_ANGLE = 2i32; 462 pub const DWRITE_GLYPH_ORIENTATION_ANGLE_270_DEGREES: DWRITE_GLYPH_ORIENTATION_ANGLE = 3i32; 463 #[repr(C)] 464 #[cfg(feature = "Win32_Foundation")] 465 pub struct DWRITE_GLYPH_RUN { 466 pub fontFace: IDWriteFontFace, 467 pub fontEmSize: f32, 468 pub glyphCount: u32, 469 pub glyphIndices: *mut u16, 470 pub glyphAdvances: *mut f32, 471 pub glyphOffsets: *mut DWRITE_GLYPH_OFFSET, 472 pub isSideways: super::super::Foundation::BOOL, 473 pub bidiLevel: u32, 474 } 475 #[cfg(feature = "Win32_Foundation")] 476 impl ::core::marker::Copy for DWRITE_GLYPH_RUN {} 477 #[cfg(feature = "Win32_Foundation")] 478 impl ::core::clone::Clone for DWRITE_GLYPH_RUN { clone(&self) -> Self479 fn clone(&self) -> Self { 480 *self 481 } 482 } 483 #[repr(C)] 484 #[cfg(feature = "Win32_Foundation")] 485 pub struct DWRITE_GLYPH_RUN_DESCRIPTION { 486 pub localeName: super::super::Foundation::PWSTR, 487 pub string: super::super::Foundation::PWSTR, 488 pub stringLength: u32, 489 pub clusterMap: *mut u16, 490 pub textPosition: u32, 491 } 492 #[cfg(feature = "Win32_Foundation")] 493 impl ::core::marker::Copy for DWRITE_GLYPH_RUN_DESCRIPTION {} 494 #[cfg(feature = "Win32_Foundation")] 495 impl ::core::clone::Clone for DWRITE_GLYPH_RUN_DESCRIPTION { clone(&self) -> Self496 fn clone(&self) -> Self { 497 *self 498 } 499 } 500 pub type DWRITE_GRID_FIT_MODE = i32; 501 pub const DWRITE_GRID_FIT_MODE_DEFAULT: DWRITE_GRID_FIT_MODE = 0i32; 502 pub const DWRITE_GRID_FIT_MODE_DISABLED: DWRITE_GRID_FIT_MODE = 1i32; 503 pub const DWRITE_GRID_FIT_MODE_ENABLED: DWRITE_GRID_FIT_MODE = 2i32; 504 #[repr(C)] 505 #[cfg(feature = "Win32_Foundation")] 506 pub struct DWRITE_HIT_TEST_METRICS { 507 pub textPosition: u32, 508 pub length: u32, 509 pub left: f32, 510 pub top: f32, 511 pub width: f32, 512 pub height: f32, 513 pub bidiLevel: u32, 514 pub isText: super::super::Foundation::BOOL, 515 pub isTrimmed: super::super::Foundation::BOOL, 516 } 517 #[cfg(feature = "Win32_Foundation")] 518 impl ::core::marker::Copy for DWRITE_HIT_TEST_METRICS {} 519 #[cfg(feature = "Win32_Foundation")] 520 impl ::core::clone::Clone for DWRITE_HIT_TEST_METRICS { clone(&self) -> Self521 fn clone(&self) -> Self { 522 *self 523 } 524 } 525 pub type DWRITE_INFORMATIONAL_STRING_ID = i32; 526 pub const DWRITE_INFORMATIONAL_STRING_NONE: DWRITE_INFORMATIONAL_STRING_ID = 0i32; 527 pub const DWRITE_INFORMATIONAL_STRING_COPYRIGHT_NOTICE: DWRITE_INFORMATIONAL_STRING_ID = 1i32; 528 pub const DWRITE_INFORMATIONAL_STRING_VERSION_STRINGS: DWRITE_INFORMATIONAL_STRING_ID = 2i32; 529 pub const DWRITE_INFORMATIONAL_STRING_TRADEMARK: DWRITE_INFORMATIONAL_STRING_ID = 3i32; 530 pub const DWRITE_INFORMATIONAL_STRING_MANUFACTURER: DWRITE_INFORMATIONAL_STRING_ID = 4i32; 531 pub const DWRITE_INFORMATIONAL_STRING_DESIGNER: DWRITE_INFORMATIONAL_STRING_ID = 5i32; 532 pub const DWRITE_INFORMATIONAL_STRING_DESIGNER_URL: DWRITE_INFORMATIONAL_STRING_ID = 6i32; 533 pub const DWRITE_INFORMATIONAL_STRING_DESCRIPTION: DWRITE_INFORMATIONAL_STRING_ID = 7i32; 534 pub const DWRITE_INFORMATIONAL_STRING_FONT_VENDOR_URL: DWRITE_INFORMATIONAL_STRING_ID = 8i32; 535 pub const DWRITE_INFORMATIONAL_STRING_LICENSE_DESCRIPTION: DWRITE_INFORMATIONAL_STRING_ID = 9i32; 536 pub const DWRITE_INFORMATIONAL_STRING_LICENSE_INFO_URL: DWRITE_INFORMATIONAL_STRING_ID = 10i32; 537 pub const DWRITE_INFORMATIONAL_STRING_WIN32_FAMILY_NAMES: DWRITE_INFORMATIONAL_STRING_ID = 11i32; 538 pub const DWRITE_INFORMATIONAL_STRING_WIN32_SUBFAMILY_NAMES: DWRITE_INFORMATIONAL_STRING_ID = 12i32; 539 pub const DWRITE_INFORMATIONAL_STRING_TYPOGRAPHIC_FAMILY_NAMES: DWRITE_INFORMATIONAL_STRING_ID = 13i32; 540 pub const DWRITE_INFORMATIONAL_STRING_TYPOGRAPHIC_SUBFAMILY_NAMES: DWRITE_INFORMATIONAL_STRING_ID = 14i32; 541 pub const DWRITE_INFORMATIONAL_STRING_SAMPLE_TEXT: DWRITE_INFORMATIONAL_STRING_ID = 15i32; 542 pub const DWRITE_INFORMATIONAL_STRING_FULL_NAME: DWRITE_INFORMATIONAL_STRING_ID = 16i32; 543 pub const DWRITE_INFORMATIONAL_STRING_POSTSCRIPT_NAME: DWRITE_INFORMATIONAL_STRING_ID = 17i32; 544 pub const DWRITE_INFORMATIONAL_STRING_POSTSCRIPT_CID_NAME: DWRITE_INFORMATIONAL_STRING_ID = 18i32; 545 pub const DWRITE_INFORMATIONAL_STRING_WEIGHT_STRETCH_STYLE_FAMILY_NAME: DWRITE_INFORMATIONAL_STRING_ID = 19i32; 546 pub const DWRITE_INFORMATIONAL_STRING_DESIGN_SCRIPT_LANGUAGE_TAG: DWRITE_INFORMATIONAL_STRING_ID = 20i32; 547 pub const DWRITE_INFORMATIONAL_STRING_SUPPORTED_SCRIPT_LANGUAGE_TAG: DWRITE_INFORMATIONAL_STRING_ID = 21i32; 548 pub const DWRITE_INFORMATIONAL_STRING_PREFERRED_FAMILY_NAMES: DWRITE_INFORMATIONAL_STRING_ID = 13i32; 549 pub const DWRITE_INFORMATIONAL_STRING_PREFERRED_SUBFAMILY_NAMES: DWRITE_INFORMATIONAL_STRING_ID = 14i32; 550 pub const DWRITE_INFORMATIONAL_STRING_WWS_FAMILY_NAME: DWRITE_INFORMATIONAL_STRING_ID = 19i32; 551 #[repr(C)] 552 #[cfg(feature = "Win32_Foundation")] 553 pub struct DWRITE_INLINE_OBJECT_METRICS { 554 pub width: f32, 555 pub height: f32, 556 pub baseline: f32, 557 pub supportsSideways: super::super::Foundation::BOOL, 558 } 559 #[cfg(feature = "Win32_Foundation")] 560 impl ::core::marker::Copy for DWRITE_INLINE_OBJECT_METRICS {} 561 #[cfg(feature = "Win32_Foundation")] 562 impl ::core::clone::Clone for DWRITE_INLINE_OBJECT_METRICS { clone(&self) -> Self563 fn clone(&self) -> Self { 564 *self 565 } 566 } 567 #[repr(C)] 568 pub struct DWRITE_JUSTIFICATION_OPPORTUNITY { 569 pub expansionMinimum: f32, 570 pub expansionMaximum: f32, 571 pub compressionMaximum: f32, 572 pub _bitfield: u32, 573 } 574 impl ::core::marker::Copy for DWRITE_JUSTIFICATION_OPPORTUNITY {} 575 impl ::core::clone::Clone for DWRITE_JUSTIFICATION_OPPORTUNITY { clone(&self) -> Self576 fn clone(&self) -> Self { 577 *self 578 } 579 } 580 #[repr(C)] 581 pub struct DWRITE_LINE_BREAKPOINT { 582 pub _bitfield: u8, 583 } 584 impl ::core::marker::Copy for DWRITE_LINE_BREAKPOINT {} 585 impl ::core::clone::Clone for DWRITE_LINE_BREAKPOINT { clone(&self) -> Self586 fn clone(&self) -> Self { 587 *self 588 } 589 } 590 #[repr(C)] 591 #[cfg(feature = "Win32_Foundation")] 592 pub struct DWRITE_LINE_METRICS { 593 pub length: u32, 594 pub trailingWhitespaceLength: u32, 595 pub newlineLength: u32, 596 pub height: f32, 597 pub baseline: f32, 598 pub isTrimmed: super::super::Foundation::BOOL, 599 } 600 #[cfg(feature = "Win32_Foundation")] 601 impl ::core::marker::Copy for DWRITE_LINE_METRICS {} 602 #[cfg(feature = "Win32_Foundation")] 603 impl ::core::clone::Clone for DWRITE_LINE_METRICS { clone(&self) -> Self604 fn clone(&self) -> Self { 605 *self 606 } 607 } 608 #[repr(C)] 609 #[cfg(feature = "Win32_Foundation")] 610 pub struct DWRITE_LINE_METRICS1 { 611 pub Base: DWRITE_LINE_METRICS, 612 pub leadingBefore: f32, 613 pub leadingAfter: f32, 614 } 615 #[cfg(feature = "Win32_Foundation")] 616 impl ::core::marker::Copy for DWRITE_LINE_METRICS1 {} 617 #[cfg(feature = "Win32_Foundation")] 618 impl ::core::clone::Clone for DWRITE_LINE_METRICS1 { clone(&self) -> Self619 fn clone(&self) -> Self { 620 *self 621 } 622 } 623 #[repr(C)] 624 pub struct DWRITE_LINE_SPACING { 625 pub method: DWRITE_LINE_SPACING_METHOD, 626 pub height: f32, 627 pub baseline: f32, 628 pub leadingBefore: f32, 629 pub fontLineGapUsage: DWRITE_FONT_LINE_GAP_USAGE, 630 } 631 impl ::core::marker::Copy for DWRITE_LINE_SPACING {} 632 impl ::core::clone::Clone for DWRITE_LINE_SPACING { clone(&self) -> Self633 fn clone(&self) -> Self { 634 *self 635 } 636 } 637 pub type DWRITE_LINE_SPACING_METHOD = i32; 638 pub const DWRITE_LINE_SPACING_METHOD_DEFAULT: DWRITE_LINE_SPACING_METHOD = 0i32; 639 pub const DWRITE_LINE_SPACING_METHOD_UNIFORM: DWRITE_LINE_SPACING_METHOD = 1i32; 640 pub const DWRITE_LINE_SPACING_METHOD_PROPORTIONAL: DWRITE_LINE_SPACING_METHOD = 2i32; 641 pub type DWRITE_LOCALITY = i32; 642 pub const DWRITE_LOCALITY_REMOTE: DWRITE_LOCALITY = 0i32; 643 pub const DWRITE_LOCALITY_PARTIAL: DWRITE_LOCALITY = 1i32; 644 pub const DWRITE_LOCALITY_LOCAL: DWRITE_LOCALITY = 2i32; 645 #[repr(C)] 646 pub struct DWRITE_MATRIX { 647 pub m11: f32, 648 pub m12: f32, 649 pub m21: f32, 650 pub m22: f32, 651 pub dx: f32, 652 pub dy: f32, 653 } 654 impl ::core::marker::Copy for DWRITE_MATRIX {} 655 impl ::core::clone::Clone for DWRITE_MATRIX { clone(&self) -> Self656 fn clone(&self) -> Self { 657 *self 658 } 659 } 660 pub type DWRITE_MEASURING_MODE = i32; 661 pub const DWRITE_MEASURING_MODE_NATURAL: DWRITE_MEASURING_MODE = 0i32; 662 pub const DWRITE_MEASURING_MODE_GDI_CLASSIC: DWRITE_MEASURING_MODE = 1i32; 663 pub const DWRITE_MEASURING_MODE_GDI_NATURAL: DWRITE_MEASURING_MODE = 2i32; 664 pub type DWRITE_NUMBER_SUBSTITUTION_METHOD = i32; 665 pub const DWRITE_NUMBER_SUBSTITUTION_METHOD_FROM_CULTURE: DWRITE_NUMBER_SUBSTITUTION_METHOD = 0i32; 666 pub const DWRITE_NUMBER_SUBSTITUTION_METHOD_CONTEXTUAL: DWRITE_NUMBER_SUBSTITUTION_METHOD = 1i32; 667 pub const DWRITE_NUMBER_SUBSTITUTION_METHOD_NONE: DWRITE_NUMBER_SUBSTITUTION_METHOD = 2i32; 668 pub const DWRITE_NUMBER_SUBSTITUTION_METHOD_NATIONAL: DWRITE_NUMBER_SUBSTITUTION_METHOD = 3i32; 669 pub const DWRITE_NUMBER_SUBSTITUTION_METHOD_TRADITIONAL: DWRITE_NUMBER_SUBSTITUTION_METHOD = 4i32; 670 pub type DWRITE_OPTICAL_ALIGNMENT = i32; 671 pub const DWRITE_OPTICAL_ALIGNMENT_NONE: DWRITE_OPTICAL_ALIGNMENT = 0i32; 672 pub const DWRITE_OPTICAL_ALIGNMENT_NO_SIDE_BEARINGS: DWRITE_OPTICAL_ALIGNMENT = 1i32; 673 pub type DWRITE_OUTLINE_THRESHOLD = i32; 674 pub const DWRITE_OUTLINE_THRESHOLD_ANTIALIASED: DWRITE_OUTLINE_THRESHOLD = 0i32; 675 pub const DWRITE_OUTLINE_THRESHOLD_ALIASED: DWRITE_OUTLINE_THRESHOLD = 1i32; 676 #[repr(C)] 677 pub struct DWRITE_OVERHANG_METRICS { 678 pub left: f32, 679 pub top: f32, 680 pub right: f32, 681 pub bottom: f32, 682 } 683 impl ::core::marker::Copy for DWRITE_OVERHANG_METRICS {} 684 impl ::core::clone::Clone for DWRITE_OVERHANG_METRICS { clone(&self) -> Self685 fn clone(&self) -> Self { 686 *self 687 } 688 } 689 #[repr(C)] 690 pub union DWRITE_PANOSE { 691 pub values: [u8; 10], 692 pub familyKind: u8, 693 pub text: DWRITE_PANOSE_3, 694 pub script: DWRITE_PANOSE_1, 695 pub decorative: DWRITE_PANOSE_0, 696 pub symbol: DWRITE_PANOSE_2, 697 } 698 impl ::core::marker::Copy for DWRITE_PANOSE {} 699 impl ::core::clone::Clone for DWRITE_PANOSE { clone(&self) -> Self700 fn clone(&self) -> Self { 701 *self 702 } 703 } 704 #[repr(C)] 705 pub struct DWRITE_PANOSE_0 { 706 pub familyKind: u8, 707 pub decorativeClass: u8, 708 pub weight: u8, 709 pub aspect: u8, 710 pub contrast: u8, 711 pub serifVariant: u8, 712 pub fill: u8, 713 pub lining: u8, 714 pub decorativeTopology: u8, 715 pub characterRange: u8, 716 } 717 impl ::core::marker::Copy for DWRITE_PANOSE_0 {} 718 impl ::core::clone::Clone for DWRITE_PANOSE_0 { clone(&self) -> Self719 fn clone(&self) -> Self { 720 *self 721 } 722 } 723 #[repr(C)] 724 pub struct DWRITE_PANOSE_1 { 725 pub familyKind: u8, 726 pub toolKind: u8, 727 pub weight: u8, 728 pub spacing: u8, 729 pub aspectRatio: u8, 730 pub contrast: u8, 731 pub scriptTopology: u8, 732 pub scriptForm: u8, 733 pub finials: u8, 734 pub xAscent: u8, 735 } 736 impl ::core::marker::Copy for DWRITE_PANOSE_1 {} 737 impl ::core::clone::Clone for DWRITE_PANOSE_1 { clone(&self) -> Self738 fn clone(&self) -> Self { 739 *self 740 } 741 } 742 #[repr(C)] 743 pub struct DWRITE_PANOSE_2 { 744 pub familyKind: u8, 745 pub symbolKind: u8, 746 pub weight: u8, 747 pub spacing: u8, 748 pub aspectRatioAndContrast: u8, 749 pub aspectRatio94: u8, 750 pub aspectRatio119: u8, 751 pub aspectRatio157: u8, 752 pub aspectRatio163: u8, 753 pub aspectRatio211: u8, 754 } 755 impl ::core::marker::Copy for DWRITE_PANOSE_2 {} 756 impl ::core::clone::Clone for DWRITE_PANOSE_2 { clone(&self) -> Self757 fn clone(&self) -> Self { 758 *self 759 } 760 } 761 #[repr(C)] 762 pub struct DWRITE_PANOSE_3 { 763 pub familyKind: u8, 764 pub serifStyle: u8, 765 pub weight: u8, 766 pub proportion: u8, 767 pub contrast: u8, 768 pub strokeVariation: u8, 769 pub armStyle: u8, 770 pub letterform: u8, 771 pub midline: u8, 772 pub xHeight: u8, 773 } 774 impl ::core::marker::Copy for DWRITE_PANOSE_3 {} 775 impl ::core::clone::Clone for DWRITE_PANOSE_3 { clone(&self) -> Self776 fn clone(&self) -> Self { 777 *self 778 } 779 } 780 pub type DWRITE_PANOSE_ARM_STYLE = i32; 781 pub const DWRITE_PANOSE_ARM_STYLE_ANY: DWRITE_PANOSE_ARM_STYLE = 0i32; 782 pub const DWRITE_PANOSE_ARM_STYLE_NO_FIT: DWRITE_PANOSE_ARM_STYLE = 1i32; 783 pub const DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_HORIZONTAL: DWRITE_PANOSE_ARM_STYLE = 2i32; 784 pub const DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_WEDGE: DWRITE_PANOSE_ARM_STYLE = 3i32; 785 pub const DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_VERTICAL: DWRITE_PANOSE_ARM_STYLE = 4i32; 786 pub const DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_SINGLE_SERIF: DWRITE_PANOSE_ARM_STYLE = 5i32; 787 pub const DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_DOUBLE_SERIF: DWRITE_PANOSE_ARM_STYLE = 6i32; 788 pub const DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_HORIZONTAL: DWRITE_PANOSE_ARM_STYLE = 7i32; 789 pub const DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_WEDGE: DWRITE_PANOSE_ARM_STYLE = 8i32; 790 pub const DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_VERTICAL: DWRITE_PANOSE_ARM_STYLE = 9i32; 791 pub const DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_SINGLE_SERIF: DWRITE_PANOSE_ARM_STYLE = 10i32; 792 pub const DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_DOUBLE_SERIF: DWRITE_PANOSE_ARM_STYLE = 11i32; 793 pub const DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_HORZ: DWRITE_PANOSE_ARM_STYLE = 2i32; 794 pub const DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_VERT: DWRITE_PANOSE_ARM_STYLE = 4i32; 795 pub const DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_HORZ: DWRITE_PANOSE_ARM_STYLE = 7i32; 796 pub const DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_WEDGE: DWRITE_PANOSE_ARM_STYLE = 8i32; 797 pub const DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_VERT: DWRITE_PANOSE_ARM_STYLE = 9i32; 798 pub const DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_SINGLE_SERIF: DWRITE_PANOSE_ARM_STYLE = 10i32; 799 pub const DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_DOUBLE_SERIF: DWRITE_PANOSE_ARM_STYLE = 11i32; 800 pub type DWRITE_PANOSE_ASPECT = i32; 801 pub const DWRITE_PANOSE_ASPECT_ANY: DWRITE_PANOSE_ASPECT = 0i32; 802 pub const DWRITE_PANOSE_ASPECT_NO_FIT: DWRITE_PANOSE_ASPECT = 1i32; 803 pub const DWRITE_PANOSE_ASPECT_SUPER_CONDENSED: DWRITE_PANOSE_ASPECT = 2i32; 804 pub const DWRITE_PANOSE_ASPECT_VERY_CONDENSED: DWRITE_PANOSE_ASPECT = 3i32; 805 pub const DWRITE_PANOSE_ASPECT_CONDENSED: DWRITE_PANOSE_ASPECT = 4i32; 806 pub const DWRITE_PANOSE_ASPECT_NORMAL: DWRITE_PANOSE_ASPECT = 5i32; 807 pub const DWRITE_PANOSE_ASPECT_EXTENDED: DWRITE_PANOSE_ASPECT = 6i32; 808 pub const DWRITE_PANOSE_ASPECT_VERY_EXTENDED: DWRITE_PANOSE_ASPECT = 7i32; 809 pub const DWRITE_PANOSE_ASPECT_SUPER_EXTENDED: DWRITE_PANOSE_ASPECT = 8i32; 810 pub const DWRITE_PANOSE_ASPECT_MONOSPACED: DWRITE_PANOSE_ASPECT = 9i32; 811 pub type DWRITE_PANOSE_ASPECT_RATIO = i32; 812 pub const DWRITE_PANOSE_ASPECT_RATIO_ANY: DWRITE_PANOSE_ASPECT_RATIO = 0i32; 813 pub const DWRITE_PANOSE_ASPECT_RATIO_NO_FIT: DWRITE_PANOSE_ASPECT_RATIO = 1i32; 814 pub const DWRITE_PANOSE_ASPECT_RATIO_VERY_CONDENSED: DWRITE_PANOSE_ASPECT_RATIO = 2i32; 815 pub const DWRITE_PANOSE_ASPECT_RATIO_CONDENSED: DWRITE_PANOSE_ASPECT_RATIO = 3i32; 816 pub const DWRITE_PANOSE_ASPECT_RATIO_NORMAL: DWRITE_PANOSE_ASPECT_RATIO = 4i32; 817 pub const DWRITE_PANOSE_ASPECT_RATIO_EXPANDED: DWRITE_PANOSE_ASPECT_RATIO = 5i32; 818 pub const DWRITE_PANOSE_ASPECT_RATIO_VERY_EXPANDED: DWRITE_PANOSE_ASPECT_RATIO = 6i32; 819 pub type DWRITE_PANOSE_CHARACTER_RANGES = i32; 820 pub const DWRITE_PANOSE_CHARACTER_RANGES_ANY: DWRITE_PANOSE_CHARACTER_RANGES = 0i32; 821 pub const DWRITE_PANOSE_CHARACTER_RANGES_NO_FIT: DWRITE_PANOSE_CHARACTER_RANGES = 1i32; 822 pub const DWRITE_PANOSE_CHARACTER_RANGES_EXTENDED_COLLECTION: DWRITE_PANOSE_CHARACTER_RANGES = 2i32; 823 pub const DWRITE_PANOSE_CHARACTER_RANGES_LITERALS: DWRITE_PANOSE_CHARACTER_RANGES = 3i32; 824 pub const DWRITE_PANOSE_CHARACTER_RANGES_NO_LOWER_CASE: DWRITE_PANOSE_CHARACTER_RANGES = 4i32; 825 pub const DWRITE_PANOSE_CHARACTER_RANGES_SMALL_CAPS: DWRITE_PANOSE_CHARACTER_RANGES = 5i32; 826 pub type DWRITE_PANOSE_CONTRAST = i32; 827 pub const DWRITE_PANOSE_CONTRAST_ANY: DWRITE_PANOSE_CONTRAST = 0i32; 828 pub const DWRITE_PANOSE_CONTRAST_NO_FIT: DWRITE_PANOSE_CONTRAST = 1i32; 829 pub const DWRITE_PANOSE_CONTRAST_NONE: DWRITE_PANOSE_CONTRAST = 2i32; 830 pub const DWRITE_PANOSE_CONTRAST_VERY_LOW: DWRITE_PANOSE_CONTRAST = 3i32; 831 pub const DWRITE_PANOSE_CONTRAST_LOW: DWRITE_PANOSE_CONTRAST = 4i32; 832 pub const DWRITE_PANOSE_CONTRAST_MEDIUM_LOW: DWRITE_PANOSE_CONTRAST = 5i32; 833 pub const DWRITE_PANOSE_CONTRAST_MEDIUM: DWRITE_PANOSE_CONTRAST = 6i32; 834 pub const DWRITE_PANOSE_CONTRAST_MEDIUM_HIGH: DWRITE_PANOSE_CONTRAST = 7i32; 835 pub const DWRITE_PANOSE_CONTRAST_HIGH: DWRITE_PANOSE_CONTRAST = 8i32; 836 pub const DWRITE_PANOSE_CONTRAST_VERY_HIGH: DWRITE_PANOSE_CONTRAST = 9i32; 837 pub const DWRITE_PANOSE_CONTRAST_HORIZONTAL_LOW: DWRITE_PANOSE_CONTRAST = 10i32; 838 pub const DWRITE_PANOSE_CONTRAST_HORIZONTAL_MEDIUM: DWRITE_PANOSE_CONTRAST = 11i32; 839 pub const DWRITE_PANOSE_CONTRAST_HORIZONTAL_HIGH: DWRITE_PANOSE_CONTRAST = 12i32; 840 pub const DWRITE_PANOSE_CONTRAST_BROKEN: DWRITE_PANOSE_CONTRAST = 13i32; 841 pub type DWRITE_PANOSE_DECORATIVE_CLASS = i32; 842 pub const DWRITE_PANOSE_DECORATIVE_CLASS_ANY: DWRITE_PANOSE_DECORATIVE_CLASS = 0i32; 843 pub const DWRITE_PANOSE_DECORATIVE_CLASS_NO_FIT: DWRITE_PANOSE_DECORATIVE_CLASS = 1i32; 844 pub const DWRITE_PANOSE_DECORATIVE_CLASS_DERIVATIVE: DWRITE_PANOSE_DECORATIVE_CLASS = 2i32; 845 pub const DWRITE_PANOSE_DECORATIVE_CLASS_NONSTANDARD_TOPOLOGY: DWRITE_PANOSE_DECORATIVE_CLASS = 3i32; 846 pub const DWRITE_PANOSE_DECORATIVE_CLASS_NONSTANDARD_ELEMENTS: DWRITE_PANOSE_DECORATIVE_CLASS = 4i32; 847 pub const DWRITE_PANOSE_DECORATIVE_CLASS_NONSTANDARD_ASPECT: DWRITE_PANOSE_DECORATIVE_CLASS = 5i32; 848 pub const DWRITE_PANOSE_DECORATIVE_CLASS_INITIALS: DWRITE_PANOSE_DECORATIVE_CLASS = 6i32; 849 pub const DWRITE_PANOSE_DECORATIVE_CLASS_CARTOON: DWRITE_PANOSE_DECORATIVE_CLASS = 7i32; 850 pub const DWRITE_PANOSE_DECORATIVE_CLASS_PICTURE_STEMS: DWRITE_PANOSE_DECORATIVE_CLASS = 8i32; 851 pub const DWRITE_PANOSE_DECORATIVE_CLASS_ORNAMENTED: DWRITE_PANOSE_DECORATIVE_CLASS = 9i32; 852 pub const DWRITE_PANOSE_DECORATIVE_CLASS_TEXT_AND_BACKGROUND: DWRITE_PANOSE_DECORATIVE_CLASS = 10i32; 853 pub const DWRITE_PANOSE_DECORATIVE_CLASS_COLLAGE: DWRITE_PANOSE_DECORATIVE_CLASS = 11i32; 854 pub const DWRITE_PANOSE_DECORATIVE_CLASS_MONTAGE: DWRITE_PANOSE_DECORATIVE_CLASS = 12i32; 855 pub type DWRITE_PANOSE_DECORATIVE_TOPOLOGY = i32; 856 pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_ANY: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 0i32; 857 pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_NO_FIT: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 1i32; 858 pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_STANDARD: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 2i32; 859 pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_SQUARE: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 3i32; 860 pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_MULTIPLE_SEGMENT: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 4i32; 861 pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_ART_DECO: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 5i32; 862 pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_UNEVEN_WEIGHTING: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 6i32; 863 pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_DIVERSE_ARMS: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 7i32; 864 pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_DIVERSE_FORMS: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 8i32; 865 pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_LOMBARDIC_FORMS: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 9i32; 866 pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_UPPER_CASE_IN_LOWER_CASE: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 10i32; 867 pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_IMPLIED_TOPOLOGY: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 11i32; 868 pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_HORSESHOE_E_AND_A: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 12i32; 869 pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_CURSIVE: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 13i32; 870 pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_BLACKLETTER: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 14i32; 871 pub const DWRITE_PANOSE_DECORATIVE_TOPOLOGY_SWASH_VARIANCE: DWRITE_PANOSE_DECORATIVE_TOPOLOGY = 15i32; 872 pub type DWRITE_PANOSE_FAMILY = i32; 873 pub const DWRITE_PANOSE_FAMILY_ANY: DWRITE_PANOSE_FAMILY = 0i32; 874 pub const DWRITE_PANOSE_FAMILY_NO_FIT: DWRITE_PANOSE_FAMILY = 1i32; 875 pub const DWRITE_PANOSE_FAMILY_TEXT_DISPLAY: DWRITE_PANOSE_FAMILY = 2i32; 876 pub const DWRITE_PANOSE_FAMILY_SCRIPT: DWRITE_PANOSE_FAMILY = 3i32; 877 pub const DWRITE_PANOSE_FAMILY_DECORATIVE: DWRITE_PANOSE_FAMILY = 4i32; 878 pub const DWRITE_PANOSE_FAMILY_SYMBOL: DWRITE_PANOSE_FAMILY = 5i32; 879 pub const DWRITE_PANOSE_FAMILY_PICTORIAL: DWRITE_PANOSE_FAMILY = 5i32; 880 pub type DWRITE_PANOSE_FILL = i32; 881 pub const DWRITE_PANOSE_FILL_ANY: DWRITE_PANOSE_FILL = 0i32; 882 pub const DWRITE_PANOSE_FILL_NO_FIT: DWRITE_PANOSE_FILL = 1i32; 883 pub const DWRITE_PANOSE_FILL_STANDARD_SOLID_FILL: DWRITE_PANOSE_FILL = 2i32; 884 pub const DWRITE_PANOSE_FILL_NO_FILL: DWRITE_PANOSE_FILL = 3i32; 885 pub const DWRITE_PANOSE_FILL_PATTERNED_FILL: DWRITE_PANOSE_FILL = 4i32; 886 pub const DWRITE_PANOSE_FILL_COMPLEX_FILL: DWRITE_PANOSE_FILL = 5i32; 887 pub const DWRITE_PANOSE_FILL_SHAPED_FILL: DWRITE_PANOSE_FILL = 6i32; 888 pub const DWRITE_PANOSE_FILL_DRAWN_DISTRESSED: DWRITE_PANOSE_FILL = 7i32; 889 pub type DWRITE_PANOSE_FINIALS = i32; 890 pub const DWRITE_PANOSE_FINIALS_ANY: DWRITE_PANOSE_FINIALS = 0i32; 891 pub const DWRITE_PANOSE_FINIALS_NO_FIT: DWRITE_PANOSE_FINIALS = 1i32; 892 pub const DWRITE_PANOSE_FINIALS_NONE_NO_LOOPS: DWRITE_PANOSE_FINIALS = 2i32; 893 pub const DWRITE_PANOSE_FINIALS_NONE_CLOSED_LOOPS: DWRITE_PANOSE_FINIALS = 3i32; 894 pub const DWRITE_PANOSE_FINIALS_NONE_OPEN_LOOPS: DWRITE_PANOSE_FINIALS = 4i32; 895 pub const DWRITE_PANOSE_FINIALS_SHARP_NO_LOOPS: DWRITE_PANOSE_FINIALS = 5i32; 896 pub const DWRITE_PANOSE_FINIALS_SHARP_CLOSED_LOOPS: DWRITE_PANOSE_FINIALS = 6i32; 897 pub const DWRITE_PANOSE_FINIALS_SHARP_OPEN_LOOPS: DWRITE_PANOSE_FINIALS = 7i32; 898 pub const DWRITE_PANOSE_FINIALS_TAPERED_NO_LOOPS: DWRITE_PANOSE_FINIALS = 8i32; 899 pub const DWRITE_PANOSE_FINIALS_TAPERED_CLOSED_LOOPS: DWRITE_PANOSE_FINIALS = 9i32; 900 pub const DWRITE_PANOSE_FINIALS_TAPERED_OPEN_LOOPS: DWRITE_PANOSE_FINIALS = 10i32; 901 pub const DWRITE_PANOSE_FINIALS_ROUND_NO_LOOPS: DWRITE_PANOSE_FINIALS = 11i32; 902 pub const DWRITE_PANOSE_FINIALS_ROUND_CLOSED_LOOPS: DWRITE_PANOSE_FINIALS = 12i32; 903 pub const DWRITE_PANOSE_FINIALS_ROUND_OPEN_LOOPS: DWRITE_PANOSE_FINIALS = 13i32; 904 pub type DWRITE_PANOSE_LETTERFORM = i32; 905 pub const DWRITE_PANOSE_LETTERFORM_ANY: DWRITE_PANOSE_LETTERFORM = 0i32; 906 pub const DWRITE_PANOSE_LETTERFORM_NO_FIT: DWRITE_PANOSE_LETTERFORM = 1i32; 907 pub const DWRITE_PANOSE_LETTERFORM_NORMAL_CONTACT: DWRITE_PANOSE_LETTERFORM = 2i32; 908 pub const DWRITE_PANOSE_LETTERFORM_NORMAL_WEIGHTED: DWRITE_PANOSE_LETTERFORM = 3i32; 909 pub const DWRITE_PANOSE_LETTERFORM_NORMAL_BOXED: DWRITE_PANOSE_LETTERFORM = 4i32; 910 pub const DWRITE_PANOSE_LETTERFORM_NORMAL_FLATTENED: DWRITE_PANOSE_LETTERFORM = 5i32; 911 pub const DWRITE_PANOSE_LETTERFORM_NORMAL_ROUNDED: DWRITE_PANOSE_LETTERFORM = 6i32; 912 pub const DWRITE_PANOSE_LETTERFORM_NORMAL_OFF_CENTER: DWRITE_PANOSE_LETTERFORM = 7i32; 913 pub const DWRITE_PANOSE_LETTERFORM_NORMAL_SQUARE: DWRITE_PANOSE_LETTERFORM = 8i32; 914 pub const DWRITE_PANOSE_LETTERFORM_OBLIQUE_CONTACT: DWRITE_PANOSE_LETTERFORM = 9i32; 915 pub const DWRITE_PANOSE_LETTERFORM_OBLIQUE_WEIGHTED: DWRITE_PANOSE_LETTERFORM = 10i32; 916 pub const DWRITE_PANOSE_LETTERFORM_OBLIQUE_BOXED: DWRITE_PANOSE_LETTERFORM = 11i32; 917 pub const DWRITE_PANOSE_LETTERFORM_OBLIQUE_FLATTENED: DWRITE_PANOSE_LETTERFORM = 12i32; 918 pub const DWRITE_PANOSE_LETTERFORM_OBLIQUE_ROUNDED: DWRITE_PANOSE_LETTERFORM = 13i32; 919 pub const DWRITE_PANOSE_LETTERFORM_OBLIQUE_OFF_CENTER: DWRITE_PANOSE_LETTERFORM = 14i32; 920 pub const DWRITE_PANOSE_LETTERFORM_OBLIQUE_SQUARE: DWRITE_PANOSE_LETTERFORM = 15i32; 921 pub type DWRITE_PANOSE_LINING = i32; 922 pub const DWRITE_PANOSE_LINING_ANY: DWRITE_PANOSE_LINING = 0i32; 923 pub const DWRITE_PANOSE_LINING_NO_FIT: DWRITE_PANOSE_LINING = 1i32; 924 pub const DWRITE_PANOSE_LINING_NONE: DWRITE_PANOSE_LINING = 2i32; 925 pub const DWRITE_PANOSE_LINING_INLINE: DWRITE_PANOSE_LINING = 3i32; 926 pub const DWRITE_PANOSE_LINING_OUTLINE: DWRITE_PANOSE_LINING = 4i32; 927 pub const DWRITE_PANOSE_LINING_ENGRAVED: DWRITE_PANOSE_LINING = 5i32; 928 pub const DWRITE_PANOSE_LINING_SHADOW: DWRITE_PANOSE_LINING = 6i32; 929 pub const DWRITE_PANOSE_LINING_RELIEF: DWRITE_PANOSE_LINING = 7i32; 930 pub const DWRITE_PANOSE_LINING_BACKDROP: DWRITE_PANOSE_LINING = 8i32; 931 pub type DWRITE_PANOSE_MIDLINE = i32; 932 pub const DWRITE_PANOSE_MIDLINE_ANY: DWRITE_PANOSE_MIDLINE = 0i32; 933 pub const DWRITE_PANOSE_MIDLINE_NO_FIT: DWRITE_PANOSE_MIDLINE = 1i32; 934 pub const DWRITE_PANOSE_MIDLINE_STANDARD_TRIMMED: DWRITE_PANOSE_MIDLINE = 2i32; 935 pub const DWRITE_PANOSE_MIDLINE_STANDARD_POINTED: DWRITE_PANOSE_MIDLINE = 3i32; 936 pub const DWRITE_PANOSE_MIDLINE_STANDARD_SERIFED: DWRITE_PANOSE_MIDLINE = 4i32; 937 pub const DWRITE_PANOSE_MIDLINE_HIGH_TRIMMED: DWRITE_PANOSE_MIDLINE = 5i32; 938 pub const DWRITE_PANOSE_MIDLINE_HIGH_POINTED: DWRITE_PANOSE_MIDLINE = 6i32; 939 pub const DWRITE_PANOSE_MIDLINE_HIGH_SERIFED: DWRITE_PANOSE_MIDLINE = 7i32; 940 pub const DWRITE_PANOSE_MIDLINE_CONSTANT_TRIMMED: DWRITE_PANOSE_MIDLINE = 8i32; 941 pub const DWRITE_PANOSE_MIDLINE_CONSTANT_POINTED: DWRITE_PANOSE_MIDLINE = 9i32; 942 pub const DWRITE_PANOSE_MIDLINE_CONSTANT_SERIFED: DWRITE_PANOSE_MIDLINE = 10i32; 943 pub const DWRITE_PANOSE_MIDLINE_LOW_TRIMMED: DWRITE_PANOSE_MIDLINE = 11i32; 944 pub const DWRITE_PANOSE_MIDLINE_LOW_POINTED: DWRITE_PANOSE_MIDLINE = 12i32; 945 pub const DWRITE_PANOSE_MIDLINE_LOW_SERIFED: DWRITE_PANOSE_MIDLINE = 13i32; 946 pub type DWRITE_PANOSE_PROPORTION = i32; 947 pub const DWRITE_PANOSE_PROPORTION_ANY: DWRITE_PANOSE_PROPORTION = 0i32; 948 pub const DWRITE_PANOSE_PROPORTION_NO_FIT: DWRITE_PANOSE_PROPORTION = 1i32; 949 pub const DWRITE_PANOSE_PROPORTION_OLD_STYLE: DWRITE_PANOSE_PROPORTION = 2i32; 950 pub const DWRITE_PANOSE_PROPORTION_MODERN: DWRITE_PANOSE_PROPORTION = 3i32; 951 pub const DWRITE_PANOSE_PROPORTION_EVEN_WIDTH: DWRITE_PANOSE_PROPORTION = 4i32; 952 pub const DWRITE_PANOSE_PROPORTION_EXPANDED: DWRITE_PANOSE_PROPORTION = 5i32; 953 pub const DWRITE_PANOSE_PROPORTION_CONDENSED: DWRITE_PANOSE_PROPORTION = 6i32; 954 pub const DWRITE_PANOSE_PROPORTION_VERY_EXPANDED: DWRITE_PANOSE_PROPORTION = 7i32; 955 pub const DWRITE_PANOSE_PROPORTION_VERY_CONDENSED: DWRITE_PANOSE_PROPORTION = 8i32; 956 pub const DWRITE_PANOSE_PROPORTION_MONOSPACED: DWRITE_PANOSE_PROPORTION = 9i32; 957 pub type DWRITE_PANOSE_SCRIPT_FORM = i32; 958 pub const DWRITE_PANOSE_SCRIPT_FORM_ANY: DWRITE_PANOSE_SCRIPT_FORM = 0i32; 959 pub const DWRITE_PANOSE_SCRIPT_FORM_NO_FIT: DWRITE_PANOSE_SCRIPT_FORM = 1i32; 960 pub const DWRITE_PANOSE_SCRIPT_FORM_UPRIGHT_NO_WRAPPING: DWRITE_PANOSE_SCRIPT_FORM = 2i32; 961 pub const DWRITE_PANOSE_SCRIPT_FORM_UPRIGHT_SOME_WRAPPING: DWRITE_PANOSE_SCRIPT_FORM = 3i32; 962 pub const DWRITE_PANOSE_SCRIPT_FORM_UPRIGHT_MORE_WRAPPING: DWRITE_PANOSE_SCRIPT_FORM = 4i32; 963 pub const DWRITE_PANOSE_SCRIPT_FORM_UPRIGHT_EXTREME_WRAPPING: DWRITE_PANOSE_SCRIPT_FORM = 5i32; 964 pub const DWRITE_PANOSE_SCRIPT_FORM_OBLIQUE_NO_WRAPPING: DWRITE_PANOSE_SCRIPT_FORM = 6i32; 965 pub const DWRITE_PANOSE_SCRIPT_FORM_OBLIQUE_SOME_WRAPPING: DWRITE_PANOSE_SCRIPT_FORM = 7i32; 966 pub const DWRITE_PANOSE_SCRIPT_FORM_OBLIQUE_MORE_WRAPPING: DWRITE_PANOSE_SCRIPT_FORM = 8i32; 967 pub const DWRITE_PANOSE_SCRIPT_FORM_OBLIQUE_EXTREME_WRAPPING: DWRITE_PANOSE_SCRIPT_FORM = 9i32; 968 pub const DWRITE_PANOSE_SCRIPT_FORM_EXAGGERATED_NO_WRAPPING: DWRITE_PANOSE_SCRIPT_FORM = 10i32; 969 pub const DWRITE_PANOSE_SCRIPT_FORM_EXAGGERATED_SOME_WRAPPING: DWRITE_PANOSE_SCRIPT_FORM = 11i32; 970 pub const DWRITE_PANOSE_SCRIPT_FORM_EXAGGERATED_MORE_WRAPPING: DWRITE_PANOSE_SCRIPT_FORM = 12i32; 971 pub const DWRITE_PANOSE_SCRIPT_FORM_EXAGGERATED_EXTREME_WRAPPING: DWRITE_PANOSE_SCRIPT_FORM = 13i32; 972 pub type DWRITE_PANOSE_SCRIPT_TOPOLOGY = i32; 973 pub const DWRITE_PANOSE_SCRIPT_TOPOLOGY_ANY: DWRITE_PANOSE_SCRIPT_TOPOLOGY = 0i32; 974 pub const DWRITE_PANOSE_SCRIPT_TOPOLOGY_NO_FIT: DWRITE_PANOSE_SCRIPT_TOPOLOGY = 1i32; 975 pub const DWRITE_PANOSE_SCRIPT_TOPOLOGY_ROMAN_DISCONNECTED: DWRITE_PANOSE_SCRIPT_TOPOLOGY = 2i32; 976 pub const DWRITE_PANOSE_SCRIPT_TOPOLOGY_ROMAN_TRAILING: DWRITE_PANOSE_SCRIPT_TOPOLOGY = 3i32; 977 pub const DWRITE_PANOSE_SCRIPT_TOPOLOGY_ROMAN_CONNECTED: DWRITE_PANOSE_SCRIPT_TOPOLOGY = 4i32; 978 pub const DWRITE_PANOSE_SCRIPT_TOPOLOGY_CURSIVE_DISCONNECTED: DWRITE_PANOSE_SCRIPT_TOPOLOGY = 5i32; 979 pub const DWRITE_PANOSE_SCRIPT_TOPOLOGY_CURSIVE_TRAILING: DWRITE_PANOSE_SCRIPT_TOPOLOGY = 6i32; 980 pub const DWRITE_PANOSE_SCRIPT_TOPOLOGY_CURSIVE_CONNECTED: DWRITE_PANOSE_SCRIPT_TOPOLOGY = 7i32; 981 pub const DWRITE_PANOSE_SCRIPT_TOPOLOGY_BLACKLETTER_DISCONNECTED: DWRITE_PANOSE_SCRIPT_TOPOLOGY = 8i32; 982 pub const DWRITE_PANOSE_SCRIPT_TOPOLOGY_BLACKLETTER_TRAILING: DWRITE_PANOSE_SCRIPT_TOPOLOGY = 9i32; 983 pub const DWRITE_PANOSE_SCRIPT_TOPOLOGY_BLACKLETTER_CONNECTED: DWRITE_PANOSE_SCRIPT_TOPOLOGY = 10i32; 984 pub type DWRITE_PANOSE_SERIF_STYLE = i32; 985 pub const DWRITE_PANOSE_SERIF_STYLE_ANY: DWRITE_PANOSE_SERIF_STYLE = 0i32; 986 pub const DWRITE_PANOSE_SERIF_STYLE_NO_FIT: DWRITE_PANOSE_SERIF_STYLE = 1i32; 987 pub const DWRITE_PANOSE_SERIF_STYLE_COVE: DWRITE_PANOSE_SERIF_STYLE = 2i32; 988 pub const DWRITE_PANOSE_SERIF_STYLE_OBTUSE_COVE: DWRITE_PANOSE_SERIF_STYLE = 3i32; 989 pub const DWRITE_PANOSE_SERIF_STYLE_SQUARE_COVE: DWRITE_PANOSE_SERIF_STYLE = 4i32; 990 pub const DWRITE_PANOSE_SERIF_STYLE_OBTUSE_SQUARE_COVE: DWRITE_PANOSE_SERIF_STYLE = 5i32; 991 pub const DWRITE_PANOSE_SERIF_STYLE_SQUARE: DWRITE_PANOSE_SERIF_STYLE = 6i32; 992 pub const DWRITE_PANOSE_SERIF_STYLE_THIN: DWRITE_PANOSE_SERIF_STYLE = 7i32; 993 pub const DWRITE_PANOSE_SERIF_STYLE_OVAL: DWRITE_PANOSE_SERIF_STYLE = 8i32; 994 pub const DWRITE_PANOSE_SERIF_STYLE_EXAGGERATED: DWRITE_PANOSE_SERIF_STYLE = 9i32; 995 pub const DWRITE_PANOSE_SERIF_STYLE_TRIANGLE: DWRITE_PANOSE_SERIF_STYLE = 10i32; 996 pub const DWRITE_PANOSE_SERIF_STYLE_NORMAL_SANS: DWRITE_PANOSE_SERIF_STYLE = 11i32; 997 pub const DWRITE_PANOSE_SERIF_STYLE_OBTUSE_SANS: DWRITE_PANOSE_SERIF_STYLE = 12i32; 998 pub const DWRITE_PANOSE_SERIF_STYLE_PERPENDICULAR_SANS: DWRITE_PANOSE_SERIF_STYLE = 13i32; 999 pub const DWRITE_PANOSE_SERIF_STYLE_FLARED: DWRITE_PANOSE_SERIF_STYLE = 14i32; 1000 pub const DWRITE_PANOSE_SERIF_STYLE_ROUNDED: DWRITE_PANOSE_SERIF_STYLE = 15i32; 1001 pub const DWRITE_PANOSE_SERIF_STYLE_SCRIPT: DWRITE_PANOSE_SERIF_STYLE = 16i32; 1002 pub const DWRITE_PANOSE_SERIF_STYLE_PERP_SANS: DWRITE_PANOSE_SERIF_STYLE = 13i32; 1003 pub const DWRITE_PANOSE_SERIF_STYLE_BONE: DWRITE_PANOSE_SERIF_STYLE = 8i32; 1004 pub type DWRITE_PANOSE_SPACING = i32; 1005 pub const DWRITE_PANOSE_SPACING_ANY: DWRITE_PANOSE_SPACING = 0i32; 1006 pub const DWRITE_PANOSE_SPACING_NO_FIT: DWRITE_PANOSE_SPACING = 1i32; 1007 pub const DWRITE_PANOSE_SPACING_PROPORTIONAL_SPACED: DWRITE_PANOSE_SPACING = 2i32; 1008 pub const DWRITE_PANOSE_SPACING_MONOSPACED: DWRITE_PANOSE_SPACING = 3i32; 1009 pub type DWRITE_PANOSE_STROKE_VARIATION = i32; 1010 pub const DWRITE_PANOSE_STROKE_VARIATION_ANY: DWRITE_PANOSE_STROKE_VARIATION = 0i32; 1011 pub const DWRITE_PANOSE_STROKE_VARIATION_NO_FIT: DWRITE_PANOSE_STROKE_VARIATION = 1i32; 1012 pub const DWRITE_PANOSE_STROKE_VARIATION_NO_VARIATION: DWRITE_PANOSE_STROKE_VARIATION = 2i32; 1013 pub const DWRITE_PANOSE_STROKE_VARIATION_GRADUAL_DIAGONAL: DWRITE_PANOSE_STROKE_VARIATION = 3i32; 1014 pub const DWRITE_PANOSE_STROKE_VARIATION_GRADUAL_TRANSITIONAL: DWRITE_PANOSE_STROKE_VARIATION = 4i32; 1015 pub const DWRITE_PANOSE_STROKE_VARIATION_GRADUAL_VERTICAL: DWRITE_PANOSE_STROKE_VARIATION = 5i32; 1016 pub const DWRITE_PANOSE_STROKE_VARIATION_GRADUAL_HORIZONTAL: DWRITE_PANOSE_STROKE_VARIATION = 6i32; 1017 pub const DWRITE_PANOSE_STROKE_VARIATION_RAPID_VERTICAL: DWRITE_PANOSE_STROKE_VARIATION = 7i32; 1018 pub const DWRITE_PANOSE_STROKE_VARIATION_RAPID_HORIZONTAL: DWRITE_PANOSE_STROKE_VARIATION = 8i32; 1019 pub const DWRITE_PANOSE_STROKE_VARIATION_INSTANT_VERTICAL: DWRITE_PANOSE_STROKE_VARIATION = 9i32; 1020 pub const DWRITE_PANOSE_STROKE_VARIATION_INSTANT_HORIZONTAL: DWRITE_PANOSE_STROKE_VARIATION = 10i32; 1021 pub type DWRITE_PANOSE_SYMBOL_ASPECT_RATIO = i32; 1022 pub const DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_ANY: DWRITE_PANOSE_SYMBOL_ASPECT_RATIO = 0i32; 1023 pub const DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_NO_FIT: DWRITE_PANOSE_SYMBOL_ASPECT_RATIO = 1i32; 1024 pub const DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_NO_WIDTH: DWRITE_PANOSE_SYMBOL_ASPECT_RATIO = 2i32; 1025 pub const DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_EXCEPTIONALLY_WIDE: DWRITE_PANOSE_SYMBOL_ASPECT_RATIO = 3i32; 1026 pub const DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_SUPER_WIDE: DWRITE_PANOSE_SYMBOL_ASPECT_RATIO = 4i32; 1027 pub const DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_VERY_WIDE: DWRITE_PANOSE_SYMBOL_ASPECT_RATIO = 5i32; 1028 pub const DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_WIDE: DWRITE_PANOSE_SYMBOL_ASPECT_RATIO = 6i32; 1029 pub const DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_NORMAL: DWRITE_PANOSE_SYMBOL_ASPECT_RATIO = 7i32; 1030 pub const DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_NARROW: DWRITE_PANOSE_SYMBOL_ASPECT_RATIO = 8i32; 1031 pub const DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_VERY_NARROW: DWRITE_PANOSE_SYMBOL_ASPECT_RATIO = 9i32; 1032 pub type DWRITE_PANOSE_SYMBOL_KIND = i32; 1033 pub const DWRITE_PANOSE_SYMBOL_KIND_ANY: DWRITE_PANOSE_SYMBOL_KIND = 0i32; 1034 pub const DWRITE_PANOSE_SYMBOL_KIND_NO_FIT: DWRITE_PANOSE_SYMBOL_KIND = 1i32; 1035 pub const DWRITE_PANOSE_SYMBOL_KIND_MONTAGES: DWRITE_PANOSE_SYMBOL_KIND = 2i32; 1036 pub const DWRITE_PANOSE_SYMBOL_KIND_PICTURES: DWRITE_PANOSE_SYMBOL_KIND = 3i32; 1037 pub const DWRITE_PANOSE_SYMBOL_KIND_SHAPES: DWRITE_PANOSE_SYMBOL_KIND = 4i32; 1038 pub const DWRITE_PANOSE_SYMBOL_KIND_SCIENTIFIC: DWRITE_PANOSE_SYMBOL_KIND = 5i32; 1039 pub const DWRITE_PANOSE_SYMBOL_KIND_MUSIC: DWRITE_PANOSE_SYMBOL_KIND = 6i32; 1040 pub const DWRITE_PANOSE_SYMBOL_KIND_EXPERT: DWRITE_PANOSE_SYMBOL_KIND = 7i32; 1041 pub const DWRITE_PANOSE_SYMBOL_KIND_PATTERNS: DWRITE_PANOSE_SYMBOL_KIND = 8i32; 1042 pub const DWRITE_PANOSE_SYMBOL_KIND_BOARDERS: DWRITE_PANOSE_SYMBOL_KIND = 9i32; 1043 pub const DWRITE_PANOSE_SYMBOL_KIND_ICONS: DWRITE_PANOSE_SYMBOL_KIND = 10i32; 1044 pub const DWRITE_PANOSE_SYMBOL_KIND_LOGOS: DWRITE_PANOSE_SYMBOL_KIND = 11i32; 1045 pub const DWRITE_PANOSE_SYMBOL_KIND_INDUSTRY_SPECIFIC: DWRITE_PANOSE_SYMBOL_KIND = 12i32; 1046 pub type DWRITE_PANOSE_TOOL_KIND = i32; 1047 pub const DWRITE_PANOSE_TOOL_KIND_ANY: DWRITE_PANOSE_TOOL_KIND = 0i32; 1048 pub const DWRITE_PANOSE_TOOL_KIND_NO_FIT: DWRITE_PANOSE_TOOL_KIND = 1i32; 1049 pub const DWRITE_PANOSE_TOOL_KIND_FLAT_NIB: DWRITE_PANOSE_TOOL_KIND = 2i32; 1050 pub const DWRITE_PANOSE_TOOL_KIND_PRESSURE_POINT: DWRITE_PANOSE_TOOL_KIND = 3i32; 1051 pub const DWRITE_PANOSE_TOOL_KIND_ENGRAVED: DWRITE_PANOSE_TOOL_KIND = 4i32; 1052 pub const DWRITE_PANOSE_TOOL_KIND_BALL: DWRITE_PANOSE_TOOL_KIND = 5i32; 1053 pub const DWRITE_PANOSE_TOOL_KIND_BRUSH: DWRITE_PANOSE_TOOL_KIND = 6i32; 1054 pub const DWRITE_PANOSE_TOOL_KIND_ROUGH: DWRITE_PANOSE_TOOL_KIND = 7i32; 1055 pub const DWRITE_PANOSE_TOOL_KIND_FELT_PEN_BRUSH_TIP: DWRITE_PANOSE_TOOL_KIND = 8i32; 1056 pub const DWRITE_PANOSE_TOOL_KIND_WILD_BRUSH: DWRITE_PANOSE_TOOL_KIND = 9i32; 1057 pub type DWRITE_PANOSE_WEIGHT = i32; 1058 pub const DWRITE_PANOSE_WEIGHT_ANY: DWRITE_PANOSE_WEIGHT = 0i32; 1059 pub const DWRITE_PANOSE_WEIGHT_NO_FIT: DWRITE_PANOSE_WEIGHT = 1i32; 1060 pub const DWRITE_PANOSE_WEIGHT_VERY_LIGHT: DWRITE_PANOSE_WEIGHT = 2i32; 1061 pub const DWRITE_PANOSE_WEIGHT_LIGHT: DWRITE_PANOSE_WEIGHT = 3i32; 1062 pub const DWRITE_PANOSE_WEIGHT_THIN: DWRITE_PANOSE_WEIGHT = 4i32; 1063 pub const DWRITE_PANOSE_WEIGHT_BOOK: DWRITE_PANOSE_WEIGHT = 5i32; 1064 pub const DWRITE_PANOSE_WEIGHT_MEDIUM: DWRITE_PANOSE_WEIGHT = 6i32; 1065 pub const DWRITE_PANOSE_WEIGHT_DEMI: DWRITE_PANOSE_WEIGHT = 7i32; 1066 pub const DWRITE_PANOSE_WEIGHT_BOLD: DWRITE_PANOSE_WEIGHT = 8i32; 1067 pub const DWRITE_PANOSE_WEIGHT_HEAVY: DWRITE_PANOSE_WEIGHT = 9i32; 1068 pub const DWRITE_PANOSE_WEIGHT_BLACK: DWRITE_PANOSE_WEIGHT = 10i32; 1069 pub const DWRITE_PANOSE_WEIGHT_EXTRA_BLACK: DWRITE_PANOSE_WEIGHT = 11i32; 1070 pub const DWRITE_PANOSE_WEIGHT_NORD: DWRITE_PANOSE_WEIGHT = 11i32; 1071 pub type DWRITE_PANOSE_XASCENT = i32; 1072 pub const DWRITE_PANOSE_XASCENT_ANY: DWRITE_PANOSE_XASCENT = 0i32; 1073 pub const DWRITE_PANOSE_XASCENT_NO_FIT: DWRITE_PANOSE_XASCENT = 1i32; 1074 pub const DWRITE_PANOSE_XASCENT_VERY_LOW: DWRITE_PANOSE_XASCENT = 2i32; 1075 pub const DWRITE_PANOSE_XASCENT_LOW: DWRITE_PANOSE_XASCENT = 3i32; 1076 pub const DWRITE_PANOSE_XASCENT_MEDIUM: DWRITE_PANOSE_XASCENT = 4i32; 1077 pub const DWRITE_PANOSE_XASCENT_HIGH: DWRITE_PANOSE_XASCENT = 5i32; 1078 pub const DWRITE_PANOSE_XASCENT_VERY_HIGH: DWRITE_PANOSE_XASCENT = 6i32; 1079 pub type DWRITE_PANOSE_XHEIGHT = i32; 1080 pub const DWRITE_PANOSE_XHEIGHT_ANY: DWRITE_PANOSE_XHEIGHT = 0i32; 1081 pub const DWRITE_PANOSE_XHEIGHT_NO_FIT: DWRITE_PANOSE_XHEIGHT = 1i32; 1082 pub const DWRITE_PANOSE_XHEIGHT_CONSTANT_SMALL: DWRITE_PANOSE_XHEIGHT = 2i32; 1083 pub const DWRITE_PANOSE_XHEIGHT_CONSTANT_STANDARD: DWRITE_PANOSE_XHEIGHT = 3i32; 1084 pub const DWRITE_PANOSE_XHEIGHT_CONSTANT_LARGE: DWRITE_PANOSE_XHEIGHT = 4i32; 1085 pub const DWRITE_PANOSE_XHEIGHT_DUCKING_SMALL: DWRITE_PANOSE_XHEIGHT = 5i32; 1086 pub const DWRITE_PANOSE_XHEIGHT_DUCKING_STANDARD: DWRITE_PANOSE_XHEIGHT = 6i32; 1087 pub const DWRITE_PANOSE_XHEIGHT_DUCKING_LARGE: DWRITE_PANOSE_XHEIGHT = 7i32; 1088 pub const DWRITE_PANOSE_XHEIGHT_CONSTANT_STD: DWRITE_PANOSE_XHEIGHT = 3i32; 1089 pub const DWRITE_PANOSE_XHEIGHT_DUCKING_STD: DWRITE_PANOSE_XHEIGHT = 6i32; 1090 pub type DWRITE_PARAGRAPH_ALIGNMENT = i32; 1091 pub const DWRITE_PARAGRAPH_ALIGNMENT_NEAR: DWRITE_PARAGRAPH_ALIGNMENT = 0i32; 1092 pub const DWRITE_PARAGRAPH_ALIGNMENT_FAR: DWRITE_PARAGRAPH_ALIGNMENT = 1i32; 1093 pub const DWRITE_PARAGRAPH_ALIGNMENT_CENTER: DWRITE_PARAGRAPH_ALIGNMENT = 2i32; 1094 pub type DWRITE_PIXEL_GEOMETRY = i32; 1095 pub const DWRITE_PIXEL_GEOMETRY_FLAT: DWRITE_PIXEL_GEOMETRY = 0i32; 1096 pub const DWRITE_PIXEL_GEOMETRY_RGB: DWRITE_PIXEL_GEOMETRY = 1i32; 1097 pub const DWRITE_PIXEL_GEOMETRY_BGR: DWRITE_PIXEL_GEOMETRY = 2i32; 1098 pub type DWRITE_READING_DIRECTION = i32; 1099 pub const DWRITE_READING_DIRECTION_LEFT_TO_RIGHT: DWRITE_READING_DIRECTION = 0i32; 1100 pub const DWRITE_READING_DIRECTION_RIGHT_TO_LEFT: DWRITE_READING_DIRECTION = 1i32; 1101 pub const DWRITE_READING_DIRECTION_TOP_TO_BOTTOM: DWRITE_READING_DIRECTION = 2i32; 1102 pub const DWRITE_READING_DIRECTION_BOTTOM_TO_TOP: DWRITE_READING_DIRECTION = 3i32; 1103 pub type DWRITE_RENDERING_MODE = i32; 1104 pub const DWRITE_RENDERING_MODE_DEFAULT: DWRITE_RENDERING_MODE = 0i32; 1105 pub const DWRITE_RENDERING_MODE_ALIASED: DWRITE_RENDERING_MODE = 1i32; 1106 pub const DWRITE_RENDERING_MODE_GDI_CLASSIC: DWRITE_RENDERING_MODE = 2i32; 1107 pub const DWRITE_RENDERING_MODE_GDI_NATURAL: DWRITE_RENDERING_MODE = 3i32; 1108 pub const DWRITE_RENDERING_MODE_NATURAL: DWRITE_RENDERING_MODE = 4i32; 1109 pub const DWRITE_RENDERING_MODE_NATURAL_SYMMETRIC: DWRITE_RENDERING_MODE = 5i32; 1110 pub const DWRITE_RENDERING_MODE_OUTLINE: DWRITE_RENDERING_MODE = 6i32; 1111 pub const DWRITE_RENDERING_MODE_CLEARTYPE_GDI_CLASSIC: DWRITE_RENDERING_MODE = 2i32; 1112 pub const DWRITE_RENDERING_MODE_CLEARTYPE_GDI_NATURAL: DWRITE_RENDERING_MODE = 3i32; 1113 pub const DWRITE_RENDERING_MODE_CLEARTYPE_NATURAL: DWRITE_RENDERING_MODE = 4i32; 1114 pub const DWRITE_RENDERING_MODE_CLEARTYPE_NATURAL_SYMMETRIC: DWRITE_RENDERING_MODE = 5i32; 1115 pub type DWRITE_RENDERING_MODE1 = i32; 1116 pub const DWRITE_RENDERING_MODE1_DEFAULT: DWRITE_RENDERING_MODE1 = 0i32; 1117 pub const DWRITE_RENDERING_MODE1_ALIASED: DWRITE_RENDERING_MODE1 = 1i32; 1118 pub const DWRITE_RENDERING_MODE1_GDI_CLASSIC: DWRITE_RENDERING_MODE1 = 2i32; 1119 pub const DWRITE_RENDERING_MODE1_GDI_NATURAL: DWRITE_RENDERING_MODE1 = 3i32; 1120 pub const DWRITE_RENDERING_MODE1_NATURAL: DWRITE_RENDERING_MODE1 = 4i32; 1121 pub const DWRITE_RENDERING_MODE1_NATURAL_SYMMETRIC: DWRITE_RENDERING_MODE1 = 5i32; 1122 pub const DWRITE_RENDERING_MODE1_OUTLINE: DWRITE_RENDERING_MODE1 = 6i32; 1123 pub const DWRITE_RENDERING_MODE1_NATURAL_SYMMETRIC_DOWNSAMPLED: DWRITE_RENDERING_MODE1 = 7i32; 1124 #[repr(C)] 1125 pub struct DWRITE_SCRIPT_ANALYSIS { 1126 pub script: u16, 1127 pub shapes: DWRITE_SCRIPT_SHAPES, 1128 } 1129 impl ::core::marker::Copy for DWRITE_SCRIPT_ANALYSIS {} 1130 impl ::core::clone::Clone for DWRITE_SCRIPT_ANALYSIS { clone(&self) -> Self1131 fn clone(&self) -> Self { 1132 *self 1133 } 1134 } 1135 #[repr(C)] 1136 pub struct DWRITE_SCRIPT_PROPERTIES { 1137 pub isoScriptCode: u32, 1138 pub isoScriptNumber: u32, 1139 pub clusterLookahead: u32, 1140 pub justificationCharacter: u32, 1141 pub _bitfield: u32, 1142 } 1143 impl ::core::marker::Copy for DWRITE_SCRIPT_PROPERTIES {} 1144 impl ::core::clone::Clone for DWRITE_SCRIPT_PROPERTIES { clone(&self) -> Self1145 fn clone(&self) -> Self { 1146 *self 1147 } 1148 } 1149 pub type DWRITE_SCRIPT_SHAPES = u32; 1150 pub const DWRITE_SCRIPT_SHAPES_DEFAULT: DWRITE_SCRIPT_SHAPES = 0u32; 1151 pub const DWRITE_SCRIPT_SHAPES_NO_VISUAL: DWRITE_SCRIPT_SHAPES = 1u32; 1152 #[repr(C)] 1153 pub struct DWRITE_SHAPING_GLYPH_PROPERTIES { 1154 pub _bitfield: u16, 1155 } 1156 impl ::core::marker::Copy for DWRITE_SHAPING_GLYPH_PROPERTIES {} 1157 impl ::core::clone::Clone for DWRITE_SHAPING_GLYPH_PROPERTIES { clone(&self) -> Self1158 fn clone(&self) -> Self { 1159 *self 1160 } 1161 } 1162 #[repr(C)] 1163 pub struct DWRITE_SHAPING_TEXT_PROPERTIES { 1164 pub _bitfield: u16, 1165 } 1166 impl ::core::marker::Copy for DWRITE_SHAPING_TEXT_PROPERTIES {} 1167 impl ::core::clone::Clone for DWRITE_SHAPING_TEXT_PROPERTIES { clone(&self) -> Self1168 fn clone(&self) -> Self { 1169 *self 1170 } 1171 } 1172 #[repr(C)] 1173 #[cfg(feature = "Win32_Foundation")] 1174 pub struct DWRITE_STRIKETHROUGH { 1175 pub width: f32, 1176 pub thickness: f32, 1177 pub offset: f32, 1178 pub readingDirection: DWRITE_READING_DIRECTION, 1179 pub flowDirection: DWRITE_FLOW_DIRECTION, 1180 pub localeName: super::super::Foundation::PWSTR, 1181 pub measuringMode: DWRITE_MEASURING_MODE, 1182 } 1183 #[cfg(feature = "Win32_Foundation")] 1184 impl ::core::marker::Copy for DWRITE_STRIKETHROUGH {} 1185 #[cfg(feature = "Win32_Foundation")] 1186 impl ::core::clone::Clone for DWRITE_STRIKETHROUGH { clone(&self) -> Self1187 fn clone(&self) -> Self { 1188 *self 1189 } 1190 } 1191 pub type DWRITE_TEXTURE_TYPE = i32; 1192 pub const DWRITE_TEXTURE_ALIASED_1x1: DWRITE_TEXTURE_TYPE = 0i32; 1193 pub const DWRITE_TEXTURE_CLEARTYPE_3x1: DWRITE_TEXTURE_TYPE = 1i32; 1194 pub type DWRITE_TEXT_ALIGNMENT = i32; 1195 pub const DWRITE_TEXT_ALIGNMENT_LEADING: DWRITE_TEXT_ALIGNMENT = 0i32; 1196 pub const DWRITE_TEXT_ALIGNMENT_TRAILING: DWRITE_TEXT_ALIGNMENT = 1i32; 1197 pub const DWRITE_TEXT_ALIGNMENT_CENTER: DWRITE_TEXT_ALIGNMENT = 2i32; 1198 pub const DWRITE_TEXT_ALIGNMENT_JUSTIFIED: DWRITE_TEXT_ALIGNMENT = 3i32; 1199 pub type DWRITE_TEXT_ANTIALIAS_MODE = i32; 1200 pub const DWRITE_TEXT_ANTIALIAS_MODE_CLEARTYPE: DWRITE_TEXT_ANTIALIAS_MODE = 0i32; 1201 pub const DWRITE_TEXT_ANTIALIAS_MODE_GRAYSCALE: DWRITE_TEXT_ANTIALIAS_MODE = 1i32; 1202 #[repr(C)] 1203 pub struct DWRITE_TEXT_METRICS { 1204 pub left: f32, 1205 pub top: f32, 1206 pub width: f32, 1207 pub widthIncludingTrailingWhitespace: f32, 1208 pub height: f32, 1209 pub layoutWidth: f32, 1210 pub layoutHeight: f32, 1211 pub maxBidiReorderingDepth: u32, 1212 pub lineCount: u32, 1213 } 1214 impl ::core::marker::Copy for DWRITE_TEXT_METRICS {} 1215 impl ::core::clone::Clone for DWRITE_TEXT_METRICS { clone(&self) -> Self1216 fn clone(&self) -> Self { 1217 *self 1218 } 1219 } 1220 #[repr(C)] 1221 pub struct DWRITE_TEXT_METRICS1 { 1222 pub Base: DWRITE_TEXT_METRICS, 1223 pub heightIncludingTrailingWhitespace: f32, 1224 } 1225 impl ::core::marker::Copy for DWRITE_TEXT_METRICS1 {} 1226 impl ::core::clone::Clone for DWRITE_TEXT_METRICS1 { clone(&self) -> Self1227 fn clone(&self) -> Self { 1228 *self 1229 } 1230 } 1231 #[repr(C)] 1232 pub struct DWRITE_TEXT_RANGE { 1233 pub startPosition: u32, 1234 pub length: u32, 1235 } 1236 impl ::core::marker::Copy for DWRITE_TEXT_RANGE {} 1237 impl ::core::clone::Clone for DWRITE_TEXT_RANGE { clone(&self) -> Self1238 fn clone(&self) -> Self { 1239 *self 1240 } 1241 } 1242 #[repr(C)] 1243 pub struct DWRITE_TRIMMING { 1244 pub granularity: DWRITE_TRIMMING_GRANULARITY, 1245 pub delimiter: u32, 1246 pub delimiterCount: u32, 1247 } 1248 impl ::core::marker::Copy for DWRITE_TRIMMING {} 1249 impl ::core::clone::Clone for DWRITE_TRIMMING { clone(&self) -> Self1250 fn clone(&self) -> Self { 1251 *self 1252 } 1253 } 1254 pub type DWRITE_TRIMMING_GRANULARITY = i32; 1255 pub const DWRITE_TRIMMING_GRANULARITY_NONE: DWRITE_TRIMMING_GRANULARITY = 0i32; 1256 pub const DWRITE_TRIMMING_GRANULARITY_CHARACTER: DWRITE_TRIMMING_GRANULARITY = 1i32; 1257 pub const DWRITE_TRIMMING_GRANULARITY_WORD: DWRITE_TRIMMING_GRANULARITY = 2i32; 1258 #[repr(C)] 1259 pub struct DWRITE_TYPOGRAPHIC_FEATURES { 1260 pub features: *mut DWRITE_FONT_FEATURE, 1261 pub featureCount: u32, 1262 } 1263 impl ::core::marker::Copy for DWRITE_TYPOGRAPHIC_FEATURES {} 1264 impl ::core::clone::Clone for DWRITE_TYPOGRAPHIC_FEATURES { clone(&self) -> Self1265 fn clone(&self) -> Self { 1266 *self 1267 } 1268 } 1269 #[repr(C)] 1270 #[cfg(feature = "Win32_Foundation")] 1271 pub struct DWRITE_UNDERLINE { 1272 pub width: f32, 1273 pub thickness: f32, 1274 pub offset: f32, 1275 pub runHeight: f32, 1276 pub readingDirection: DWRITE_READING_DIRECTION, 1277 pub flowDirection: DWRITE_FLOW_DIRECTION, 1278 pub localeName: super::super::Foundation::PWSTR, 1279 pub measuringMode: DWRITE_MEASURING_MODE, 1280 } 1281 #[cfg(feature = "Win32_Foundation")] 1282 impl ::core::marker::Copy for DWRITE_UNDERLINE {} 1283 #[cfg(feature = "Win32_Foundation")] 1284 impl ::core::clone::Clone for DWRITE_UNDERLINE { clone(&self) -> Self1285 fn clone(&self) -> Self { 1286 *self 1287 } 1288 } 1289 #[repr(C)] 1290 pub struct DWRITE_UNICODE_RANGE { 1291 pub first: u32, 1292 pub last: u32, 1293 } 1294 impl ::core::marker::Copy for DWRITE_UNICODE_RANGE {} 1295 impl ::core::clone::Clone for DWRITE_UNICODE_RANGE { clone(&self) -> Self1296 fn clone(&self) -> Self { 1297 *self 1298 } 1299 } 1300 pub type DWRITE_VERTICAL_GLYPH_ORIENTATION = i32; 1301 pub const DWRITE_VERTICAL_GLYPH_ORIENTATION_DEFAULT: DWRITE_VERTICAL_GLYPH_ORIENTATION = 0i32; 1302 pub const DWRITE_VERTICAL_GLYPH_ORIENTATION_STACKED: DWRITE_VERTICAL_GLYPH_ORIENTATION = 1i32; 1303 pub type DWRITE_WORD_WRAPPING = i32; 1304 pub const DWRITE_WORD_WRAPPING_WRAP: DWRITE_WORD_WRAPPING = 0i32; 1305 pub const DWRITE_WORD_WRAPPING_NO_WRAP: DWRITE_WORD_WRAPPING = 1i32; 1306 pub const DWRITE_WORD_WRAPPING_EMERGENCY_BREAK: DWRITE_WORD_WRAPPING = 2i32; 1307 pub const DWRITE_WORD_WRAPPING_WHOLE_WORD: DWRITE_WORD_WRAPPING = 3i32; 1308 pub const DWRITE_WORD_WRAPPING_CHARACTER: DWRITE_WORD_WRAPPING = 4i32; 1309 pub const FACILITY_DWRITE: u32 = 2200u32; 1310 pub type IDWriteAsyncResult = *mut ::core::ffi::c_void; 1311 pub type IDWriteBitmapRenderTarget = *mut ::core::ffi::c_void; 1312 pub type IDWriteBitmapRenderTarget1 = *mut ::core::ffi::c_void; 1313 pub type IDWriteColorGlyphRunEnumerator = *mut ::core::ffi::c_void; 1314 pub type IDWriteColorGlyphRunEnumerator1 = *mut ::core::ffi::c_void; 1315 pub type IDWriteFactory = *mut ::core::ffi::c_void; 1316 pub type IDWriteFactory1 = *mut ::core::ffi::c_void; 1317 pub type IDWriteFactory2 = *mut ::core::ffi::c_void; 1318 pub type IDWriteFactory3 = *mut ::core::ffi::c_void; 1319 pub type IDWriteFactory4 = *mut ::core::ffi::c_void; 1320 pub type IDWriteFactory5 = *mut ::core::ffi::c_void; 1321 pub type IDWriteFactory6 = *mut ::core::ffi::c_void; 1322 pub type IDWriteFactory7 = *mut ::core::ffi::c_void; 1323 pub type IDWriteFont = *mut ::core::ffi::c_void; 1324 pub type IDWriteFont1 = *mut ::core::ffi::c_void; 1325 pub type IDWriteFont2 = *mut ::core::ffi::c_void; 1326 pub type IDWriteFont3 = *mut ::core::ffi::c_void; 1327 pub type IDWriteFontCollection = *mut ::core::ffi::c_void; 1328 pub type IDWriteFontCollection1 = *mut ::core::ffi::c_void; 1329 pub type IDWriteFontCollection2 = *mut ::core::ffi::c_void; 1330 pub type IDWriteFontCollection3 = *mut ::core::ffi::c_void; 1331 pub type IDWriteFontCollectionLoader = *mut ::core::ffi::c_void; 1332 pub type IDWriteFontDownloadListener = *mut ::core::ffi::c_void; 1333 pub type IDWriteFontDownloadQueue = *mut ::core::ffi::c_void; 1334 pub type IDWriteFontFace = *mut ::core::ffi::c_void; 1335 pub type IDWriteFontFace1 = *mut ::core::ffi::c_void; 1336 pub type IDWriteFontFace2 = *mut ::core::ffi::c_void; 1337 pub type IDWriteFontFace3 = *mut ::core::ffi::c_void; 1338 pub type IDWriteFontFace4 = *mut ::core::ffi::c_void; 1339 pub type IDWriteFontFace5 = *mut ::core::ffi::c_void; 1340 pub type IDWriteFontFace6 = *mut ::core::ffi::c_void; 1341 pub type IDWriteFontFaceReference = *mut ::core::ffi::c_void; 1342 pub type IDWriteFontFaceReference1 = *mut ::core::ffi::c_void; 1343 pub type IDWriteFontFallback = *mut ::core::ffi::c_void; 1344 pub type IDWriteFontFallback1 = *mut ::core::ffi::c_void; 1345 pub type IDWriteFontFallbackBuilder = *mut ::core::ffi::c_void; 1346 pub type IDWriteFontFamily = *mut ::core::ffi::c_void; 1347 pub type IDWriteFontFamily1 = *mut ::core::ffi::c_void; 1348 pub type IDWriteFontFamily2 = *mut ::core::ffi::c_void; 1349 pub type IDWriteFontFile = *mut ::core::ffi::c_void; 1350 pub type IDWriteFontFileEnumerator = *mut ::core::ffi::c_void; 1351 pub type IDWriteFontFileLoader = *mut ::core::ffi::c_void; 1352 pub type IDWriteFontFileStream = *mut ::core::ffi::c_void; 1353 pub type IDWriteFontList = *mut ::core::ffi::c_void; 1354 pub type IDWriteFontList1 = *mut ::core::ffi::c_void; 1355 pub type IDWriteFontList2 = *mut ::core::ffi::c_void; 1356 pub type IDWriteFontResource = *mut ::core::ffi::c_void; 1357 pub type IDWriteFontSet = *mut ::core::ffi::c_void; 1358 pub type IDWriteFontSet1 = *mut ::core::ffi::c_void; 1359 pub type IDWriteFontSet2 = *mut ::core::ffi::c_void; 1360 pub type IDWriteFontSet3 = *mut ::core::ffi::c_void; 1361 pub type IDWriteFontSetBuilder = *mut ::core::ffi::c_void; 1362 pub type IDWriteFontSetBuilder1 = *mut ::core::ffi::c_void; 1363 pub type IDWriteFontSetBuilder2 = *mut ::core::ffi::c_void; 1364 pub type IDWriteGdiInterop = *mut ::core::ffi::c_void; 1365 pub type IDWriteGdiInterop1 = *mut ::core::ffi::c_void; 1366 pub type IDWriteGlyphRunAnalysis = *mut ::core::ffi::c_void; 1367 pub type IDWriteInMemoryFontFileLoader = *mut ::core::ffi::c_void; 1368 pub type IDWriteInlineObject = *mut ::core::ffi::c_void; 1369 pub type IDWriteLocalFontFileLoader = *mut ::core::ffi::c_void; 1370 pub type IDWriteLocalizedStrings = *mut ::core::ffi::c_void; 1371 pub type IDWriteNumberSubstitution = *mut ::core::ffi::c_void; 1372 pub type IDWritePixelSnapping = *mut ::core::ffi::c_void; 1373 pub type IDWriteRemoteFontFileLoader = *mut ::core::ffi::c_void; 1374 pub type IDWriteRemoteFontFileStream = *mut ::core::ffi::c_void; 1375 pub type IDWriteRenderingParams = *mut ::core::ffi::c_void; 1376 pub type IDWriteRenderingParams1 = *mut ::core::ffi::c_void; 1377 pub type IDWriteRenderingParams2 = *mut ::core::ffi::c_void; 1378 pub type IDWriteRenderingParams3 = *mut ::core::ffi::c_void; 1379 pub type IDWriteStringList = *mut ::core::ffi::c_void; 1380 pub type IDWriteTextAnalysisSink = *mut ::core::ffi::c_void; 1381 pub type IDWriteTextAnalysisSink1 = *mut ::core::ffi::c_void; 1382 pub type IDWriteTextAnalysisSource = *mut ::core::ffi::c_void; 1383 pub type IDWriteTextAnalysisSource1 = *mut ::core::ffi::c_void; 1384 pub type IDWriteTextAnalyzer = *mut ::core::ffi::c_void; 1385 pub type IDWriteTextAnalyzer1 = *mut ::core::ffi::c_void; 1386 pub type IDWriteTextAnalyzer2 = *mut ::core::ffi::c_void; 1387 pub type IDWriteTextFormat = *mut ::core::ffi::c_void; 1388 pub type IDWriteTextFormat1 = *mut ::core::ffi::c_void; 1389 pub type IDWriteTextFormat2 = *mut ::core::ffi::c_void; 1390 pub type IDWriteTextFormat3 = *mut ::core::ffi::c_void; 1391 pub type IDWriteTextLayout = *mut ::core::ffi::c_void; 1392 pub type IDWriteTextLayout1 = *mut ::core::ffi::c_void; 1393 pub type IDWriteTextLayout2 = *mut ::core::ffi::c_void; 1394 pub type IDWriteTextLayout3 = *mut ::core::ffi::c_void; 1395 pub type IDWriteTextLayout4 = *mut ::core::ffi::c_void; 1396 pub type IDWriteTextRenderer = *mut ::core::ffi::c_void; 1397 pub type IDWriteTextRenderer1 = *mut ::core::ffi::c_void; 1398 pub type IDWriteTypography = *mut ::core::ffi::c_void; 1399