Enumerations
Direct2D defines the following enumerations.
In this section
| Topic | Description |
|---|---|
|
The interpolation mode to be used with the 2D affine transform effect to scale the image. There are 6 scale modes that range in quality and speed. | |
|
Identifiers for properties of the 2D affine transform effect. | |
|
The interpolation mode the 3D perspective transform effect uses on the image. There are 5 scale modes that range in quality and speed. | |
|
Identifiers for the properties of the 3D perspective transform effect. | |
|
The interpolation mode the 3D transform effect uses on the image. There are 5 scale modes that range in quality and speed. | |
|
Identifiers for properties of the 3D transform effect. | |
|
Specifies how the alpha value of a bitmap or render target should be treated. | |
|
Specifies how the edges of nontext primitives are rendered. | |
|
Specifies whether an arc should be greater than 180 degrees. | |
|
Identifiers for the properties of the Arithmetic composite effect. | |
|
Identifiers for properties of the Atlas effect. | |
|
Specifies the alpha mode of the output of the Bitmap source effect. | |
|
The interpolation mode used to scale the image in the Bitmap source effect. | |
|
Speficies whether a flip and/or rotation operation should be performed by the Bitmap source effect | |
|
Identifiers for properties of the Bitmap source effect. | |
|
Specifies the algorithm that is used when images are scaled or rotated. Note Starting in Windows 8, more interpolations modes are available. See D2D1_INTERPOLATION_MODE for more info.
| |
|
Specifies how a bitmap can be used. | |
|
Specifies how one of the color sources is to be derived and optionally specifies a preblend operation on the color source. | |
|
The blend mode used for the Blend effect. | |
|
Specifies the blend operation on two color sources. | |
|
Identifiers for properties of the Blend effect. | |
|
The edge mode for the Border effect. | |
|
Specifies how the Crop effect handles the crop rectangle falling on fractional pixel coordinates. | |
|
Identifiers for properties of the Border effect. | |
|
Identifiers for the properties of the Brightness effect. | |
|
Represents the bit depth of the imaging pipeline in Direct2D. | |
|
Describes the shape at the end of a line or segment. | |
|
Describes flags that influence how the renderer interacts with a custom vertex shader. | |
|
Allows a caller to control the channel depth of a stage in the rendering pipeline. | |
|
Specifies the color channel the Displacement map effect extracts the intensity from and uses it to spatially displace the image in the X or Y direction. | |
|
Identifiers for properties of the Chroma-key effect. | |
|
Indicates how the Color management effect should interpret alpha data that is contained in the input image. | |
|
Identifiers for the properties of the Color management effect. | |
|
The quality level of the transform for the Color management effect. | |
|
Specifies which ICC rendering intent the Color management effect should use. | |
|
The alpha mode of the output of the Color matrix effect. | |
|
Identifiers for the properties of the Color matrix effect. | |
|
Specifies the pixel snapping policy when rendering color bitmap glyphs. | |
|
Specifies which way a color profile is defined. | |
|
Defines options that should be applied to the color space. | |
|
Defines how to interpolate between colors. | |
|
Specifies the different methods by which two geometries can be combined. | |
|
Specifies additional features supportable by a compatible render target when it is created. This enumeration allows a bitwise combination of its member values. | |
|
Used to specify the blend mode for all of the Direct2D blending operations. | |
|
Identifiers for properties of the Composite effect. | |
|
Identifiers for properties of the Contrast effect. | |
|
Identifiers for properties of the Convolve matrix effect. | |
|
The interpolation mode the Convolve matrix effect uses to scale the image to the corresponding kernel unit length. There are six scale modes that range in quality and speed. | |
|
Identifiers for properties of the Crop effect. | |
|
Describes the sequence of dashes and gaps in a stroke. | |
|
Specifies how a device context is initialized for GDI rendering when it is retrieved from the render target. | |
|
Indicates the type of information provided by the Direct2D Debug Layer. | |
|
This specifies options that apply to the device context for its lifetime. | |
|
Specifies the optimization mode for the Directional blur effect. | |
|
Identifiers for properties of the Directional blur effect. | |
|
Identifiers for properties of the Discrete transfer effect. | |
|
Identifiers for properties of the Displacement map effect. | |
|
Identifiers for properties of the Distant-diffuse lighting effect. | |
|
The interpolation mode the effect uses to scale the image to the corresponding kernel unit length. There are six scale modes that range in quality and speed. | |
|
Identifiers for properties of the Distant-specular lighting effect. | |
|
The interpolation mode the Distant-specular lighting effect uses to scale the image to the corresponding kernel unit length. There are six scale modes that range in quality and speed. | |
|
The interpolation mode the DPI compensation effect uses to scale the image. | |
|
Identifiers for properties of the DPI compensation effect. | |
|
Specifies whether text snapping is suppressed or clipping to the layout rectangle is enabled. This enumeration allows a bitwise combination of its member values. | |
|
Values for the D2D1_EDGEDETECTION_PROP_MODE property of the Edge Detection effect. | |
|
Identifiers for properties of the Edge Detection effect. | |
|
Identifiers for properties of the Emboss effect. | |
|
Identifiers for properties of the Exposure effect. | |
|
Specifies how a brush paints areas outside of its normal content area. | |
|
Specifies whether Direct2D provides synchronization for an ID2D1Factory and the resources it creates, so that they may be safely accessed from multiple threads. | |
|
Defines capabilities of the underlying Direct3D device which may be queried using ID2D1EffectContext::CheckFeatureSupport. | |
|
Describes the minimum DirectX support required for hardware rendering by a render target. | |
|
Indicates whether a specific ID2D1SimplifiedGeometrySink figure is filled or hollow. | |
|
Indicates whether a specific ID2D1SimplifiedGeometrySink figure is open or closed. | |
|
Specifies how the intersecting areas of geometries or figures are combined to form the area of the composite geometry. | |
|
Represents filtering modes that a transform may select to use on input textures. | |
|
Identifiers for properties of the Flood effect. | |
|
Specifies which gamma is used for interpolation. | |
|
Determines what gamma is used for interpolation and blending. | |
|
Identifiers for properties of the Gamma transfer effect. | |
|
The optimization mode for the Gaussian blur effect. | |
|
Identifiers for properties of the Gaussian blur effect. | |
|
Defines the conversion between color spaces. | |
|
Describes how one geometry object is spatially related to another geometry object. | |
|
Specifies how a geometry is simplified to an ID2D1SimplifiedGeometrySink. | |
|
Values for the D2D1_HIGHLIGHTSANDSHADOWS_PROP_INPUT_GAMMA property of the Highlights and Shadows effect. | |
|
Identifiers for properties of the Highlights and Shadows effect. | |
|
Identifiers for properties of the Histogram effect. | |
|
Identifiers for properties of the Hue rotate effect. | |
|
Values for the D2D1_HUETORGB_PROP_INPUT_COLOR_SPACE property of the Hue to RGB effect. | |
|
Identifiers for properties of the Hue to RGB effect. | |
|
Option flags controlling primary conversion performed by CreateImageSourceFromDxgi, if any. | |
|
Controls option flags for a new ID2D1ImageSource when it is created. | |
|
Specifies the appearance of the ink nib (pen tip) as part of an D2D1_INK_STYLE_PROPERTIES structure. | |
|
This is used to specify the quality of image scaling with ID2D1DeviceContext::DrawImage and with the 2D affine transform effect. | |
|
Specifies options that can be applied when a layer resource is applied to create a layer. Note Starting in Windows 8, the D2D1_LAYER_OPTIONS_INITIALIZE_FOR_CLEARTYPE option is no longer supported. See D2D1_LAYER_OPTIONS1 for Windows 8 layer options.
| |
|
Specifies how the layer contents should be prepared. | |
|
Identifiers for properties of the Linear transfer effect. | |
|
Describes the shape that joins two lines or segments. | |
|
Identifiers for the properties of the 3D Lookup Table effect. | |
|
The mode for the Morphology effect. | |
|
Identifiers for properties of the Morphology effect. | |
|
Specifies how the memory to be mapped from the corresponding ID2D1Bitmap1 should be treated. | |
|
Identifiers for properties of the Opacity metadata effect. | |
|
Describes whether an opacity mask contains graphics or text. Direct2D uses this information to determine which gamma space to use when blending the opacity mask. | |
|
Specifies the flip and rotation at which an image appears. | |
|
Specifies how to render gradient mesh edges. | |
|
Indicates whether a segment should be stroked and whether the join between this segment and the previous one should be smooth. This enumeration allows a bitwise combination of its member values. | |
|
Indicates how pixel shader sampling will be restricted. | |
|
Identifiers for properties of the Point-diffuse lighting effect. | |
|
The interpolation mode the Point-diffuse lighting effect uses to scale the image to the corresponding kernel unit length. There are six scale modes that range in quality and speed | |
|
Identifiers for properties of the Point-specular lighting effect. | |
|
The interpolation mode the Point-specular lighting effect uses to scale the image to the corresponding kernel unit length. There are six scale modes that range in quality and speed. | |
|
Identifiers for properties of the Posterize effect. | |
|
Describes how a render target behaves when it presents its content. This enumeration allows a bitwise combination of its member values. | |
|
Used to specify the geometric blend mode for all Direct2D primitives. | |
|
Defines when font resources should be subset during printing. | |
|
Specifies the types of properties supported by the Direct2D property interface. | |
|
Specifies the indices of the system properties present on the ID2D1Properties interface for an ID2D1Effect. | |
|
The rendering priority affects the extent to which Direct2D will throttle its rendering workload. | |
|
Describes whether a render target uses hardware or software rendering, or if Direct2D should select the rendering mode. | |
|
Describes how a render target is remoted and whether it should be GDI-compatible. This enumeration allows a bitwise combination of its member values. | |
|
Specifies which kinds of resources should be released when ID2D1Device::ClearResources is invoked. | |
|
Values for the D2D1_RGBTOHUE_PROP_OUTPUT_COLOR_SPACE property of the RGB to Hue effect. | |
|
Indentifiers for properties of the RGB to Hue effect. | |
|
Identifiers for properties of the Saturation effect. | |
|
The interpolation mode the Scale effect uses to scale the image. There are 6 scale modes that range in quality and speed. | |
|
Identifiers for properties of the Scale effect. | |
|
Identifiers for properties of the Sepia effect. | |
|
The level of performance optimization for the Shadow effect. | |
|
Identifiers for properties of the Shadow effect. | |
|
Identifiers for properties of the Sharpen effect. | |
|
Identifiers for properties of the Spot-diffuse lighting effect. | |
|
The interpolation mode the Spot-diffuse lighting effect uses to scale the image to the corresponding kernel unit length. There are six scale modes that range in quality and speed. | |
|
Identifiers for properties of the Spot-specular lighting effect. | |
|
The interpolation mode the Spot-specular lighting effect uses to scale the image to the corresponding kernel unit length. There are six scale modes that range in quality and speed. | |
|
Specifies additional aspects of how a sprite batch is to be drawn, as part of a call to ID2D1DeviceContext3::DrawSpriteBatch. | |
|
Identifiers for properties of the Straighten effect. | |
|
Values for the D2D1_STRAIGHTEN_PROP_SCALE_MODE property of the Straighten effect. | |
|
Defines how the world transform, dots per inch (dpi), and stroke width affect the shape of the pen used to stroke a primitive. | |
|
Specifies the indices of the system sub-properties that may be present in any property. | |
|
The alignment portion of the SVG preserveAspectRatio attribute. | |
|
The meetOrSlice portion of the SVG preserveAspectRatio attribute. | |
|
Defines the type of SVG POD attribute to set or get. | |
|
Defines the type of SVG string attribute to set or get. | |
|
Specifies a value for the SVG display property. | |
|
Specifies the units for an SVG length. | |
|
Specifies a value for the SVG stroke-linecap property. | |
|
Specifies a value for the SVG stroke-linejoin property. | |
|
Specifies a value for the SVG overflow property. | |
|
Specifies the paint type for an SVG fill or stroke. | |
|
Represents a path commmand. Each command may reference floats from the segment data. Commands ending in _ABSOLUTE interpret data as absolute coordinate. Commands ending in _RELATIVE interpret data as being relative to the previous point. | |
|
Defines the coordinate system used for SVG gradient or clipPath elements. | |
|
Specifies a value for the SVG visibility property. | |
|
Defines the direction that an elliptical arc is drawn. | |
|
Identifiers for properties of the Table transfer effect. | |
|
Identifiers for properties of the Temperature and Tint effect. | |
|
Describes the antialiasing mode used for drawing text. | |
|
Specifies the threading mode used while simultaneously creating the device, factory, and device context. | |
|
Identifiers for properties of the Tile effect. | |
|
Option flags for transformed image sources. | |
|
The turbulence noise mode for the Turbulence effect. Indicates whether to generate a bitmap based on Fractal Noise or the Turbulence function. | |
|
Identifiers for properties of the Turbulence effect. | |
|
Specifies how units in Direct2D will be interpreted. | |
|
Describes flags that influence how the renderer interacts with a custom vertex shader. | |
|
Indicates whether the vertex buffer changes infrequently or frequently. | |
|
Identifiers for properties of the Vignette effect. | |
|
Describes whether a window is occluded. | |
|
Specifies the chroma subsampling of the input chroma image used by the YCbCr effect. | |
|
Specifies the interpolation mode for the YCbCr effect. | |
|
Identifiers for properties of the YCbCr effect. |