d2d1_1.h header
This header is used by Direct2D. For more information, see:
d2d1_1.h contains the following programming interfaces:
Interfaces
ID2D1Bitmap1 Represents a bitmap that can be used as a surface for an ID2D1DeviceContext or mapped into system memory, and can contain additional color context information. |
ID2D1BitmapBrush1 Paints an area with a bitmap. (ID2D1BitmapBrush1) |
ID2D1ColorContext Represents a color context that can be used with an ID2D1Bitmap1 object. |
ID2D1CommandList Represents a sequence of commands that can be recorded and played back. |
ID2D1CommandSink The command sink is implemented by you for an application when you want to receive a playback of the commands recorded in a command list. |
ID2D1Device Represents a resource domain whose objects and device contexts can be used together. (ID2D1Device) |
ID2D1DeviceContext Represents a set of state and command buffers that are used to render to a target. |
ID2D1DrawingStateBlock1 Implementation of a drawing state block that adds the functionality of primitive blend in addition to already existing antialias mode, transform, tags and text rendering mode. |
ID2D1Effect Represents a basic image-processing construct in Direct2D. |
ID2D1Factory1 Creates Direct2D resources. (ID2D1Factory1) |
ID2D1GdiMetafile A Direct2D resource that wraps a WMF, EMF, or EMF+ metafile. |
ID2D1GdiMetafileSink A developer implemented interface that allows a metafile to be replayed. |
ID2D1GradientStopCollection1 Represents a collection of D2D1_GRADIENT_STOP objects for linear and radial gradient brushes. It provides get methods for all the new parameters added to the gradient stop collection. |
ID2D1ImageBrush Represents a brush based on an ID2D1Image. |
ID2D1Multithread A locking mechanism from a Direct2D factory that Direct2D uses to control exclusive resource access in an app that is uses multiple threads. |
ID2D1PathGeometry1 The ID2D1PathGeometry1 interface adds functionality to ID2D1PathGeometry. In particular, it provides the path geometry-specific ComputePointAndSegmentAtLength method. |
ID2D1PrintControl Converts Direct2D primitives stored in an ID2D1CommandList into a fixed page representation. The print sub-system then consumes the primitives. |
ID2D1Properties Represents a set of run-time bindable and discoverable properties that allow a data-driven application to modify the state of a Direct2D effect. |
ID2D1StrokeStyle1 Describes the caps, miter limit, line join, and dash information for a stroke. (ID2D1StrokeStyle1) |
Functions
D2D1ConvertColorSpace Converts the given color from one colorspace to another. |
D2D1CreateDevice Creates a new Direct2D device associated with the provided DXGI device. |
D2D1CreateDeviceContext Creates a new Direct2D device context associated with a DXGI surface. |
D2D1SinCos Returns the sine and cosine of an angle. |
D2D1Tan Returns the tangent of an angle. |
D2D1Vec3Length Returns the length of a 3 dimensional vector. |
Callback functions
PD2D1_EFFECT_FACTORY Describes the implementation of an effect. |
Structures
D2D1_BITMAP_BRUSH_PROPERTIES1 Describes the extend modes and the interpolation mode of an ID2D1BitmapBrush. (D2D1_BITMAP_BRUSH_PROPERTIES1) |
D2D1_BITMAP_PROPERTIES1 This structure allows a ID2D1Bitmap1 to be created with bitmap options and color context information available. |
D2D1_CREATION_PROPERTIES Specifies the options with which the Direct2D device, factory, and device context are created. |
D2D1_DRAWING_STATE_DESCRIPTION1 Describes the drawing state of a device context. |
D2D1_EFFECT_INPUT_DESCRIPTION Describes features of an effect. |
D2D1_IMAGE_BRUSH_PROPERTIES Describes image brush features. |
D2D1_LAYER_PARAMETERS1 Contains the content bounds, mask information, opacity settings, and other options for a layer resource. (D2D1_LAYER_PARAMETERS1) |
D2D1_MAPPED_RECT Describes mapped memory from the ID2D1Bitmap1::Map API. |
D2D1_POINT_DESCRIPTION Describes a point on a path geometry. |
D2D1_PRINT_CONTROL_PROPERTIES The creation properties for a ID2D1PrintControl object. |
D2D1_RENDERING_CONTROLS Describes limitations to be applied to an imaging effect renderer. |
D2D1_STROKE_STYLE_PROPERTIES1 Describes the stroke that outlines a shape. (D2D1_STROKE_STYLE_PROPERTIES1) |
Enumerations
D2D1_BITMAP_OPTIONS Specifies how a bitmap can be used. |
D2D1_BUFFER_PRECISION Represents the bit depth of the imaging pipeline in Direct2D. |
D2D1_COLOR_INTERPOLATION_MODE Defines how to interpolate between colors. |
D2D1_COLOR_SPACE Defines options that should be applied to the color space. |
D2D1_COMPOSITE_MODE Used to specify the blend mode for all of the Direct2D blending operations. |
D2D1_DEVICE_CONTEXT_OPTIONS This specifies options that apply to the device context for its lifetime. |
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_OPTIONS1 Specifies how the layer contents should be prepared. |
D2D1_MAP_OPTIONS Specifies how the memory to be mapped from the corresponding ID2D1Bitmap1 should be treated. |
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 Specifies the indices of the system properties present on the ID2D1Properties interface for an ID2D1Effect. |
D2D1_PROPERTY_TYPE Specifies the types of properties supported by the Direct2D property interface. |
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_THREADING_MODE Specifies the threading mode used while simultaneously creating the device, factory, and device context. |
D2D1_UNIT_MODE Specifies how units in Direct2D will be interpreted. |