1 module directx.d2d1effects; 2 //--------------------------------------------------------------------------- 3 // Copyright (c) Microsoft Corporation. All rights reserved. 4 // 5 // This file is automatically generated. Please do not edit it directly. 6 // 7 // File name: D2D1Effects.h 8 //--------------------------------------------------------------------------- 9 10 version(Windows): 11 12 import core.sys.windows.com; 13 14 // Built in effect CLSIDs 15 const GUID CLSID_D2D12DAffineTransform = { 0x6AA97485, 0x6354, 0x4cfc, [0x90, 0x8C, 0xE4, 0xA7, 0x4F, 0x62, 0xC9, 0x6C] }; 16 const GUID CLSID_D2D13DPerspectiveTransform = { 0xC2844D0B, 0x3D86, 0x46e7, [0x85, 0xBA, 0x52, 0x6C, 0x92, 0x40, 0xF3, 0xFB] }; 17 const GUID CLSID_D2D13DTransform = { 0xe8467b04, 0xec61, 0x4b8a, [0xb5, 0xde, 0xd4, 0xd7, 0x3d, 0xeb, 0xea, 0x5a] }; 18 const GUID CLSID_D2D1ArithmeticComposite = { 0xfc151437, 0x049a, 0x4784, [0xa2, 0x4a, 0xf1, 0xc4, 0xda, 0xf2, 0x09, 0x87] }; 19 const GUID CLSID_D2D1Atlas = { 0x913e2be4, 0xfdcf, 0x4fe2, [0xa5, 0xf0, 0x24, 0x54, 0xf1, 0x4f, 0xf4, 0x8] }; 20 const GUID CLSID_D2D1BitmapSource = { 0x5fb6c24d, 0xc6dd, 0x4231, [0x94, 0x4, 0x50, 0xf4, 0xd5, 0xc3, 0x25, 0x2d] }; 21 const GUID CLSID_D2D1Blend = { 0x81c5b77b, 0x13f8, 0x4cdd, [0xad, 0x20, 0xc8, 0x90, 0x54, 0x7a, 0xc6, 0x5d] }; 22 const GUID CLSID_D2D1Border = { 0x2A2D49C0, 0x4ACF, 0x43c7, [0x8C, 0x6A, 0x7C, 0x4A, 0x27, 0x87, 0x4D, 0x27] }; 23 const GUID CLSID_D2D1Brightness = { 0x8cea8d1e, 0x77b0, 0x4986, [0xb3, 0xb9, 0x2f, 0x0c, 0x0e, 0xae, 0x78, 0x87] }; 24 const GUID CLSID_D2D1ColorManagement = { 0x1A28524C, 0xFDD6, 0x4AA4, [0xAE, 0x8F, 0x83, 0x7E, 0xB8, 0x26, 0x7B, 0x37] }; 25 const GUID CLSID_D2D1ColorMatrix = { 0x921F03D6, 0x641C, 0x47DF, [0x85, 0x2D, 0xB4, 0xBB, 0x61, 0x53, 0xAE, 0x11] }; 26 const GUID CLSID_D2D1Composite = { 0x48fc9f51, 0xf6ac, 0x48f1, [0x8b, 0x58, 0x3b, 0x28, 0xac, 0x46, 0xf7, 0x6d] }; 27 const GUID CLSID_D2D1ConvolveMatrix = { 0x407f8c08, 0x5533, 0x4331, [0xa3, 0x41, 0x23, 0xcc, 0x38, 0x77, 0x84, 0x3e] }; 28 const GUID CLSID_D2D1Crop = { 0xE23F7110, 0x0E9A, 0x4324, [0xAF, 0x47, 0x6A, 0x2C, 0x0C, 0x46, 0xF3, 0x5B] }; 29 const GUID CLSID_D2D1DirectionalBlur = { 0x174319a6, 0x58e9, 0x49b2, [0xbb, 0x63, 0xca, 0xf2, 0xc8, 0x11, 0xa3, 0xdb] }; 30 const GUID CLSID_D2D1DiscreteTransfer = { 0x90866fcd, 0x488e, 0x454b, [0xaf, 0x06, 0xe5, 0x04, 0x1b, 0x66, 0xc3, 0x6c] }; 31 const GUID CLSID_D2D1DisplacementMap = { 0xedc48364, 0x417, 0x4111, [0x94, 0x50, 0x43, 0x84, 0x5f, 0xa9, 0xf8, 0x90] }; 32 const GUID CLSID_D2D1DistantDiffuse = { 0x3e7efd62, 0xa32d, 0x46d4, [0xa8, 0x3c, 0x52, 0x78, 0x88, 0x9a, 0xc9, 0x54] }; 33 const GUID CLSID_D2D1DistantSpecular = { 0x428c1ee5, 0x77b8, 0x4450, [0x8a, 0xb5, 0x72, 0x21, 0x9c, 0x21, 0xab, 0xda] }; 34 const GUID CLSID_D2D1DpiCompensation = { 0x6c26c5c7, 0x34e0, 0x46fc, [0x9c, 0xfd, 0xe5, 0x82, 0x37, 0x6, 0xe2, 0x28] }; 35 const GUID CLSID_D2D1Flood = { 0x61c23c20, 0xae69, 0x4d8e, [0x94, 0xcf, 0x50, 0x07, 0x8d, 0xf6, 0x38, 0xf2] }; 36 const GUID CLSID_D2D1GammaTransfer = { 0x409444c4, 0xc419, 0x41a0, [0xb0, 0xc1, 0x8c, 0xd0, 0xc0, 0xa1, 0x8e, 0x42] }; 37 const GUID CLSID_D2D1GaussianBlur = { 0x1feb6d69, 0x2fe6, 0x4ac9, [0x8c, 0x58, 0x1d, 0x7f, 0x93, 0xe7, 0xa6, 0xa5] }; 38 const GUID CLSID_D2D1Scale = { 0x9daf9369, 0x3846, 0x4d0e, [0xa4, 0x4e, 0xc, 0x60, 0x79, 0x34, 0xa5, 0xd7] }; 39 const GUID CLSID_D2D1Histogram = { 0x881db7d0, 0xf7ee, 0x4d4d, [0xa6, 0xd2, 0x46, 0x97, 0xac, 0xc6, 0x6e, 0xe8] }; 40 const GUID CLSID_D2D1HueRotation = { 0x0f4458ec, 0x4b32, 0x491b, [0x9e, 0x85, 0xbd, 0x73, 0xf4, 0x4d, 0x3e, 0xb6] }; 41 const GUID CLSID_D2D1LinearTransfer = { 0xad47c8fd, 0x63ef, 0x4acc, [0x9b, 0x51, 0x67, 0x97, 0x9c, 0x03, 0x6c, 0x06] }; 42 const GUID CLSID_D2D1LuminanceToAlpha = { 0x41251ab7, 0x0beb, 0x46f8, [0x9d, 0xa7, 0x59, 0xe9, 0x3f, 0xcc, 0xe5, 0xde] }; 43 const GUID CLSID_D2D1Morphology = { 0xeae6c40d, 0x626a, 0x4c2d, [0xbf, 0xcb, 0x39, 0x10, 0x01, 0xab, 0xe2, 0x02] }; 44 const GUID CLSID_D2D1OpacityMetadata = { 0x6c53006a, 0x4450, 0x4199, [0xaa, 0x5b, 0xad, 0x16, 0x56, 0xfe, 0xce, 0x5e] }; 45 const GUID CLSID_D2D1PointDiffuse = { 0xb9e303c3, 0xc08c, 0x4f91, [0x8b, 0x7b, 0x38, 0x65, 0x6b, 0xc4, 0x8c, 0x20] }; 46 const GUID CLSID_D2D1PointSpecular = { 0x09c3ca26, 0x3ae2, 0x4f09, [0x9e, 0xbc, 0xed, 0x38, 0x65, 0xd5, 0x3f, 0x22] }; 47 const GUID CLSID_D2D1Premultiply = { 0x06eab419, 0xdeed, 0x4018, [0x80, 0xd2, 0x3e, 0x1d, 0x47, 0x1a, 0xde, 0xb2] }; 48 const GUID CLSID_D2D1Saturation = { 0x5cb2d9cf, 0x327d, 0x459f, [0xa0, 0xce, 0x40, 0xc0, 0xb2, 0x08, 0x6b, 0xf7] }; 49 const GUID CLSID_D2D1Shadow = { 0xC67EA361, 0x1863, 0x4e69, [0x89, 0xDB, 0x69, 0x5D, 0x3E, 0x9A, 0x5B, 0x6B] }; 50 const GUID CLSID_D2D1SpotDiffuse = { 0x818a1105, 0x7932, 0x44f4, [0xaa, 0x86, 0x08, 0xae, 0x7b, 0x2f, 0x2c, 0x93] }; 51 const GUID CLSID_D2D1SpotSpecular = { 0xedae421e, 0x7654, 0x4a37, [0x9d, 0xb8, 0x71, 0xac, 0xc1, 0xbe, 0xb3, 0xc1] }; 52 const GUID CLSID_D2D1TableTransfer = { 0x5bf818c3, 0x5e43, 0x48cb, [0xb6, 0x31, 0x86, 0x83, 0x96, 0xd6, 0xa1, 0xd4] }; 53 const GUID CLSID_D2D1Tile = { 0xB0784138, 0x3B76, 0x4bc5, [0xB1, 0x3B, 0x0F, 0xA2, 0xAD, 0x02, 0x65, 0x9F] }; 54 const GUID CLSID_D2D1Turbulence = { 0xCF2BB6AE, 0x889A, 0x4ad7, [0xBA, 0x29, 0xA2, 0xFD, 0x73, 0x2C, 0x9F, 0xC9] }; 55 const GUID CLSID_D2D1UnPremultiply = { 0xfb9ac489, 0xad8d, 0x41ed, [0x99, 0x99, 0xbb, 0x63, 0x47, 0xd1, 0x10, 0xf7] }; 56 57 58 /// <summary> 59 /// Specifies how the Crop effect handles the crop rectangle falling on fractional 60 /// pixel coordinates. 61 /// </summary> 62 alias D2D1_BORDER_MODE = uint; 63 enum : D2D1_BORDER_MODE 64 { 65 D2D1_BORDER_MODE_SOFT = 0, 66 D2D1_BORDER_MODE_HARD = 1 67 } 68 69 70 /// <summary> 71 /// Specifies the color channel the Displacement map effect extracts the intensity 72 /// from and uses it to spatially displace the image in the X or Y direction. 73 /// </summary> 74 alias D2D1_CHANNEL_SELECTOR = uint; 75 enum : D2D1_CHANNEL_SELECTOR 76 { 77 D2D1_CHANNEL_SELECTOR_R = 0, 78 D2D1_CHANNEL_SELECTOR_G = 1, 79 D2D1_CHANNEL_SELECTOR_B = 2, 80 D2D1_CHANNEL_SELECTOR_A = 3 81 } 82 83 84 /// <summary> 85 /// Speficies whether a flip and/or rotation operation should be performed by the 86 /// Bitmap source effect 87 /// </summary> 88 alias D2D1_BITMAPSOURCE_ORIENTATION = uint; 89 enum : D2D1_BITMAPSOURCE_ORIENTATION 90 { 91 D2D1_BITMAPSOURCE_ORIENTATION_DEFAULT = 1, 92 D2D1_BITMAPSOURCE_ORIENTATION_FLIP_HORIZONTAL = 2, 93 D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE180 = 3, 94 D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE180_FLIP_HORIZONTAL = 4, 95 D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE270_FLIP_HORIZONTAL = 5, 96 D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE90 = 6, 97 D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE90_FLIP_HORIZONTAL = 7, 98 D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE270 = 8 99 } 100 101 102 /// <summary> 103 /// The enumeration of the Gaussian Blur effect's top level properties. 104 /// </summary> 105 alias D2D1_GAUSSIANBLUR_PROP = uint; 106 enum : D2D1_GAUSSIANBLUR_PROP 107 { 108 109 /// <summary> 110 /// Property Name: "StandardDeviation" 111 /// Property Type: FLOAT 112 /// </summary> 113 D2D1_GAUSSIANBLUR_PROP_STANDARD_DEVIATION = 0, 114 115 /// <summary> 116 /// Property Name: "Optimization" 117 /// Property Type: D2D1_GAUSSIANBLUR_OPTIMIZATION 118 /// </summary> 119 D2D1_GAUSSIANBLUR_PROP_OPTIMIZATION = 1, 120 121 /// <summary> 122 /// Property Name: "BorderMode" 123 /// Property Type: D2D1_BORDER_MODE 124 /// </summary> 125 D2D1_GAUSSIANBLUR_PROP_BORDER_MODE = 2 126 } 127 128 alias D2D1_GAUSSIANBLUR_OPTIMIZATION = uint; 129 enum : D2D1_GAUSSIANBLUR_OPTIMIZATION 130 { 131 D2D1_GAUSSIANBLUR_OPTIMIZATION_SPEED = 0, 132 D2D1_GAUSSIANBLUR_OPTIMIZATION_BALANCED = 1, 133 D2D1_GAUSSIANBLUR_OPTIMIZATION_QUALITY = 2 134 } 135 136 137 /// <summary> 138 /// The enumeration of the Directional Blur effect's top level properties. 139 /// </summary> 140 alias D2D1_DIRECTIONALBLUR_PROP = uint; 141 enum : D2D1_DIRECTIONALBLUR_PROP 142 { 143 144 /// <summary> 145 /// Property Name: "StandardDeviation" 146 /// Property Type: FLOAT 147 /// </summary> 148 D2D1_DIRECTIONALBLUR_PROP_STANDARD_DEVIATION = 0, 149 150 /// <summary> 151 /// Property Name: "Angle" 152 /// Property Type: FLOAT 153 /// </summary> 154 D2D1_DIRECTIONALBLUR_PROP_ANGLE = 1, 155 156 /// <summary> 157 /// Property Name: "Optimization" 158 /// Property Type: D2D1_DIRECTIONALBLUR_OPTIMIZATION 159 /// </summary> 160 D2D1_DIRECTIONALBLUR_PROP_OPTIMIZATION = 2, 161 162 /// <summary> 163 /// Property Name: "BorderMode" 164 /// Property Type: D2D1_BORDER_MODE 165 /// </summary> 166 D2D1_DIRECTIONALBLUR_PROP_BORDER_MODE = 3 167 } 168 169 alias D2D1_DIRECTIONALBLUR_OPTIMIZATION = uint; 170 enum : D2D1_DIRECTIONALBLUR_OPTIMIZATION 171 { 172 D2D1_DIRECTIONALBLUR_OPTIMIZATION_SPEED = 0, 173 D2D1_DIRECTIONALBLUR_OPTIMIZATION_BALANCED = 1, 174 D2D1_DIRECTIONALBLUR_OPTIMIZATION_QUALITY = 2 175 } 176 177 178 /// <summary> 179 /// The enumeration of the Shadow effect's top level properties. 180 /// </summary> 181 alias D2D1_SHADOW_PROP = uint; 182 enum : D2D1_SHADOW_PROP 183 { 184 185 /// <summary> 186 /// Property Name: "BlurStandardDeviation" 187 /// Property Type: FLOAT 188 /// </summary> 189 D2D1_SHADOW_PROP_BLUR_STANDARD_DEVIATION = 0, 190 191 /// <summary> 192 /// Property Name: "Color" 193 /// Property Type: D2D1_VECTOR_4F 194 /// </summary> 195 D2D1_SHADOW_PROP_COLOR = 1, 196 197 /// <summary> 198 /// Property Name: "Optimization" 199 /// Property Type: D2D1_SHADOW_OPTIMIZATION 200 /// </summary> 201 D2D1_SHADOW_PROP_OPTIMIZATION = 2 202 } 203 204 alias D2D1_SHADOW_OPTIMIZATION = uint; 205 enum : D2D1_SHADOW_OPTIMIZATION 206 { 207 D2D1_SHADOW_OPTIMIZATION_SPEED = 0, 208 D2D1_SHADOW_OPTIMIZATION_BALANCED = 1, 209 D2D1_SHADOW_OPTIMIZATION_QUALITY = 2 210 } 211 212 213 /// <summary> 214 /// The enumeration of the Blend effect's top level properties. 215 /// </summary> 216 alias D2D1_BLEND_PROP = uint; 217 enum : D2D1_BLEND_PROP 218 { 219 220 /// <summary> 221 /// Property Name: "Mode" 222 /// Property Type: D2D1_BLEND_MODE 223 /// </summary> 224 D2D1_BLEND_PROP_MODE = 0 225 } 226 227 alias D2D1_BLEND_MODE = uint; 228 enum : D2D1_BLEND_MODE 229 { 230 D2D1_BLEND_MODE_MULTIPLY = 0, 231 D2D1_BLEND_MODE_SCREEN = 1, 232 D2D1_BLEND_MODE_DARKEN = 2, 233 D2D1_BLEND_MODE_LIGHTEN = 3, 234 D2D1_BLEND_MODE_DISSOLVE = 4, 235 D2D1_BLEND_MODE_COLOR_BURN = 5, 236 D2D1_BLEND_MODE_LINEAR_BURN = 6, 237 D2D1_BLEND_MODE_DARKER_COLOR = 7, 238 D2D1_BLEND_MODE_LIGHTER_COLOR = 8, 239 D2D1_BLEND_MODE_COLOR_DODGE = 9, 240 D2D1_BLEND_MODE_LINEAR_DODGE = 10, 241 D2D1_BLEND_MODE_OVERLAY = 11, 242 D2D1_BLEND_MODE_SOFT_LIGHT = 12, 243 D2D1_BLEND_MODE_HARD_LIGHT = 13, 244 D2D1_BLEND_MODE_VIVID_LIGHT = 14, 245 D2D1_BLEND_MODE_LINEAR_LIGHT = 15, 246 D2D1_BLEND_MODE_PIN_LIGHT = 16, 247 D2D1_BLEND_MODE_HARD_MIX = 17, 248 D2D1_BLEND_MODE_DIFFERENCE = 18, 249 D2D1_BLEND_MODE_EXCLUSION = 19, 250 D2D1_BLEND_MODE_HUE = 20, 251 D2D1_BLEND_MODE_SATURATION = 21, 252 D2D1_BLEND_MODE_COLOR = 22, 253 D2D1_BLEND_MODE_LUMINOSITY = 23, 254 D2D1_BLEND_MODE_SUBTRACT = 24, 255 D2D1_BLEND_MODE_DIVISION = 25 256 } 257 258 259 /// <summary> 260 /// The enumeration of the Saturation effect's top level properties. 261 /// </summary> 262 alias D2D1_SATURATION_PROP = uint; 263 enum : D2D1_SATURATION_PROP 264 { 265 266 /// <summary> 267 /// Property Name: "Saturation" 268 /// Property Type: FLOAT 269 /// </summary> 270 D2D1_SATURATION_PROP_SATURATION = 0 271 } 272 273 274 /// <summary> 275 /// The enumeration of the Hue Rotation effect's top level properties. 276 /// </summary> 277 alias D2D1_HUEROTATION_PROP = uint; 278 enum : D2D1_HUEROTATION_PROP 279 { 280 281 /// <summary> 282 /// Property Name: "Angle" 283 /// Property Type: FLOAT 284 /// </summary> 285 D2D1_HUEROTATION_PROP_ANGLE = 0 286 } 287 288 289 /// <summary> 290 /// The enumeration of the Color Matrix effect's top level properties. 291 /// </summary> 292 alias D2D1_COLORMATRIX_PROP = uint; 293 enum : D2D1_COLORMATRIX_PROP 294 { 295 296 /// <summary> 297 /// Property Name: "ColorMatrix" 298 /// Property Type: D2D1_MATRIX_5X4_F 299 /// </summary> 300 D2D1_COLORMATRIX_PROP_COLOR_MATRIX = 0, 301 302 /// <summary> 303 /// Property Name: "AlphaMode" 304 /// Property Type: D2D1_COLORMATRIX_ALPHA_MODE 305 /// </summary> 306 D2D1_COLORMATRIX_PROP_ALPHA_MODE = 1, 307 308 /// <summary> 309 /// Property Name: "ClampOutput" 310 /// Property Type: BOOL 311 /// </summary> 312 D2D1_COLORMATRIX_PROP_CLAMP_OUTPUT = 2 313 } 314 315 alias D2D1_COLORMATRIX_ALPHA_MODE = uint; 316 enum : D2D1_COLORMATRIX_ALPHA_MODE 317 { 318 D2D1_COLORMATRIX_ALPHA_MODE_PREMULTIPLIED = 1, 319 D2D1_COLORMATRIX_ALPHA_MODE_STRAIGHT = 2 320 } 321 322 323 /// <summary> 324 /// The enumeration of the Bitmap Source effect's top level properties. 325 /// </summary> 326 alias D2D1_BITMAPSOURCE_PROP = uint; 327 enum : D2D1_BITMAPSOURCE_PROP 328 { 329 330 /// <summary> 331 /// Property Name: "WicBitmapSource" 332 /// Property Type: IUnknown * 333 /// </summary> 334 D2D1_BITMAPSOURCE_PROP_WIC_BITMAP_SOURCE = 0, 335 336 /// <summary> 337 /// Property Name: "Scale" 338 /// Property Type: D2D1_VECTOR_2F 339 /// </summary> 340 D2D1_BITMAPSOURCE_PROP_SCALE = 1, 341 342 /// <summary> 343 /// Property Name: "InterpolationMode" 344 /// Property Type: D2D1_BITMAPSOURCE_INTERPOLATION_MODE 345 /// </summary> 346 D2D1_BITMAPSOURCE_PROP_INTERPOLATION_MODE = 2, 347 348 /// <summary> 349 /// Property Name: "EnableDPICorrection" 350 /// Property Type: BOOL 351 /// </summary> 352 D2D1_BITMAPSOURCE_PROP_ENABLE_DPI_CORRECTION = 3, 353 354 /// <summary> 355 /// Property Name: "AlphaMode" 356 /// Property Type: D2D1_BITMAPSOURCE_ALPHA_MODE 357 /// </summary> 358 D2D1_BITMAPSOURCE_PROP_ALPHA_MODE = 4, 359 360 /// <summary> 361 /// Property Name: "Orientation" 362 /// Property Type: D2D1_BITMAPSOURCE_ORIENTATION 363 /// </summary> 364 D2D1_BITMAPSOURCE_PROP_ORIENTATION = 5 365 } 366 367 alias D2D1_BITMAPSOURCE_INTERPOLATION_MODE = uint; 368 enum : D2D1_BITMAPSOURCE_INTERPOLATION_MODE 369 { 370 D2D1_BITMAPSOURCE_INTERPOLATION_MODE_NEAREST_NEIGHBOR = 0, 371 D2D1_BITMAPSOURCE_INTERPOLATION_MODE_LINEAR = 1, 372 D2D1_BITMAPSOURCE_INTERPOLATION_MODE_CUBIC = 2, 373 D2D1_BITMAPSOURCE_INTERPOLATION_MODE_FANT = 6, 374 D2D1_BITMAPSOURCE_INTERPOLATION_MODE_MIPMAP_LINEAR = 7 375 } 376 377 alias D2D1_BITMAPSOURCE_ALPHA_MODE = uint; 378 enum : D2D1_BITMAPSOURCE_ALPHA_MODE 379 { 380 D2D1_BITMAPSOURCE_ALPHA_MODE_PREMULTIPLIED = 1, 381 D2D1_BITMAPSOURCE_ALPHA_MODE_STRAIGHT = 2 382 } 383 384 385 /// <summary> 386 /// The enumeration of the Composite effect's top level properties. 387 /// </summary> 388 alias D2D1_COMPOSITE_PROP = uint; 389 enum : D2D1_COMPOSITE_PROP 390 { 391 392 /// <summary> 393 /// Property Name: "Mode" 394 /// Property Type: D2D1_COMPOSITE_MODE 395 /// </summary> 396 D2D1_COMPOSITE_PROP_MODE = 0 397 } 398 399 400 /// <summary> 401 /// The enumeration of the 3D Transform effect's top level properties. 402 /// </summary> 403 alias D2D1_3DTRANSFORM_PROP = uint; 404 enum : D2D1_3DTRANSFORM_PROP 405 { 406 407 /// <summary> 408 /// Property Name: "InterpolationMode" 409 /// Property Type: D2D1_3DTRANSFORM_INTERPOLATION_MODE 410 /// </summary> 411 D2D1_3DTRANSFORM_PROP_INTERPOLATION_MODE = 0, 412 413 /// <summary> 414 /// Property Name: "BorderMode" 415 /// Property Type: D2D1_BORDER_MODE 416 /// </summary> 417 D2D1_3DTRANSFORM_PROP_BORDER_MODE = 1, 418 419 /// <summary> 420 /// Property Name: "TransformMatrix" 421 /// Property Type: D2D1_MATRIX_4X4_F 422 /// </summary> 423 D2D1_3DTRANSFORM_PROP_TRANSFORM_MATRIX = 2 424 } 425 426 alias D2D1_3DTRANSFORM_INTERPOLATION_MODE = uint; 427 enum : D2D1_3DTRANSFORM_INTERPOLATION_MODE 428 { 429 D2D1_3DTRANSFORM_INTERPOLATION_MODE_NEAREST_NEIGHBOR = 0, 430 D2D1_3DTRANSFORM_INTERPOLATION_MODE_LINEAR = 1, 431 D2D1_3DTRANSFORM_INTERPOLATION_MODE_CUBIC = 2, 432 D2D1_3DTRANSFORM_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR = 3, 433 D2D1_3DTRANSFORM_INTERPOLATION_MODE_ANISOTROPIC = 4 434 } 435 436 437 /// <summary> 438 /// The enumeration of the 3D Perspective Transform effect's top level properties. 439 /// </summary> 440 alias D2D1_3DPERSPECTIVETRANSFORM_PROP = uint; 441 enum : D2D1_3DPERSPECTIVETRANSFORM_PROP 442 { 443 444 /// <summary> 445 /// Property Name: "InterpolationMode" 446 /// Property Type: D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE 447 /// </summary> 448 D2D1_3DPERSPECTIVETRANSFORM_PROP_INTERPOLATION_MODE = 0, 449 450 /// <summary> 451 /// Property Name: "BorderMode" 452 /// Property Type: D2D1_BORDER_MODE 453 /// </summary> 454 D2D1_3DPERSPECTIVETRANSFORM_PROP_BORDER_MODE = 1, 455 456 /// <summary> 457 /// Property Name: "Depth" 458 /// Property Type: FLOAT 459 /// </summary> 460 D2D1_3DPERSPECTIVETRANSFORM_PROP_DEPTH = 2, 461 462 /// <summary> 463 /// Property Name: "PerspectiveOrigin" 464 /// Property Type: D2D1_VECTOR_2F 465 /// </summary> 466 D2D1_3DPERSPECTIVETRANSFORM_PROP_PERSPECTIVE_ORIGIN = 3, 467 468 /// <summary> 469 /// Property Name: "LocalOffset" 470 /// Property Type: D2D1_VECTOR_3F 471 /// </summary> 472 D2D1_3DPERSPECTIVETRANSFORM_PROP_LOCAL_OFFSET = 4, 473 474 /// <summary> 475 /// Property Name: "GlobalOffset" 476 /// Property Type: D2D1_VECTOR_3F 477 /// </summary> 478 D2D1_3DPERSPECTIVETRANSFORM_PROP_GLOBAL_OFFSET = 5, 479 480 /// <summary> 481 /// Property Name: "RotationOrigin" 482 /// Property Type: D2D1_VECTOR_3F 483 /// </summary> 484 D2D1_3DPERSPECTIVETRANSFORM_PROP_ROTATION_ORIGIN = 6, 485 486 /// <summary> 487 /// Property Name: "Rotation" 488 /// Property Type: D2D1_VECTOR_3F 489 /// </summary> 490 D2D1_3DPERSPECTIVETRANSFORM_PROP_ROTATION = 7 491 } 492 493 alias D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE = uint; 494 enum : D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE 495 { 496 D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_NEAREST_NEIGHBOR = 0, 497 D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_LINEAR = 1, 498 D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_CUBIC = 2, 499 D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR = 3, 500 D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_ANISOTROPIC = 4 501 } 502 503 504 /// <summary> 505 /// The enumeration of the 2D Affine Transform effect's top level properties. 506 /// </summary> 507 alias D2D1_2DAFFINETRANSFORM_PROP = uint; 508 enum : D2D1_2DAFFINETRANSFORM_PROP 509 { 510 511 /// <summary> 512 /// Property Name: "InterpolationMode" 513 /// Property Type: D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE 514 /// </summary> 515 D2D1_2DAFFINETRANSFORM_PROP_INTERPOLATION_MODE = 0, 516 517 /// <summary> 518 /// Property Name: "BorderMode" 519 /// Property Type: D2D1_BORDER_MODE 520 /// </summary> 521 D2D1_2DAFFINETRANSFORM_PROP_BORDER_MODE = 1, 522 523 /// <summary> 524 /// Property Name: "TransformMatrix" 525 /// Property Type: D2D1_MATRIX_3X2_F 526 /// </summary> 527 D2D1_2DAFFINETRANSFORM_PROP_TRANSFORM_MATRIX = 2, 528 529 /// <summary> 530 /// Property Name: "Sharpness" 531 /// Property Type: FLOAT 532 /// </summary> 533 D2D1_2DAFFINETRANSFORM_PROP_SHARPNESS = 3 534 } 535 536 alias D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE = uint; 537 enum : D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE 538 { 539 D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_NEAREST_NEIGHBOR = 0, 540 D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_LINEAR = 1, 541 D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_CUBIC = 2, 542 D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR = 3, 543 D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_ANISOTROPIC = 4, 544 D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_HIGH_QUALITY_CUBIC = 5 545 } 546 547 548 /// <summary> 549 /// The enumeration of the DPI Compensation effect's top level properties. 550 /// </summary> 551 alias D2D1_DPICOMPENSATION_PROP = uint; 552 enum : D2D1_DPICOMPENSATION_PROP 553 { 554 555 /// <summary> 556 /// Property Name: "InterpolationMode" 557 /// Property Type: D2D1_DPICOMPENSATION_INTERPOLATION_MODE 558 /// </summary> 559 D2D1_DPICOMPENSATION_PROP_INTERPOLATION_MODE = 0, 560 561 /// <summary> 562 /// Property Name: "BorderMode" 563 /// Property Type: D2D1_BORDER_MODE 564 /// </summary> 565 D2D1_DPICOMPENSATION_PROP_BORDER_MODE = 1, 566 567 /// <summary> 568 /// Property Name: "InputDpi" 569 /// Property Type: D2D1_VECTOR_2F 570 /// </summary> 571 D2D1_DPICOMPENSATION_PROP_INPUT_DPI = 2 572 } 573 574 alias D2D1_DPICOMPENSATION_INTERPOLATION_MODE = uint; 575 enum : D2D1_DPICOMPENSATION_INTERPOLATION_MODE 576 { 577 D2D1_DPICOMPENSATION_INTERPOLATION_MODE_NEAREST_NEIGHBOR = 0, 578 D2D1_DPICOMPENSATION_INTERPOLATION_MODE_LINEAR = 1, 579 D2D1_DPICOMPENSATION_INTERPOLATION_MODE_CUBIC = 2, 580 D2D1_DPICOMPENSATION_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR = 3, 581 D2D1_DPICOMPENSATION_INTERPOLATION_MODE_ANISOTROPIC = 4, 582 D2D1_DPICOMPENSATION_INTERPOLATION_MODE_HIGH_QUALITY_CUBIC = 5 583 } 584 585 586 /// <summary> 587 /// The enumeration of the Scale effect's top level properties. 588 /// </summary> 589 alias D2D1_SCALE_PROP = uint; 590 enum : D2D1_SCALE_PROP 591 { 592 593 /// <summary> 594 /// Property Name: "Scale" 595 /// Property Type: D2D1_VECTOR_2F 596 /// </summary> 597 D2D1_SCALE_PROP_SCALE = 0, 598 599 /// <summary> 600 /// Property Name: "CenterPoint" 601 /// Property Type: D2D1_VECTOR_2F 602 /// </summary> 603 D2D1_SCALE_PROP_CENTER_POINT = 1, 604 605 /// <summary> 606 /// Property Name: "InterpolationMode" 607 /// Property Type: D2D1_SCALE_INTERPOLATION_MODE 608 /// </summary> 609 D2D1_SCALE_PROP_INTERPOLATION_MODE = 2, 610 611 /// <summary> 612 /// Property Name: "BorderMode" 613 /// Property Type: D2D1_BORDER_MODE 614 /// </summary> 615 D2D1_SCALE_PROP_BORDER_MODE = 3, 616 617 /// <summary> 618 /// Property Name: "Sharpness" 619 /// Property Type: FLOAT 620 /// </summary> 621 D2D1_SCALE_PROP_SHARPNESS = 4 622 } 623 624 alias D2D1_SCALE_INTERPOLATION_MODE = uint; 625 enum : D2D1_SCALE_INTERPOLATION_MODE 626 { 627 D2D1_SCALE_INTERPOLATION_MODE_NEAREST_NEIGHBOR = 0, 628 D2D1_SCALE_INTERPOLATION_MODE_LINEAR = 1, 629 D2D1_SCALE_INTERPOLATION_MODE_CUBIC = 2, 630 D2D1_SCALE_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR = 3, 631 D2D1_SCALE_INTERPOLATION_MODE_ANISOTROPIC = 4, 632 D2D1_SCALE_INTERPOLATION_MODE_HIGH_QUALITY_CUBIC = 5 633 } 634 635 636 /// <summary> 637 /// The enumeration of the Turbulence effect's top level properties. 638 /// </summary> 639 alias D2D1_TURBULENCE_PROP = uint; 640 enum : D2D1_TURBULENCE_PROP 641 { 642 643 /// <summary> 644 /// Property Name: "Offset" 645 /// Property Type: D2D1_VECTOR_2F 646 /// </summary> 647 D2D1_TURBULENCE_PROP_OFFSET = 0, 648 649 /// <summary> 650 /// Property Name: "Size" 651 /// Property Type: D2D1_VECTOR_2F 652 /// </summary> 653 D2D1_TURBULENCE_PROP_SIZE = 1, 654 655 /// <summary> 656 /// Property Name: "BaseFrequency" 657 /// Property Type: D2D1_VECTOR_2F 658 /// </summary> 659 D2D1_TURBULENCE_PROP_BASE_FREQUENCY = 2, 660 661 /// <summary> 662 /// Property Name: "NumOctaves" 663 /// Property Type: UINT32 664 /// </summary> 665 D2D1_TURBULENCE_PROP_NUM_OCTAVES = 3, 666 667 /// <summary> 668 /// Property Name: "Seed" 669 /// Property Type: INT32 670 /// </summary> 671 D2D1_TURBULENCE_PROP_SEED = 4, 672 673 /// <summary> 674 /// Property Name: "Noise" 675 /// Property Type: D2D1_TURBULENCE_NOISE 676 /// </summary> 677 D2D1_TURBULENCE_PROP_NOISE = 5, 678 679 /// <summary> 680 /// Property Name: "Stitchable" 681 /// Property Type: BOOL 682 /// </summary> 683 D2D1_TURBULENCE_PROP_STITCHABLE = 6 684 } 685 686 alias D2D1_TURBULENCE_NOISE = uint; 687 enum : D2D1_TURBULENCE_NOISE 688 { 689 D2D1_TURBULENCE_NOISE_FRACTAL_SUM = 0, 690 D2D1_TURBULENCE_NOISE_TURBULENCE = 1 691 } 692 693 694 /// <summary> 695 /// The enumeration of the Displacement Map effect's top level properties. 696 /// </summary> 697 alias D2D1_DISPLACEMENTMAP_PROP = uint; 698 enum : D2D1_DISPLACEMENTMAP_PROP 699 { 700 701 /// <summary> 702 /// Property Name: "Scale" 703 /// Property Type: FLOAT 704 /// </summary> 705 D2D1_DISPLACEMENTMAP_PROP_SCALE = 0, 706 707 /// <summary> 708 /// Property Name: "XChannelSelect" 709 /// Property Type: D2D1_CHANNEL_SELECTOR 710 /// </summary> 711 D2D1_DISPLACEMENTMAP_PROP_X_CHANNEL_SELECT = 1, 712 713 /// <summary> 714 /// Property Name: "YChannelSelect" 715 /// Property Type: D2D1_CHANNEL_SELECTOR 716 /// </summary> 717 D2D1_DISPLACEMENTMAP_PROP_Y_CHANNEL_SELECT = 2 718 } 719 720 721 /// <summary> 722 /// The enumeration of the Color Management effect's top level properties. 723 /// </summary> 724 alias D2D1_COLORMANAGEMENT_PROP = uint; 725 enum : D2D1_COLORMANAGEMENT_PROP 726 { 727 728 /// <summary> 729 /// Property Name: "SourceColorContext" 730 /// Property Type: ID2D1ColorContext * 731 /// </summary> 732 D2D1_COLORMANAGEMENT_PROP_SOURCE_COLOR_CONTEXT = 0, 733 734 /// <summary> 735 /// Property Name: "SourceRenderingIntent" 736 /// Property Type: D2D1_RENDERING_INTENT 737 /// </summary> 738 D2D1_COLORMANAGEMENT_PROP_SOURCE_RENDERING_INTENT = 1, 739 740 /// <summary> 741 /// Property Name: "DestinationColorContext" 742 /// Property Type: ID2D1ColorContext * 743 /// </summary> 744 D2D1_COLORMANAGEMENT_PROP_DESTINATION_COLOR_CONTEXT = 2, 745 746 /// <summary> 747 /// Property Name: "DestinationRenderingIntent" 748 /// Property Type: D2D1_RENDERING_INTENT 749 /// </summary> 750 D2D1_COLORMANAGEMENT_PROP_DESTINATION_RENDERING_INTENT = 3, 751 752 /// <summary> 753 /// Property Name: "AlphaMode" 754 /// Property Type: D2D1_COLORMANAGEMENT_ALPHA_MODE 755 /// </summary> 756 D2D1_COLORMANAGEMENT_PROP_ALPHA_MODE = 4, 757 758 /// <summary> 759 /// Property Name: "Quality" 760 /// Property Type: D2D1_COLORMANAGEMENT_QUALITY 761 /// </summary> 762 D2D1_COLORMANAGEMENT_PROP_QUALITY = 5 763 } 764 765 alias D2D1_COLORMANAGEMENT_ALPHA_MODE = uint; 766 enum : D2D1_COLORMANAGEMENT_ALPHA_MODE 767 { 768 D2D1_COLORMANAGEMENT_ALPHA_MODE_PREMULTIPLIED = 1, 769 D2D1_COLORMANAGEMENT_ALPHA_MODE_STRAIGHT = 2 770 } 771 772 alias D2D1_COLORMANAGEMENT_QUALITY = uint; 773 enum : D2D1_COLORMANAGEMENT_QUALITY 774 { 775 D2D1_COLORMANAGEMENT_QUALITY_PROOF = 0, 776 D2D1_COLORMANAGEMENT_QUALITY_NORMAL = 1, 777 D2D1_COLORMANAGEMENT_QUALITY_BEST = 2 778 } 779 780 /// <summary> 781 /// Specifies which ICC rendering intent the Color management effect should use. 782 /// </summary> 783 alias D2D1_COLORMANAGEMENT_RENDERING_INTENT = uint; 784 enum : D2D1_COLORMANAGEMENT_RENDERING_INTENT 785 { 786 D2D1_COLORMANAGEMENT_RENDERING_INTENT_PERCEPTUAL = 0, 787 D2D1_COLORMANAGEMENT_RENDERING_INTENT_RELATIVE_COLORIMETRIC = 1, 788 D2D1_COLORMANAGEMENT_RENDERING_INTENT_SATURATION = 2, 789 D2D1_COLORMANAGEMENT_RENDERING_INTENT_ABSOLUTE_COLORIMETRIC = 3 790 } 791 792 793 /// <summary> 794 /// The enumeration of the Histogram effect's top level properties. 795 /// </summary> 796 alias D2D1_HISTOGRAM_PROP = uint; 797 enum : D2D1_HISTOGRAM_PROP 798 { 799 800 /// <summary> 801 /// Property Name: "NumBins" 802 /// Property Type: UINT32 803 /// </summary> 804 D2D1_HISTOGRAM_PROP_NUM_BINS = 0, 805 806 /// <summary> 807 /// Property Name: "ChannelSelect" 808 /// Property Type: D2D1_CHANNEL_SELECTOR 809 /// </summary> 810 D2D1_HISTOGRAM_PROP_CHANNEL_SELECT = 1, 811 812 /// <summary> 813 /// Property Name: "HistogramOutput" 814 /// Property Type: (blob) 815 /// </summary> 816 D2D1_HISTOGRAM_PROP_HISTOGRAM_OUTPUT = 2 817 } 818 819 820 /// <summary> 821 /// The enumeration of the Point-Specular effect's top level properties. 822 /// </summary> 823 alias D2D1_POINTSPECULAR_PROP = uint; 824 enum : D2D1_POINTSPECULAR_PROP 825 { 826 827 /// <summary> 828 /// Property Name: "LightPosition" 829 /// Property Type: D2D1_VECTOR_3F 830 /// </summary> 831 D2D1_POINTSPECULAR_PROP_LIGHT_POSITION = 0, 832 833 /// <summary> 834 /// Property Name: "SpecularExponent" 835 /// Property Type: FLOAT 836 /// </summary> 837 D2D1_POINTSPECULAR_PROP_SPECULAR_EXPONENT = 1, 838 839 /// <summary> 840 /// Property Name: "SpecularConstant" 841 /// Property Type: FLOAT 842 /// </summary> 843 D2D1_POINTSPECULAR_PROP_SPECULAR_CONSTANT = 2, 844 845 /// <summary> 846 /// Property Name: "SurfaceScale" 847 /// Property Type: FLOAT 848 /// </summary> 849 D2D1_POINTSPECULAR_PROP_SURFACE_SCALE = 3, 850 851 /// <summary> 852 /// Property Name: "Color" 853 /// Property Type: D2D1_VECTOR_3F 854 /// </summary> 855 D2D1_POINTSPECULAR_PROP_COLOR = 4, 856 857 /// <summary> 858 /// Property Name: "KernelUnitLength" 859 /// Property Type: D2D1_VECTOR_2F 860 /// </summary> 861 D2D1_POINTSPECULAR_PROP_KERNEL_UNIT_LENGTH = 5, 862 863 /// <summary> 864 /// Property Name: "ScaleMode" 865 /// Property Type: D2D1_POINTSPECULAR_SCALE_MODE 866 /// </summary> 867 D2D1_POINTSPECULAR_PROP_SCALE_MODE = 6 868 } 869 870 alias D2D1_POINTSPECULAR_SCALE_MODE = uint; 871 enum : D2D1_POINTSPECULAR_SCALE_MODE 872 { 873 D2D1_POINTSPECULAR_SCALE_MODE_NEAREST_NEIGHBOR = 0, 874 D2D1_POINTSPECULAR_SCALE_MODE_LINEAR = 1, 875 D2D1_POINTSPECULAR_SCALE_MODE_CUBIC = 2, 876 D2D1_POINTSPECULAR_SCALE_MODE_MULTI_SAMPLE_LINEAR = 3, 877 D2D1_POINTSPECULAR_SCALE_MODE_ANISOTROPIC = 4, 878 D2D1_POINTSPECULAR_SCALE_MODE_HIGH_QUALITY_CUBIC = 5 879 } 880 881 882 /// <summary> 883 /// The enumeration of the Spot-Specular effect's top level properties. 884 /// </summary> 885 alias D2D1_SPOTSPECULAR_PROP = uint; 886 enum : D2D1_SPOTSPECULAR_PROP 887 { 888 889 /// <summary> 890 /// Property Name: "LightPosition" 891 /// Property Type: D2D1_VECTOR_3F 892 /// </summary> 893 D2D1_SPOTSPECULAR_PROP_LIGHT_POSITION = 0, 894 895 /// <summary> 896 /// Property Name: "PointsAt" 897 /// Property Type: D2D1_VECTOR_3F 898 /// </summary> 899 D2D1_SPOTSPECULAR_PROP_POINTS_AT = 1, 900 901 /// <summary> 902 /// Property Name: "Focus" 903 /// Property Type: FLOAT 904 /// </summary> 905 D2D1_SPOTSPECULAR_PROP_FOCUS = 2, 906 907 /// <summary> 908 /// Property Name: "LimitingConeAngle" 909 /// Property Type: FLOAT 910 /// </summary> 911 D2D1_SPOTSPECULAR_PROP_LIMITING_CONE_ANGLE = 3, 912 913 /// <summary> 914 /// Property Name: "SpecularExponent" 915 /// Property Type: FLOAT 916 /// </summary> 917 D2D1_SPOTSPECULAR_PROP_SPECULAR_EXPONENT = 4, 918 919 /// <summary> 920 /// Property Name: "SpecularConstant" 921 /// Property Type: FLOAT 922 /// </summary> 923 D2D1_SPOTSPECULAR_PROP_SPECULAR_CONSTANT = 5, 924 925 /// <summary> 926 /// Property Name: "SurfaceScale" 927 /// Property Type: FLOAT 928 /// </summary> 929 D2D1_SPOTSPECULAR_PROP_SURFACE_SCALE = 6, 930 931 /// <summary> 932 /// Property Name: "Color" 933 /// Property Type: D2D1_VECTOR_3F 934 /// </summary> 935 D2D1_SPOTSPECULAR_PROP_COLOR = 7, 936 937 /// <summary> 938 /// Property Name: "KernelUnitLength" 939 /// Property Type: D2D1_VECTOR_2F 940 /// </summary> 941 D2D1_SPOTSPECULAR_PROP_KERNEL_UNIT_LENGTH = 8, 942 943 /// <summary> 944 /// Property Name: "ScaleMode" 945 /// Property Type: D2D1_SPOTSPECULAR_SCALE_MODE 946 /// </summary> 947 D2D1_SPOTSPECULAR_PROP_SCALE_MODE = 9 948 } 949 950 alias D2D1_SPOTSPECULAR_SCALE_MODE = uint; 951 enum : D2D1_SPOTSPECULAR_SCALE_MODE 952 { 953 D2D1_SPOTSPECULAR_SCALE_MODE_NEAREST_NEIGHBOR = 0, 954 D2D1_SPOTSPECULAR_SCALE_MODE_LINEAR = 1, 955 D2D1_SPOTSPECULAR_SCALE_MODE_CUBIC = 2, 956 D2D1_SPOTSPECULAR_SCALE_MODE_MULTI_SAMPLE_LINEAR = 3, 957 D2D1_SPOTSPECULAR_SCALE_MODE_ANISOTROPIC = 4, 958 D2D1_SPOTSPECULAR_SCALE_MODE_HIGH_QUALITY_CUBIC = 5 959 } 960 961 962 /// <summary> 963 /// The enumeration of the Distant-Specular effect's top level properties. 964 /// </summary> 965 alias D2D1_DISTANTSPECULAR_PROP = uint; 966 enum : D2D1_DISTANTSPECULAR_PROP 967 { 968 969 /// <summary> 970 /// Property Name: "Azimuth" 971 /// Property Type: FLOAT 972 /// </summary> 973 D2D1_DISTANTSPECULAR_PROP_AZIMUTH = 0, 974 975 /// <summary> 976 /// Property Name: "Elevation" 977 /// Property Type: FLOAT 978 /// </summary> 979 D2D1_DISTANTSPECULAR_PROP_ELEVATION = 1, 980 981 /// <summary> 982 /// Property Name: "SpecularExponent" 983 /// Property Type: FLOAT 984 /// </summary> 985 D2D1_DISTANTSPECULAR_PROP_SPECULAR_EXPONENT = 2, 986 987 /// <summary> 988 /// Property Name: "SpecularConstant" 989 /// Property Type: FLOAT 990 /// </summary> 991 D2D1_DISTANTSPECULAR_PROP_SPECULAR_CONSTANT = 3, 992 993 /// <summary> 994 /// Property Name: "SurfaceScale" 995 /// Property Type: FLOAT 996 /// </summary> 997 D2D1_DISTANTSPECULAR_PROP_SURFACE_SCALE = 4, 998 999 /// <summary> 1000 /// Property Name: "Color" 1001 /// Property Type: D2D1_VECTOR_3F 1002 /// </summary> 1003 D2D1_DISTANTSPECULAR_PROP_COLOR = 5, 1004 1005 /// <summary> 1006 /// Property Name: "KernelUnitLength" 1007 /// Property Type: D2D1_VECTOR_2F 1008 /// </summary> 1009 D2D1_DISTANTSPECULAR_PROP_KERNEL_UNIT_LENGTH = 6, 1010 1011 /// <summary> 1012 /// Property Name: "ScaleMode" 1013 /// Property Type: D2D1_DISTANTSPECULAR_SCALE_MODE 1014 /// </summary> 1015 D2D1_DISTANTSPECULAR_PROP_SCALE_MODE = 7 1016 } 1017 1018 alias D2D1_DISTANTSPECULAR_SCALE_MODE = uint; 1019 enum : D2D1_DISTANTSPECULAR_SCALE_MODE 1020 { 1021 D2D1_DISTANTSPECULAR_SCALE_MODE_NEAREST_NEIGHBOR = 0, 1022 D2D1_DISTANTSPECULAR_SCALE_MODE_LINEAR = 1, 1023 D2D1_DISTANTSPECULAR_SCALE_MODE_CUBIC = 2, 1024 D2D1_DISTANTSPECULAR_SCALE_MODE_MULTI_SAMPLE_LINEAR = 3, 1025 D2D1_DISTANTSPECULAR_SCALE_MODE_ANISOTROPIC = 4, 1026 D2D1_DISTANTSPECULAR_SCALE_MODE_HIGH_QUALITY_CUBIC = 5 1027 } 1028 1029 1030 /// <summary> 1031 /// The enumeration of the Point-Diffuse effect's top level properties. 1032 /// </summary> 1033 alias D2D1_POINTDIFFUSE_PROP = uint; 1034 enum : D2D1_POINTDIFFUSE_PROP 1035 { 1036 1037 /// <summary> 1038 /// Property Name: "LightPosition" 1039 /// Property Type: D2D1_VECTOR_3F 1040 /// </summary> 1041 D2D1_POINTDIFFUSE_PROP_LIGHT_POSITION = 0, 1042 1043 /// <summary> 1044 /// Property Name: "DiffuseConstant" 1045 /// Property Type: FLOAT 1046 /// </summary> 1047 D2D1_POINTDIFFUSE_PROP_DIFFUSE_CONSTANT = 1, 1048 1049 /// <summary> 1050 /// Property Name: "SurfaceScale" 1051 /// Property Type: FLOAT 1052 /// </summary> 1053 D2D1_POINTDIFFUSE_PROP_SURFACE_SCALE = 2, 1054 1055 /// <summary> 1056 /// Property Name: "Color" 1057 /// Property Type: D2D1_VECTOR_3F 1058 /// </summary> 1059 D2D1_POINTDIFFUSE_PROP_COLOR = 3, 1060 1061 /// <summary> 1062 /// Property Name: "KernelUnitLength" 1063 /// Property Type: D2D1_VECTOR_2F 1064 /// </summary> 1065 D2D1_POINTDIFFUSE_PROP_KERNEL_UNIT_LENGTH = 4, 1066 1067 /// <summary> 1068 /// Property Name: "ScaleMode" 1069 /// Property Type: D2D1_POINTDIFFUSE_SCALE_MODE 1070 /// </summary> 1071 D2D1_POINTDIFFUSE_PROP_SCALE_MODE = 5 1072 } 1073 1074 alias D2D1_POINTDIFFUSE_SCALE_MODE = uint; 1075 enum : D2D1_POINTDIFFUSE_SCALE_MODE 1076 { 1077 D2D1_POINTDIFFUSE_SCALE_MODE_NEAREST_NEIGHBOR = 0, 1078 D2D1_POINTDIFFUSE_SCALE_MODE_LINEAR = 1, 1079 D2D1_POINTDIFFUSE_SCALE_MODE_CUBIC = 2, 1080 D2D1_POINTDIFFUSE_SCALE_MODE_MULTI_SAMPLE_LINEAR = 3, 1081 D2D1_POINTDIFFUSE_SCALE_MODE_ANISOTROPIC = 4, 1082 D2D1_POINTDIFFUSE_SCALE_MODE_HIGH_QUALITY_CUBIC = 5 1083 } 1084 1085 1086 /// <summary> 1087 /// The enumeration of the Spot-Diffuse effect's top level properties. 1088 /// </summary> 1089 alias D2D1_SPOTDIFFUSE_PROP = uint; 1090 enum : D2D1_SPOTDIFFUSE_PROP 1091 { 1092 1093 /// <summary> 1094 /// Property Name: "LightPosition" 1095 /// Property Type: D2D1_VECTOR_3F 1096 /// </summary> 1097 D2D1_SPOTDIFFUSE_PROP_LIGHT_POSITION = 0, 1098 1099 /// <summary> 1100 /// Property Name: "PointsAt" 1101 /// Property Type: D2D1_VECTOR_3F 1102 /// </summary> 1103 D2D1_SPOTDIFFUSE_PROP_POINTS_AT = 1, 1104 1105 /// <summary> 1106 /// Property Name: "Focus" 1107 /// Property Type: FLOAT 1108 /// </summary> 1109 D2D1_SPOTDIFFUSE_PROP_FOCUS = 2, 1110 1111 /// <summary> 1112 /// Property Name: "LimitingConeAngle" 1113 /// Property Type: FLOAT 1114 /// </summary> 1115 D2D1_SPOTDIFFUSE_PROP_LIMITING_CONE_ANGLE = 3, 1116 1117 /// <summary> 1118 /// Property Name: "DiffuseConstant" 1119 /// Property Type: FLOAT 1120 /// </summary> 1121 D2D1_SPOTDIFFUSE_PROP_DIFFUSE_CONSTANT = 4, 1122 1123 /// <summary> 1124 /// Property Name: "SurfaceScale" 1125 /// Property Type: FLOAT 1126 /// </summary> 1127 D2D1_SPOTDIFFUSE_PROP_SURFACE_SCALE = 5, 1128 1129 /// <summary> 1130 /// Property Name: "Color" 1131 /// Property Type: D2D1_VECTOR_3F 1132 /// </summary> 1133 D2D1_SPOTDIFFUSE_PROP_COLOR = 6, 1134 1135 /// <summary> 1136 /// Property Name: "KernelUnitLength" 1137 /// Property Type: D2D1_VECTOR_2F 1138 /// </summary> 1139 D2D1_SPOTDIFFUSE_PROP_KERNEL_UNIT_LENGTH = 7, 1140 1141 /// <summary> 1142 /// Property Name: "ScaleMode" 1143 /// Property Type: D2D1_SPOTDIFFUSE_SCALE_MODE 1144 /// </summary> 1145 D2D1_SPOTDIFFUSE_PROP_SCALE_MODE = 8 1146 } 1147 1148 alias D2D1_SPOTDIFFUSE_SCALE_MODE = uint; 1149 enum : D2D1_SPOTDIFFUSE_SCALE_MODE 1150 { 1151 D2D1_SPOTDIFFUSE_SCALE_MODE_NEAREST_NEIGHBOR = 0, 1152 D2D1_SPOTDIFFUSE_SCALE_MODE_LINEAR = 1, 1153 D2D1_SPOTDIFFUSE_SCALE_MODE_CUBIC = 2, 1154 D2D1_SPOTDIFFUSE_SCALE_MODE_MULTI_SAMPLE_LINEAR = 3, 1155 D2D1_SPOTDIFFUSE_SCALE_MODE_ANISOTROPIC = 4, 1156 D2D1_SPOTDIFFUSE_SCALE_MODE_HIGH_QUALITY_CUBIC = 5 1157 } 1158 1159 1160 /// <summary> 1161 /// The enumeration of the Distant-Diffuse effect's top level properties. 1162 /// </summary> 1163 alias D2D1_DISTANTDIFFUSE_PROP = uint; 1164 enum : D2D1_DISTANTDIFFUSE_PROP 1165 { 1166 1167 /// <summary> 1168 /// Property Name: "Azimuth" 1169 /// Property Type: FLOAT 1170 /// </summary> 1171 D2D1_DISTANTDIFFUSE_PROP_AZIMUTH = 0, 1172 1173 /// <summary> 1174 /// Property Name: "Elevation" 1175 /// Property Type: FLOAT 1176 /// </summary> 1177 D2D1_DISTANTDIFFUSE_PROP_ELEVATION = 1, 1178 1179 /// <summary> 1180 /// Property Name: "DiffuseConstant" 1181 /// Property Type: FLOAT 1182 /// </summary> 1183 D2D1_DISTANTDIFFUSE_PROP_DIFFUSE_CONSTANT = 2, 1184 1185 /// <summary> 1186 /// Property Name: "SurfaceScale" 1187 /// Property Type: FLOAT 1188 /// </summary> 1189 D2D1_DISTANTDIFFUSE_PROP_SURFACE_SCALE = 3, 1190 1191 /// <summary> 1192 /// Property Name: "Color" 1193 /// Property Type: D2D1_VECTOR_3F 1194 /// </summary> 1195 D2D1_DISTANTDIFFUSE_PROP_COLOR = 4, 1196 1197 /// <summary> 1198 /// Property Name: "KernelUnitLength" 1199 /// Property Type: D2D1_VECTOR_2F 1200 /// </summary> 1201 D2D1_DISTANTDIFFUSE_PROP_KERNEL_UNIT_LENGTH = 5, 1202 1203 /// <summary> 1204 /// Property Name: "ScaleMode" 1205 /// Property Type: D2D1_DISTANTDIFFUSE_SCALE_MODE 1206 /// </summary> 1207 D2D1_DISTANTDIFFUSE_PROP_SCALE_MODE = 6 1208 } 1209 1210 alias D2D1_DISTANTDIFFUSE_SCALE_MODE = uint; 1211 enum : D2D1_DISTANTDIFFUSE_SCALE_MODE 1212 { 1213 D2D1_DISTANTDIFFUSE_SCALE_MODE_NEAREST_NEIGHBOR = 0, 1214 D2D1_DISTANTDIFFUSE_SCALE_MODE_LINEAR = 1, 1215 D2D1_DISTANTDIFFUSE_SCALE_MODE_CUBIC = 2, 1216 D2D1_DISTANTDIFFUSE_SCALE_MODE_MULTI_SAMPLE_LINEAR = 3, 1217 D2D1_DISTANTDIFFUSE_SCALE_MODE_ANISOTROPIC = 4, 1218 D2D1_DISTANTDIFFUSE_SCALE_MODE_HIGH_QUALITY_CUBIC = 5 1219 } 1220 1221 1222 /// <summary> 1223 /// The enumeration of the Flood effect's top level properties. 1224 /// </summary> 1225 alias D2D1_FLOOD_PROP = uint; 1226 enum : D2D1_FLOOD_PROP 1227 { 1228 1229 /// <summary> 1230 /// Property Name: "Color" 1231 /// Property Type: D2D1_VECTOR_4F 1232 /// </summary> 1233 D2D1_FLOOD_PROP_COLOR = 0 1234 } 1235 1236 1237 /// <summary> 1238 /// The enumeration of the Linear Transfer effect's top level properties. 1239 /// </summary> 1240 alias D2D1_LINEARTRANSFER_PROP = uint; 1241 enum : D2D1_LINEARTRANSFER_PROP 1242 { 1243 1244 /// <summary> 1245 /// Property Name: "RedYIntercept" 1246 /// Property Type: FLOAT 1247 /// </summary> 1248 D2D1_LINEARTRANSFER_PROP_RED_Y_INTERCEPT = 0, 1249 1250 /// <summary> 1251 /// Property Name: "RedSlope" 1252 /// Property Type: FLOAT 1253 /// </summary> 1254 D2D1_LINEARTRANSFER_PROP_RED_SLOPE = 1, 1255 1256 /// <summary> 1257 /// Property Name: "RedDisable" 1258 /// Property Type: BOOL 1259 /// </summary> 1260 D2D1_LINEARTRANSFER_PROP_RED_DISABLE = 2, 1261 1262 /// <summary> 1263 /// Property Name: "GreenYIntercept" 1264 /// Property Type: FLOAT 1265 /// </summary> 1266 D2D1_LINEARTRANSFER_PROP_GREEN_Y_INTERCEPT = 3, 1267 1268 /// <summary> 1269 /// Property Name: "GreenSlope" 1270 /// Property Type: FLOAT 1271 /// </summary> 1272 D2D1_LINEARTRANSFER_PROP_GREEN_SLOPE = 4, 1273 1274 /// <summary> 1275 /// Property Name: "GreenDisable" 1276 /// Property Type: BOOL 1277 /// </summary> 1278 D2D1_LINEARTRANSFER_PROP_GREEN_DISABLE = 5, 1279 1280 /// <summary> 1281 /// Property Name: "BlueYIntercept" 1282 /// Property Type: FLOAT 1283 /// </summary> 1284 D2D1_LINEARTRANSFER_PROP_BLUE_Y_INTERCEPT = 6, 1285 1286 /// <summary> 1287 /// Property Name: "BlueSlope" 1288 /// Property Type: FLOAT 1289 /// </summary> 1290 D2D1_LINEARTRANSFER_PROP_BLUE_SLOPE = 7, 1291 1292 /// <summary> 1293 /// Property Name: "BlueDisable" 1294 /// Property Type: BOOL 1295 /// </summary> 1296 D2D1_LINEARTRANSFER_PROP_BLUE_DISABLE = 8, 1297 1298 /// <summary> 1299 /// Property Name: "AlphaYIntercept" 1300 /// Property Type: FLOAT 1301 /// </summary> 1302 D2D1_LINEARTRANSFER_PROP_ALPHA_Y_INTERCEPT = 9, 1303 1304 /// <summary> 1305 /// Property Name: "AlphaSlope" 1306 /// Property Type: FLOAT 1307 /// </summary> 1308 D2D1_LINEARTRANSFER_PROP_ALPHA_SLOPE = 10, 1309 1310 /// <summary> 1311 /// Property Name: "AlphaDisable" 1312 /// Property Type: BOOL 1313 /// </summary> 1314 D2D1_LINEARTRANSFER_PROP_ALPHA_DISABLE = 11, 1315 1316 /// <summary> 1317 /// Property Name: "ClampOutput" 1318 /// Property Type: BOOL 1319 /// </summary> 1320 D2D1_LINEARTRANSFER_PROP_CLAMP_OUTPUT = 12 1321 } 1322 1323 1324 /// <summary> 1325 /// The enumeration of the Gamma Transfer effect's top level properties. 1326 /// </summary> 1327 alias D2D1_GAMMATRANSFER_PROP = uint; 1328 enum : D2D1_GAMMATRANSFER_PROP 1329 { 1330 1331 /// <summary> 1332 /// Property Name: "RedAmplitude" 1333 /// Property Type: FLOAT 1334 /// </summary> 1335 D2D1_GAMMATRANSFER_PROP_RED_AMPLITUDE = 0, 1336 1337 /// <summary> 1338 /// Property Name: "RedExponent" 1339 /// Property Type: FLOAT 1340 /// </summary> 1341 D2D1_GAMMATRANSFER_PROP_RED_EXPONENT = 1, 1342 1343 /// <summary> 1344 /// Property Name: "RedOffset" 1345 /// Property Type: FLOAT 1346 /// </summary> 1347 D2D1_GAMMATRANSFER_PROP_RED_OFFSET = 2, 1348 1349 /// <summary> 1350 /// Property Name: "RedDisable" 1351 /// Property Type: BOOL 1352 /// </summary> 1353 D2D1_GAMMATRANSFER_PROP_RED_DISABLE = 3, 1354 1355 /// <summary> 1356 /// Property Name: "GreenAmplitude" 1357 /// Property Type: FLOAT 1358 /// </summary> 1359 D2D1_GAMMATRANSFER_PROP_GREEN_AMPLITUDE = 4, 1360 1361 /// <summary> 1362 /// Property Name: "GreenExponent" 1363 /// Property Type: FLOAT 1364 /// </summary> 1365 D2D1_GAMMATRANSFER_PROP_GREEN_EXPONENT = 5, 1366 1367 /// <summary> 1368 /// Property Name: "GreenOffset" 1369 /// Property Type: FLOAT 1370 /// </summary> 1371 D2D1_GAMMATRANSFER_PROP_GREEN_OFFSET = 6, 1372 1373 /// <summary> 1374 /// Property Name: "GreenDisable" 1375 /// Property Type: BOOL 1376 /// </summary> 1377 D2D1_GAMMATRANSFER_PROP_GREEN_DISABLE = 7, 1378 1379 /// <summary> 1380 /// Property Name: "BlueAmplitude" 1381 /// Property Type: FLOAT 1382 /// </summary> 1383 D2D1_GAMMATRANSFER_PROP_BLUE_AMPLITUDE = 8, 1384 1385 /// <summary> 1386 /// Property Name: "BlueExponent" 1387 /// Property Type: FLOAT 1388 /// </summary> 1389 D2D1_GAMMATRANSFER_PROP_BLUE_EXPONENT = 9, 1390 1391 /// <summary> 1392 /// Property Name: "BlueOffset" 1393 /// Property Type: FLOAT 1394 /// </summary> 1395 D2D1_GAMMATRANSFER_PROP_BLUE_OFFSET = 10, 1396 1397 /// <summary> 1398 /// Property Name: "BlueDisable" 1399 /// Property Type: BOOL 1400 /// </summary> 1401 D2D1_GAMMATRANSFER_PROP_BLUE_DISABLE = 11, 1402 1403 /// <summary> 1404 /// Property Name: "AlphaAmplitude" 1405 /// Property Type: FLOAT 1406 /// </summary> 1407 D2D1_GAMMATRANSFER_PROP_ALPHA_AMPLITUDE = 12, 1408 1409 /// <summary> 1410 /// Property Name: "AlphaExponent" 1411 /// Property Type: FLOAT 1412 /// </summary> 1413 D2D1_GAMMATRANSFER_PROP_ALPHA_EXPONENT = 13, 1414 1415 /// <summary> 1416 /// Property Name: "AlphaOffset" 1417 /// Property Type: FLOAT 1418 /// </summary> 1419 D2D1_GAMMATRANSFER_PROP_ALPHA_OFFSET = 14, 1420 1421 /// <summary> 1422 /// Property Name: "AlphaDisable" 1423 /// Property Type: BOOL 1424 /// </summary> 1425 D2D1_GAMMATRANSFER_PROP_ALPHA_DISABLE = 15, 1426 1427 /// <summary> 1428 /// Property Name: "ClampOutput" 1429 /// Property Type: BOOL 1430 /// </summary> 1431 D2D1_GAMMATRANSFER_PROP_CLAMP_OUTPUT = 16 1432 } 1433 1434 1435 /// <summary> 1436 /// The enumeration of the Table Transfer effect's top level properties. 1437 /// </summary> 1438 alias D2D1_TABLETRANSFER_PROP = uint; 1439 enum : D2D1_TABLETRANSFER_PROP 1440 { 1441 1442 /// <summary> 1443 /// Property Name: "RedTable" 1444 /// Property Type: (blob) 1445 /// </summary> 1446 D2D1_TABLETRANSFER_PROP_RED_TABLE = 0, 1447 1448 /// <summary> 1449 /// Property Name: "RedDisable" 1450 /// Property Type: BOOL 1451 /// </summary> 1452 D2D1_TABLETRANSFER_PROP_RED_DISABLE = 1, 1453 1454 /// <summary> 1455 /// Property Name: "GreenTable" 1456 /// Property Type: (blob) 1457 /// </summary> 1458 D2D1_TABLETRANSFER_PROP_GREEN_TABLE = 2, 1459 1460 /// <summary> 1461 /// Property Name: "GreenDisable" 1462 /// Property Type: BOOL 1463 /// </summary> 1464 D2D1_TABLETRANSFER_PROP_GREEN_DISABLE = 3, 1465 1466 /// <summary> 1467 /// Property Name: "BlueTable" 1468 /// Property Type: (blob) 1469 /// </summary> 1470 D2D1_TABLETRANSFER_PROP_BLUE_TABLE = 4, 1471 1472 /// <summary> 1473 /// Property Name: "BlueDisable" 1474 /// Property Type: BOOL 1475 /// </summary> 1476 D2D1_TABLETRANSFER_PROP_BLUE_DISABLE = 5, 1477 1478 /// <summary> 1479 /// Property Name: "AlphaTable" 1480 /// Property Type: (blob) 1481 /// </summary> 1482 D2D1_TABLETRANSFER_PROP_ALPHA_TABLE = 6, 1483 1484 /// <summary> 1485 /// Property Name: "AlphaDisable" 1486 /// Property Type: BOOL 1487 /// </summary> 1488 D2D1_TABLETRANSFER_PROP_ALPHA_DISABLE = 7, 1489 1490 /// <summary> 1491 /// Property Name: "ClampOutput" 1492 /// Property Type: BOOL 1493 /// </summary> 1494 D2D1_TABLETRANSFER_PROP_CLAMP_OUTPUT = 8 1495 } 1496 1497 1498 /// <summary> 1499 /// The enumeration of the Discrete Transfer effect's top level properties. 1500 /// </summary> 1501 alias D2D1_DISCRETETRANSFER_PROP = uint; 1502 enum : D2D1_DISCRETETRANSFER_PROP 1503 { 1504 1505 /// <summary> 1506 /// Property Name: "RedTable" 1507 /// Property Type: (blob) 1508 /// </summary> 1509 D2D1_DISCRETETRANSFER_PROP_RED_TABLE = 0, 1510 1511 /// <summary> 1512 /// Property Name: "RedDisable" 1513 /// Property Type: BOOL 1514 /// </summary> 1515 D2D1_DISCRETETRANSFER_PROP_RED_DISABLE = 1, 1516 1517 /// <summary> 1518 /// Property Name: "GreenTable" 1519 /// Property Type: (blob) 1520 /// </summary> 1521 D2D1_DISCRETETRANSFER_PROP_GREEN_TABLE = 2, 1522 1523 /// <summary> 1524 /// Property Name: "GreenDisable" 1525 /// Property Type: BOOL 1526 /// </summary> 1527 D2D1_DISCRETETRANSFER_PROP_GREEN_DISABLE = 3, 1528 1529 /// <summary> 1530 /// Property Name: "BlueTable" 1531 /// Property Type: (blob) 1532 /// </summary> 1533 D2D1_DISCRETETRANSFER_PROP_BLUE_TABLE = 4, 1534 1535 /// <summary> 1536 /// Property Name: "BlueDisable" 1537 /// Property Type: BOOL 1538 /// </summary> 1539 D2D1_DISCRETETRANSFER_PROP_BLUE_DISABLE = 5, 1540 1541 /// <summary> 1542 /// Property Name: "AlphaTable" 1543 /// Property Type: (blob) 1544 /// </summary> 1545 D2D1_DISCRETETRANSFER_PROP_ALPHA_TABLE = 6, 1546 1547 /// <summary> 1548 /// Property Name: "AlphaDisable" 1549 /// Property Type: BOOL 1550 /// </summary> 1551 D2D1_DISCRETETRANSFER_PROP_ALPHA_DISABLE = 7, 1552 1553 /// <summary> 1554 /// Property Name: "ClampOutput" 1555 /// Property Type: BOOL 1556 /// </summary> 1557 D2D1_DISCRETETRANSFER_PROP_CLAMP_OUTPUT = 8 1558 } 1559 1560 1561 /// <summary> 1562 /// The enumeration of the Convolve Matrix effect's top level properties. 1563 /// </summary> 1564 alias D2D1_CONVOLVEMATRIX_PROP = uint; 1565 enum : D2D1_CONVOLVEMATRIX_PROP 1566 { 1567 1568 /// <summary> 1569 /// Property Name: "KernelUnitLength" 1570 /// Property Type: D2D1_VECTOR_2F 1571 /// </summary> 1572 D2D1_CONVOLVEMATRIX_PROP_KERNEL_UNIT_LENGTH = 0, 1573 1574 /// <summary> 1575 /// Property Name: "ScaleMode" 1576 /// Property Type: D2D1_CONVOLVEMATRIX_SCALE_MODE 1577 /// </summary> 1578 D2D1_CONVOLVEMATRIX_PROP_SCALE_MODE = 1, 1579 1580 /// <summary> 1581 /// Property Name: "KernelSizeX" 1582 /// Property Type: UINT32 1583 /// </summary> 1584 D2D1_CONVOLVEMATRIX_PROP_KERNEL_SIZE_X = 2, 1585 1586 /// <summary> 1587 /// Property Name: "KernelSizeY" 1588 /// Property Type: UINT32 1589 /// </summary> 1590 D2D1_CONVOLVEMATRIX_PROP_KERNEL_SIZE_Y = 3, 1591 1592 /// <summary> 1593 /// Property Name: "KernelMatrix" 1594 /// Property Type: (blob) 1595 /// </summary> 1596 D2D1_CONVOLVEMATRIX_PROP_KERNEL_MATRIX = 4, 1597 1598 /// <summary> 1599 /// Property Name: "Divisor" 1600 /// Property Type: FLOAT 1601 /// </summary> 1602 D2D1_CONVOLVEMATRIX_PROP_DIVISOR = 5, 1603 1604 /// <summary> 1605 /// Property Name: "Bias" 1606 /// Property Type: FLOAT 1607 /// </summary> 1608 D2D1_CONVOLVEMATRIX_PROP_BIAS = 6, 1609 1610 /// <summary> 1611 /// Property Name: "KernelOffset" 1612 /// Property Type: D2D1_VECTOR_2F 1613 /// </summary> 1614 D2D1_CONVOLVEMATRIX_PROP_KERNEL_OFFSET = 7, 1615 1616 /// <summary> 1617 /// Property Name: "PreserveAlpha" 1618 /// Property Type: BOOL 1619 /// </summary> 1620 D2D1_CONVOLVEMATRIX_PROP_PRESERVE_ALPHA = 8, 1621 1622 /// <summary> 1623 /// Property Name: "BorderMode" 1624 /// Property Type: D2D1_BORDER_MODE 1625 /// </summary> 1626 D2D1_CONVOLVEMATRIX_PROP_BORDER_MODE = 9, 1627 1628 /// <summary> 1629 /// Property Name: "ClampOutput" 1630 /// Property Type: BOOL 1631 /// </summary> 1632 D2D1_CONVOLVEMATRIX_PROP_CLAMP_OUTPUT = 10 1633 } 1634 1635 alias D2D1_CONVOLVEMATRIX_SCALE_MODE = uint; 1636 enum : D2D1_CONVOLVEMATRIX_SCALE_MODE 1637 { 1638 D2D1_CONVOLVEMATRIX_SCALE_MODE_NEAREST_NEIGHBOR = 0, 1639 D2D1_CONVOLVEMATRIX_SCALE_MODE_LINEAR = 1, 1640 D2D1_CONVOLVEMATRIX_SCALE_MODE_CUBIC = 2, 1641 D2D1_CONVOLVEMATRIX_SCALE_MODE_MULTI_SAMPLE_LINEAR = 3, 1642 D2D1_CONVOLVEMATRIX_SCALE_MODE_ANISOTROPIC = 4, 1643 D2D1_CONVOLVEMATRIX_SCALE_MODE_HIGH_QUALITY_CUBIC = 5 1644 } 1645 1646 1647 /// <summary> 1648 /// The enumeration of the Brightness effect's top level properties. 1649 /// </summary> 1650 alias D2D1_BRIGHTNESS_PROP = uint; 1651 enum : D2D1_BRIGHTNESS_PROP 1652 { 1653 1654 /// <summary> 1655 /// Property Name: "WhitePoint" 1656 /// Property Type: D2D1_VECTOR_2F 1657 /// </summary> 1658 D2D1_BRIGHTNESS_PROP_WHITE_POINT = 0, 1659 1660 /// <summary> 1661 /// Property Name: "BlackPoint" 1662 /// Property Type: D2D1_VECTOR_2F 1663 /// </summary> 1664 D2D1_BRIGHTNESS_PROP_BLACK_POINT = 1 1665 } 1666 1667 1668 /// <summary> 1669 /// The enumeration of the Arithmetic Composite effect's top level properties. 1670 /// </summary> 1671 alias D2D1_ARITHMETICCOMPOSITE_PROP = uint; 1672 enum : D2D1_ARITHMETICCOMPOSITE_PROP 1673 { 1674 1675 /// <summary> 1676 /// Property Name: "Coefficients" 1677 /// Property Type: D2D1_VECTOR_4F 1678 /// </summary> 1679 D2D1_ARITHMETICCOMPOSITE_PROP_COEFFICIENTS = 0, 1680 1681 /// <summary> 1682 /// Property Name: "ClampOutput" 1683 /// Property Type: BOOL 1684 /// </summary> 1685 D2D1_ARITHMETICCOMPOSITE_PROP_CLAMP_OUTPUT = 1 1686 } 1687 1688 1689 /// <summary> 1690 /// The enumeration of the Crop effect's top level properties. 1691 /// </summary> 1692 alias D2D1_CROP_PROP = uint; 1693 enum : D2D1_CROP_PROP 1694 { 1695 1696 /// <summary> 1697 /// Property Name: "Rect" 1698 /// Property Type: D2D1_VECTOR_4F 1699 /// </summary> 1700 D2D1_CROP_PROP_RECT = 0, 1701 1702 /// <summary> 1703 /// Property Name: "BorderMode" 1704 /// Property Type: D2D1_BORDER_MODE 1705 /// </summary> 1706 D2D1_CROP_PROP_BORDER_MODE = 1 1707 } 1708 1709 1710 /// <summary> 1711 /// The enumeration of the Border effect's top level properties. 1712 /// </summary> 1713 alias D2D1_BORDER_PROP = uint; 1714 enum : D2D1_BORDER_PROP 1715 { 1716 1717 /// <summary> 1718 /// Property Name: "EdgeModeX" 1719 /// Property Type: D2D1_BORDER_EDGE_MODE 1720 /// </summary> 1721 D2D1_BORDER_PROP_EDGE_MODE_X = 0, 1722 1723 /// <summary> 1724 /// Property Name: "EdgeModeY" 1725 /// Property Type: D2D1_BORDER_EDGE_MODE 1726 /// </summary> 1727 D2D1_BORDER_PROP_EDGE_MODE_Y = 1 1728 } 1729 1730 1731 /// <summary> 1732 /// The edge mode for the Border effect. 1733 /// </summary> 1734 alias D2D1_BORDER_EDGE_MODE = uint; 1735 enum : D2D1_BORDER_EDGE_MODE 1736 { 1737 D2D1_BORDER_EDGE_MODE_CLAMP = 0, 1738 D2D1_BORDER_EDGE_MODE_WRAP = 1, 1739 D2D1_BORDER_EDGE_MODE_MIRROR = 2 1740 } 1741 1742 1743 /// <summary> 1744 /// The enumeration of the Morphology effect's top level properties. 1745 /// </summary> 1746 alias D2D1_MORPHOLOGY_PROP = uint; 1747 enum : D2D1_MORPHOLOGY_PROP 1748 { 1749 1750 /// <summary> 1751 /// Property Name: "Mode" 1752 /// Property Type: D2D1_MORPHOLOGY_MODE 1753 /// </summary> 1754 D2D1_MORPHOLOGY_PROP_MODE = 0, 1755 1756 /// <summary> 1757 /// Property Name: "Width" 1758 /// Property Type: UINT32 1759 /// </summary> 1760 D2D1_MORPHOLOGY_PROP_WIDTH = 1, 1761 1762 /// <summary> 1763 /// Property Name: "Height" 1764 /// Property Type: UINT32 1765 /// </summary> 1766 D2D1_MORPHOLOGY_PROP_HEIGHT = 2 1767 } 1768 1769 alias D2D1_MORPHOLOGY_MODE = uint; 1770 enum : D2D1_MORPHOLOGY_MODE 1771 { 1772 D2D1_MORPHOLOGY_MODE_ERODE = 0, 1773 D2D1_MORPHOLOGY_MODE_DILATE = 1 1774 } 1775 1776 1777 /// <summary> 1778 /// The enumeration of the Tile effect's top level properties. 1779 /// </summary> 1780 alias D2D1_TILE_PROP = uint; 1781 enum : D2D1_TILE_PROP 1782 { 1783 1784 /// <summary> 1785 /// Property Name: "Rect" 1786 /// Property Type: D2D1_VECTOR_4F 1787 /// </summary> 1788 D2D1_TILE_PROP_RECT = 0 1789 } 1790 1791 1792 /// <summary> 1793 /// The enumeration of the Atlas effect's top level properties. 1794 /// </summary> 1795 alias D2D1_ATLAS_PROP = uint; 1796 enum : D2D1_ATLAS_PROP 1797 { 1798 1799 /// <summary> 1800 /// Property Name: "InputRect" 1801 /// Property Type: D2D1_VECTOR_4F 1802 /// </summary> 1803 D2D1_ATLAS_PROP_INPUT_RECT = 0, 1804 1805 /// <summary> 1806 /// Property Name: "InputPaddingRect" 1807 /// Property Type: D2D1_VECTOR_4F 1808 /// </summary> 1809 D2D1_ATLAS_PROP_INPUT_PADDING_RECT = 1 1810 } 1811 1812 1813 /// <summary> 1814 /// The enumeration of the Opacity Metadata effect's top level properties. 1815 /// </summary> 1816 alias D2D1_OPACITYMETADATA_PROP = uint; 1817 enum : D2D1_OPACITYMETADATA_PROP 1818 { 1819 1820 /// <summary> 1821 /// Property Name: "InputOpaqueRect" 1822 /// Property Type: D2D1_VECTOR_4F 1823 /// </summary> 1824 D2D1_OPACITYMETADATA_PROP_INPUT_OPAQUE_RECT = 0 1825 }