d2d1_3.h header
This header is used by Direct2D. For more information, see:
d2d1_3.h contains the following programming interfaces:
Interfaces
ID2D1ColorContext1 Represents a color context to be used with the Color Management Effect. |
ID2D1CommandSink2 This interface performs all the same functions as the existing ID2D1CommandSink1 interface. It also enables access to ink rendering and gradient mesh rendering. |
ID2D1CommandSink3 This interface performs all the same functions as the existing ID2D1CommandSink2 interface. It also enables access to sprite batch rendering. |
ID2D1CommandSink4 This interface performs all the same functions as the existing ID2D1CommandSink3 interface. It also enables access to the new primitive blend mode, MAX, through the SetPrimitiveBlend2 method. |
ID2D1CommandSink5 This interface performs all the same functions as the existing ID2D1CommandSink4 interface, plus it enables access to the BlendImage method. |
ID2D1Device2 Represents a resource domain whose objects and device contexts can be used together. This interface performs all the same functions as the existing ID2D1Device1 interface. It also enables the creation of ID2D1DeviceContext2 objects. |
ID2D1Device3 Represents a resource domain whose objects and device contexts can be used together. This interface performs all the same functions as the ID2D1Device2 interface. It also enables the creation of ID2D1DeviceContext3 objects. |
ID2D1Device4 Represents a resource domain whose objects and device contexts can be used together. This interface performs all the same functions as the ID2D1Device3 interface. It also enables the creation of ID2D1DeviceContext4 objects. |
ID2D1Device5 Represents a resource domain whose objects and device contexts can be used together. This interface performs all the same functions as the ID2D1Device4 interface. It also enables the creation of ID2D1DeviceContext5 objects. |
ID2D1Device6 Represents a resource domain whose objects and device contexts can be used together. This interface performs all the same functions as the ID2D1Device5 interface, plus it enables the creation of ID2D1DeviceContext6 objects. |
ID2D1Device7 Represents a resource domain whose objects and device contexts can be used together. |
ID2D1DeviceContext2 This interface performs all the same functions as the ID2D1DeviceContext1 interface, plus it enables functionality such as ink rendering, gradient mesh rendering, and improved image loading. |
ID2D1DeviceContext3 This interface performs all the same functions as the ID2D1DeviceContext2 interface, plus it enables functionality for creating and drawing sprite batches. |
ID2D1DeviceContext4 This interface performs all the same functions as the ID2D1DeviceContext3 interface, plus it enables functionality for handling new types of color font glyphs. |
ID2D1DeviceContext5 This interface performs all the same functions as the ID2D1DeviceContext4 interface, plus it enables the creation of color contexts and Svg documents. |
ID2D1DeviceContext6 This interface performs all the same functions as the existing ID2D1DeviceContext5 interface, plus it enables access to the BlendImage method. |
ID2D1DeviceContext7 Enables creation and drawing of geometry realization objects; extends earlier device context interfaces with support for advanced color fonts. |
ID2D1Factory3 Creates Direct2D resources. This interface also enables the creation of ID2D1Device2 objects. |
ID2D1Factory4 Creates Direct2D resources. This interface also enables the creation of ID2D1Device3 objects. |
ID2D1Factory5 Creates Direct2D resources. This interface also enables the creation of ID2D1Device4 objects. |
ID2D1Factory6 Creates Direct2D resources. This interface also enables the creation of ID2D1Device5 objects. |
ID2D1Factory7 Creates Direct2D resources. This interface performs all the same functions as the ID2D1Factory6 interface, plus it enables the creation of ID2D1Device6 objects. |
ID2D1Factory8 Creates Direct2D resources. This interface also enables the creation of ID2D1Device7 objects. |
ID2D1GdiMetafile1 This interface performs all the same functions as the existing ID2D1GdiMetafile interface. It also enables accessing the metafile DPI and bounds. |
ID2D1GdiMetafileSink1 This interface performs all the same functions as the existing ID2D1GdiMetafileSink interface. It also enables access to metafile records. |
ID2D1GradientMesh Represents a device-dependent representation of a gradient mesh composed of patches. Use the ID2D1DeviceContext2::CreateGradientMesh method to create an instance of ID2D1GradientMesh. |
ID2D1ImageSource Represents a producer of pixels that can fill an arbitrary 2D plane. (ID2D1ImageSource) |
ID2D1ImageSourceFromWic Produces 2D pixel data that has been sourced from WIC. |
ID2D1Ink Represents a single continuous stroke of variable-width ink, as defined by a series of Bezier segments and widths. |
ID2D1InkStyle Represents a collection of style properties to be used by methods like ID2D1DeviceContext2::DrawInk when rendering ink. The ink style defines the nib (pen tip) shape and transform. |
ID2D1LookupTable3D A container for 3D lookup table data that can be passed to the LookupTable3D effect. |
ID2D1SpriteBatch Represents a single group of sprites with their associated drawing properties. |
ID2D1SvgGlyphStyle This object supplies the values for context-fill, context-stroke, and context-value that are used when rendering SVG glyphs. |
ID2D1TransformedImageSource Represents an image source which shares resources with an original image source. |
Functions
D2D1GetGradientMeshInteriorPointsFromCoonsPatch Returns the interior points for a gradient mesh patch based on the points defining a Coons patch. |
Structures
D2D1_GRADIENT_MESH_PATCH Represents a tensor patch with 16 control points, 4 corner colors, and boundary flags. An ID2D1GradientMesh is made up of 1 or more gradient mesh patches. Use the GradientMeshPatch function or the GradientMeshPatchFromCoonsPatch function to create one. |
D2D1_INK_BEZIER_SEGMENT Represents a Bezier segment to be used in the creation of an ID2D1Ink object. This structure differs from D2D1_BEZIER_SEGMENT in that it is composed of D2D1_INK_POINTs, which contain a radius in addition to x- and y-coordinates. |
D2D1_INK_POINT Represents a point, radius pair that makes up part of a D2D1_INK_BEZIER_SEGMENT. |
D2D1_INK_STYLE_PROPERTIES Defines the general pen tip shape and the transform used in an ID2D1InkStyle object. |
D2D1_SIMPLE_COLOR_PROFILE Simple description of a color space. |
D2D1_TRANSFORMED_IMAGE_SOURCE_PROPERTIES Properties of a transformed image source. |
Enumerations
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_GAMMA1 Determines what gamma is used for interpolation and blending. |
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 a D2D1_INK_STYLE_PROPERTIES structure. |
D2D1_ORIENTATION Specifies the flip and rotation at which an image appears. |
D2D1_PATCH_EDGE_MODE Specifies how to render gradient mesh edges. |
D2D1_SPRITE_OPTIONS Specifies additional aspects of how a sprite batch is to be drawn, as part of a call to ID2D1DeviceContext3::DrawSpriteBatch. |
D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS Option flags for transformed image sources. |