Επεξεργασία

Κοινή χρήση μέσω


Direct2D enumerations

Direct2D defines the following enumerations.

In this section

Topic and description
D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE. The interpolation mode to be used with the 2D affine transform effect to scale the image. There are 6 scale modes, which range in quality and speed.
D2D1_2DAFFINETRANSFORM_PROP. Identifiers for properties of the 2D affine transform effect.
D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE. The interpolation mode the 3D perspective transform effect uses on the image. There are 5 scale modes, which range in quality and speed.
D2D1_3DPERSPECTIVETRANSFORM_PROP. Identifiers for the properties of the 3D perspective transform effect.
D2D1_3DTRANSFORM_INTERPOLATION_MODE. The interpolation mode the 3D transform effect uses on the image. There are 5 scale modes, which range in quality and speed.
D2D1_3DTRANSFORM_PROP. Identifiers for properties of the 3D transform effect.
D2D1_ALPHA_MODE. Specifies how the alpha value of a bitmap or render target should be treated.
D2D1_ANTIALIAS_MODE. Specifies how the edges of nontext primitives are rendered.
D2D1_ARC_SIZE. Specifies whether an arc should be greater than 180 degrees.
D2D1_ARITHMETICCOMPOSITE_PROP. Identifiers for the properties of the arithmetic composite effect.
D2D1_ATLAS_PROP. Identifiers for properties of the atlas effect.
D2D1_BITMAPSOURCE_ALPHA_MODE. Specifies the alpha mode of the output of the bitmap source effect.
D2D1_BITMAPSOURCE_INTERPOLATION_MODE. The interpolation mode used to scale the image in the bitmap source effect.
D2D1_BITMAPSOURCE_ORIENTATION. Specifies whether a flip and/or rotation operation should be performed by the bitmap source effect.
D2D1_BITMAPSOURCE_PROP. Identifiers for properties of the bitmap source effect.
D2D1_BITMAP_INTERPOLATION_MODE. Specifies the algorithm that is used when images are scaled or rotated. See D2D1_INTERPOLATION_MODE.
D2D1_BITMAP_OPTIONS. Specifies how a bitmap can be used.
D2D1_BLEND. Specifies how one of the color sources is to be derived and optionally specifies a preblend operation on the color source.
D2D1_BLEND_MODE. The blend mode used for the blend effect.
D2D1_BLEND_OPERATION. Specifies the blend operation on two color sources.
D2D1_BLEND_PROP. Identifiers for properties of the blend effect.
D2D1_BORDER_EDGE_MODE. The edge mode for the border effect.
D2D1_BORDER_MODE. Specifies how the crop effect handles the crop rectangle falling on fractional pixel coordinates.
D2D1_BORDER_PROP. Identifiers for properties of the border effect.
D2D1_BRIGHTNESS_PROP. Identifiers for the properties of the brightness effect.
D2D1_BUFFER_PRECISION. Represents the bit depth of the imaging pipeline in Direct2D.
D2D1_CAP_STYLE. Describes the shape at the end of a line or segment.
D2D1_CHANGE_TYPE. Describes flags that influence how the renderer interacts with a custom vertex shader.
D2D1_CHANNEL_DEPTH. Allows a caller to control the channel depth of a stage in the rendering pipeline.
D2D1_CHANNEL_SELECTOR. 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.
D2D1_CHROMAKEY_PROP. Identifiers for properties of the chroma-key effect.
D2D1_COLORMANAGEMENT_ALPHA_MODE. Indicates how the color management effect should interpret alpha data that is contained in the input image.
D2D1_COLORMANAGEMENT_PROP. Identifiers for the properties of the color management effect.
D2D1_COLORMANAGEMENT_QUALITY. The quality level of the transform for the color management effect.
D2D1_COLORMANAGEMENT_RENDERING_INTENT. Specifies which ICC rendering intent the color management effect should use.
D2D1_COLORMATRIX_ALPHA_MODE. The alpha mode of the output of the color matrix effect.
D2D1_COLORMATRIX_PROP. Identifiers for the properties of the color matrix effect.
D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION. Specifies the pixel snapping policy when rendering color bitmap glyphs.
D2D1_COLOR_CONTEXT_TYPE. Specifies which way a color profile is defined.
D2D1_COLOR_SPACE. Defines options that should be applied to the color space.
D2D1_COLOR_INTERPOLATION_MODE. Defines how to interpolate between colors.
D2D1_COMBINE_MODE. Specifies the different methods by which two geometries can be combined.
D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS. Specifies additional features supportable by a compatible render target when it is created. This enumeration allows a bitwise combination of its member values.
D2D1_COMPOSITE_MODE. Used to specify the blend mode for all of the Direct2D blending operations.
D2D1_COMPOSITE_PROP. Identifiers for properties of the composite effect.
D2D1_CONTRAST_PROP. Identifiers for properties of the contrast effect.
D2D1_CONVOLVEMATRIX_PROP. Identifiers for properties of the convolve matrix effect.
D2D1_CONVOLVEMATRIX_SCALE_MODE. The interpolation mode the convolve matrix effect uses to scale the image to the corresponding kernel unit length. There are six scale modes, which range in quality and speed.
D2D1_CROP_PROP. Identifiers for properties of the crop effect.
D2D1_DASH_STYLE. Describes the sequence of dashes and gaps in a stroke.
D2D1_DC_INITIALIZE_MODE. Specifies how a device context is initialized for GDI rendering when it is retrieved from the render target.
D2D1_DEBUG_LEVEL. Indicates the type of information provided by the Direct2D Debug Layer.
D2D1_DEVICE_CONTEXT_OPTIONS. This specifies options that apply to the device context for its lifetime.
D2D1_DIRECTIONALBLUR_OPTIMIZATION. Specifies the optimization mode for the directional blur effect.
D2D1_DIRECTIONALBLUR_PROP. Identifiers for properties of the directional blur effect.
D2D1_DISCRETETRANSFER_PROP. Identifiers for properties of the discrete transfer effect.
D2D1_DISPLACEMENTMAP_PROP. Identifiers for properties of the displacement map effect.
D2D1_DISTANTDIFFUSE_PROP. Identifiers for properties of the distant-diffuse lighting effect.
D2D1_DISTANTDIFFUSE_SCALE_MODE. The interpolation mode the effect uses to scale the image to the corresponding kernel unit length. There are six scale modes, which range in quality and speed.
D2D1_DISTANTSPECULAR_PROP. Identifiers for properties of the distant-specular lighting effect.
D2D1_DISTANTSPECULAR_SCALE_MODE. The interpolation mode the distant-specular lighting effect uses to scale the image to the corresponding kernel unit length. There are six scale modes, which range in quality and speed.
D2D1_DPICOMPENSATION_INTERPOLATION_MODE. The interpolation mode the DPI compensation effect uses to scale the image.
D2D1_DPICOMPENSATION_PROP. Identifiers for properties of the DPI compensation effect.
D2D1_DRAW_TEXT_OPTIONS. Specifies whether text snapping is suppressed or clipping to the layout rectangle is enabled. This enumeration allows a bitwise combination of its member values.
D2D1_EDGEDETECTION_MODE. Values for the D2D1_EDGEDETECTION_PROP_MODE property of the edge detection effect.
D2D1_EDGEDETECTION_PROP. Identifiers for properties of the edge detection effect.
D2D1_EMBOSS_PROP. Identifiers for properties of the emboss effect.
D2D1_EXPOSURE_PROP. Identifiers for properties of the exposure effect.
D2D1_EXTEND_MODE. Specifies how a brush paints areas outside of its normal content area.
D2D1_FACTORY_TYPE. Specifies whether Direct2D provides synchronization for an ID2D1Factory and the resources it creates, so that they may be safely accessed from multiple threads.
D2D1_FEATURE. Defines capabilities of the underlying Direct3D device which may be queried using ID2D1EffectContext::CheckFeatureSupport.
D2D1_FEATURE_LEVEL. Describes the minimum DirectX support required for hardware rendering by a render target.
D2D1_FIGURE_BEGIN. Indicates whether a specific ID2D1SimplifiedGeometrySink figure is filled or hollow.
D2D1_FIGURE_END. Indicates whether a specific ID2D1SimplifiedGeometrySink figure is open or closed.
D2D1_FILL_MODE. Specifies how the intersecting areas of geometries or figures are combined to form the area of the composite geometry.
D2D1_FILTER. Represents filtering modes that a transform may select to use on input textures.
D2D1_FLOOD_PROP. Identifiers for properties of the flood effect.
D2D1_GAMMA. Specifies which gamma is used for interpolation.
D2D1_GAMMA1. Determines what gamma is used for interpolation and blending.
D2D1_GAMMATRANSFER_PROP. Identifiers for properties of the gamma transfer effect.
D2D1_GAUSSIANBLUR_OPTIMIZATION. The optimization mode for the gaussian blur effect.
D2D1_GAUSSIANBLUR_PROP. Identifiers for properties of the gaussian blur effect.
D2D1_GAMMA_CONVERSION. Defines the conversion between color spaces.
D2D1_GEOMETRY_RELATION. Describes how one geometry object is spatially related to another geometry object.
D2D1_GEOMETRY_SIMPLIFICATION_OPTION. Specifies how a geometry is simplified to an ID2D1SimplifiedGeometrySink.
D2D1_HDRTONEMAP_DISPLAY_MODE. Defines constants that specify a value for the D2D1_HDRTONEMAP_PROP_DISPLAY_MODE property of the HDR tone map effect.
D2D1_HDRTONEMAP_PROP. Defines constants that identify the top level properties of the HDR tone map effect.
D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA. Values for the D2D1_HIGHLIGHTSANDSHADOWS_PROP_INPUT_GAMMA property of the highlights and shadows effect.
D2D1_HIGHLIGHTSANDSHADOWS_PROP. Identifiers for properties of the highlights and shadows effect.
D2D1_HISTOGRAM_PROP. Identifiers for properties of the histogram effect.
D2D1_HUEROTATION_PROP. Identifiers for properties of the hue rotate effect.
D2D1_HUETORGB_INPUT_COLOR_SPACE. Values for the **D2D1_HUETORGB_PROP_INPUT_COLOR_SPACE **property of the hue-to-RGB effect.
D2D1_HUETORGB_PROP. Identifiers for properties of the hue-to-RGB effect.
D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS. Option flags controlling primary conversion performed by CreateImageSourceFromDxgi, if any.
D2D1_IMAGE_SOURCE_LOADING_OPTIONS. Controls option flags for a new ID2D1ImageSource when it is created.
D2D1_INK_NIB_SHAPE. Specifies the appearance of the ink nib (pen tip) as part of an D2D1_INK_STYLE_PROPERTIES structure.
D2D1_INTERPOLATION_MODE. This is used to specify the quality of image scaling with ID2D1DeviceContext::DrawImage and with the 2D affine transform effect.
D2D1_LAYER_OPTIONS. Specifies options that can be applied when a layer resource is applied to create a layer.
D2D1_LAYER_OPTIONS1. Specifies how the layer contents should be prepared.
D2D1_LINEARTRANSFER_PROP. Identifiers for properties of the linear transfer effect.
D2D1_LINE_JOIN. Describes the shape that joins two lines or segments.
D2D1_LOOKUPTABLE3D_PROP. Identifiers for the properties of the 3D Lookup Table effect.
D2D1_MORPHOLOGY_MODE. The mode for the morphology effect.
D2D1_MORPHOLOGY_PROP. Identifiers for properties of the morphology effect.
D2D1_MAP_OPTIONS. Specifies how the memory to be mapped from the corresponding ID2D1Bitmap1 should be treated.
D2D1_OPACITYMETADATA_PROP. Identifiers for properties of the opacity metadata effect.
D2D1_OPACITY_MASK_CONTENT. 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.
D2D1_ORIENTATION. Specifies the flip and rotation at which an image appears.
D2D1_PATCH_EDGE_MODE. Specifies how to render gradient mesh edges.
D2D1_PATH_SEGMENT. 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.
D2D1_PIXEL_OPTIONS. Indicates how pixel shader sampling will be restricted.
D2D1_POINTDIFFUSE_PROP. Identifiers for properties of the point-diffuse lighting effect.
D2D1_POINTDIFFUSE_SCALE_MODE. The interpolation mode that the point-diffuse lighting effect uses to scale the image to the corresponding kernel unit length. There are six scale modes, which range in quality and speed.
D2D1_POINTSPECULAR_PROP. Identifiers for properties of the point-specular lighting effect.
D2D1_POINTSPECULAR_SCALE_MODE. The interpolation mode the point-specular lighting effect uses to scale the image to the corresponding kernel unit length. There are six scale modes, which range in quality and speed.
D2D1_POSTERIZE_PROP. Identifiers for properties of the posterize effect.
D2D1_PRESENT_OPTIONS. Describes how a render target behaves when it presents its content. This enumeration allows a bitwise combination of its member values.
D2D1_PRIMITIVE_BLEND. Used to specify the geometric blend mode for all Direct2D primitives.
D2D1_PRINT_FONT_SUBSET_MODE. Defines when font resources should be subset during printing.
D2D1_PROPERTY_TYPE. Specifies the types of properties supported by the Direct2D property interface.
D2D1_PROPERTY. Specifies the indices of the system properties present on the ID2D1Properties interface for an ID2D1Effect.
D2D1_RENDERING_PRIORITY. The rendering priority affects the extent to which Direct2D throttles its rendering workload.
D2D1_RENDER_TARGET_TYPE. Describes whether a render target uses hardware or software rendering, or whether Direct2D should select the rendering mode.
D2D1_RENDER_TARGET_USAGE. Describes how a render target is remoted and whether it should be GDI-compatible. This enumeration allows a bitwise combination of its member values.
D2D1_RESOURCE_TYPE. Specifies which kinds of resources should be released when ID2D1Device::ClearResources is invoked.
D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE. Values for the D2D1_RGBTOHUE_PROP_OUTPUT_COLOR_SPACE property of the RGB-to-hue effect.
D2D1_RGBTOHUE_PROP. Identifiers for properties of the RGB-to-hue effect.
D2D1_SATURATION_PROP. Identifiers for properties of the saturation effect.
D2D1_SCALE_INTERPOLATION_MODE. The interpolation mode the scale effect uses to scale the image. There are 6 scale modes, which range in quality and speed.
D2D1_SCALE_PROP. Identifiers for properties of the scale effect.
D2D1_SEPIA_PROP. Identifiers for properties of the sepia effect.
D2D1_SHADOW_OPTIMIZATION. The level of performance optimization for the shadow effect.
D2D1_SHADOW_PROP. Identifiers for properties of the shadow effect.
D2D1_SHARPEN_PROP. Identifiers for properties of the sharpen effect.
D2D1_SPOTDIFFUSE_PROP. Identifiers for properties of the spot-diffuse lighting effect.
D2D1_SPOTDIFFUSE_SCALE_MODE. The interpolation mode the spot-diffuse lighting effect uses to scale the image to the corresponding kernel unit length. There are six scale modes, which range in quality and speed.
D2D1_SPOTSPECULAR_PROP. Identifiers for properties of the spot-specular lighting effect.
D2D1_SPOTSPECULAR_SCALE_MODE. The interpolation mode the spot-specular lighting effect uses to scale the image to the corresponding kernel unit length. There are six scale modes, which range in quality and speed.
D2D1_SPRITE_OPTIONS. Specifies additional aspects of how a sprite batch is to be drawn, as part of a call to ID2D1DeviceContext3::DrawSpriteBatch.
D2D1_STRAIGHTEN_PROP. Identifiers for properties of the straighten effect.
D2D1_STRAIGHTEN_SCALE_MODE. Values for the D2D1_STRAIGHTEN_PROP_SCALE_MODE property of the straighten effect.
D2D1_STROKE_TRANSFORM_TYPE. Defines how the world transform, dots per inch (dpi), and stroke width affect the shape of the pen used to stroke a primitive.
D2D1_SUBPROPERTY. Specifies the indices of the system sub-properties that may be present in any property.
D2D1_SVG_ASPECT_ALIGN. The alignment portion of the SVG preserveAspectRatio attribute.
D2D1_SVG_ASPECT_SCALING. The meetOrSlice portion of the SVG preserveAspectRatio attribute.
D2D1_SVG_ATTRIBUTE_POD_TYPE. Defines the type of SVG POD attribute to set or get.
D2D1_SVG_ATTRIBUTE_STRING_TYPE. Defines the type of SVG string attribute to set or get.
D2D1_SVG_DISPLAY. Specifies a value for the SVG display property.
D2D1_SVG_LENGTH_UNITS. Specifies the units for an SVG length.
D2D1_SVG_LINE_CAP. Specifies a value for the SVG stroke-linecap property.
D2D1_SVG_LINE_JOIN. Specifies a value for the SVG stroke-linejoin property.
D2D1_SVG_OVERFLOW. Specifies a value for the SVG overflow property.
D2D1_SVG_PAINT_TYPE. Specifies the paint type for an SVG fill or stroke.
D2D1_SVG_PATH_COMMAND. Represents a path command. 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.
D2D1_SVG_UNIT_TYPE. Defines the coordinate system used for SVG gradient or clipPath elements.
D2D1_SVG_VISIBILITY. Specifies a value for the SVG visibility property.
D2D1_SWEEP_DIRECTION. Defines the direction that an elliptical arc is drawn.
D2D1_TABLETRANSFER_PROP. Identifiers for properties of the table transfer effect.
D2D1_TEMPERATUREANDTINT_PROP. Identifiers for properties of the temperature and tint effect.
D2D1_TEXT_ANTIALIAS_MODE. Describes the antialiasing mode used for drawing text.
D2D1_THREADING_MODE. Specifies the threading mode used while simultaneously creating the device, factory, and device context.
D2D1_TILE_PROP. Identifiers for properties of the tile effect.
D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS. Option flags for transformed image sources.
D2D1_TURBULENCE_NOISE. The turbulence noise mode for the turbulence effect. Indicates whether to generate a bitmap based on Fractal Noise or the Turbulence function.
D2D1_TURBULENCE_PROP. Identifiers for properties of the turbulence effect.
D2D1_UNIT_MODE. Specifies how units in Direct2D will be interpreted.
D2D1_VERTEX_OPTIONS. Describes flags that influence how the renderer interacts with a custom vertex shader.
D2D1_VERTEX_USAGE. Indicates whether the vertex buffer changes infrequently or frequently.
D2D1_VIGNETTE_PROP. Identifiers for properties of the vignette effect.
D2D1_WHITELEVELADJUSTMENT_PROP. Defines constants that identify the top level properties of the white level adjustment effect.
D2D1_WINDOW_STATE. Describes whether a window is occluded.
D2D1_YCBCR_CHROMA_SUBSAMPLING. Specifies the chroma subsampling of the input chroma image used by the YCbCr effect.
D2D1_YCBCR_INTERPOLATION_MODE. Specifies the interpolation mode for the YCbCr effect.
D2D1_YCBCR_PROP. Identifiers for properties of the YCbCr effect.