Interfaces
Direct2D provides the following interfaces.
In this section
| Topic | Description |
|---|---|
|
Supplies data to an analysis effect. | |
|
Represents a bitmap that has been bound to an ID2D1RenderTarget. | |
|
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. | |
|
Paints an area with a bitmap. | |
|
Paints an area with a bitmap. | |
|
Renders to an intermediate texture created by the CreateCompatibleRenderTarget method. | |
|
Provides methods to allow a blend operation to be inserted into a transform graph. | |
|
Extends the input rectangle to infinity using the specified extend modes. | |
|
A support transform for effects to modify the output rectangle of the previous effect or bitmap. | |
|
Defines an object that paints an area. Interfaces that derive from ID2D1Brush describe how the area is painted. | |
|
Represents a color context that can be used with an ID2D1Bitmap1 object. | |
|
Represents a sequence of commands that can be recorded and played back. | |
|
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. A typical usage will be for transforming the command list into another format such as XPS when some degree of conversion between the Direct2D primitives and the target format is required. The command sink interface doesn't have any resource creation methods on it. The resources are still logically bound to the Direct2D device on which the command list was created and will be passed in to the command sink implementation. | |
|
Enables specification of information for a compute-shader rendering pass. | |
|
Defines a transform that uses a compute shader. | |
|
Represents the set of transforms implemented by the effect-rendering system, which provides fixed-functionality. | |
|
Issues drawing commands to a GDI device context. | |
|
Represents a resource domain whose objects and device contexts can be used together. | |
|
Represents a set of state and command buffers that are used to render to a target. | |
|
This interface is used to describe a GPU rendering pass on a vertex or pixel shader. It is passed to ID2D1DrawTransform. | |
|
Represents the drawing state of a render target: the antialiasing mode, transform, tags, and text-rendering options. | |
|
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. | |
|
A specialized implementation of the Shantzis calculations to a transform implemented on the GPU. | |
|
Represents a basic image-processing construct in Direct2D. | |
|
Provides factory methods and other state management for effect and transform authors. | |
|
Allows the internal context to be specified by the effect author. | |
|
Represents an ellipse. | |
|
Creates Direct2D resources. | |
|
Creates Direct2D resources. | |
|
Provides access to an device context that can accept GDI drawing commands. | |
|
A Direct2D resource that wraps a WMF, EMF, or EMF+ metafile. | |
|
A developer implemented interface that allows a metafile to be replayed. | |
|
Represents a geometry resource and defines a set of helper methods for manipulating and measuring geometric shapes. Interfaces that inherit from ID2D1Geometry define specific shapes. | |
|
Represents a composite geometry, composed of other ID2D1Geometry objects. | |
|
Describes a geometric path that can contain lines, arcs, cubic Bezier curves, and quadratic Bezier curves. | |
|
Represents an collection of D2D1_GRADIENT_STOP objects for linear and radial gradient brushes. | |
|
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. | |
|
Renders drawing instructions to a window. | |
|
Represents a producer of pixels that can fill an arbitrary 2D plane. | |
|
Represents a brush based on an ID2D1Image. | |
|
Represents the backing store required to render a layer. | |
|
Paints an area with a linear gradient. | |
|
Represents a set of vertices that form a list of triangles. | |
|
A locking mechanism from a Direct2D factory that Direct2D uses to control exclusive resource access in an app that is uses multiple threads. | |
|
Instructs the effect-rendering system to offset an input bitmap without inserting a rendering pass. | |
|
Represents a complex shape that may be composed of arcs, curves, and lines. | |
|
The ID2D1PathGeometry1 interface adds functionality to ID2D1PathGeometry. In particular, it provides the path geometry-specific ComputePointAndSegmentAtLength method. | |
|
Converts Direct2D primitives stored in an ID2D1CommandList into a fixed page representation. The print sub-system then consumes the primitives. | |
|
Represents a set of run-time bindable and discoverable properties that allow a data-driven application to modify the state of a Direct2D effect. | |
|
Paints an area with a radial gradient. | |
|
Describes a two-dimensional rectangle. | |
|
Describes the render information common to all of the various transform implementations. | |
|
Represents an object that can receive drawing commands. Interfaces that inherit from ID2D1RenderTarget render the drawing commands they receive in different ways. | |
|
Represents a Direct2D drawing resource. | |
|
Tracks a transform-created resource texture. | |
|
Describes a rounded rectangle. | |
|
Describes a geometric path that does not contain quadratic bezier curves or arcs. | |
|
Paints an area with a solid color. | |
|
Represents a CPU-based rasterization stage in the transform pipeline graph. | |
|
Describes the caps, miter limit, line join, and dash information for a stroke. | |
|
Describes the caps, miter limit, line join, and dash information for a stroke. | |
|
Populates an ID2D1Mesh object with triangles. | |
|
Represents the base interface for all of the transforms implemented by the transform author. | |
|
Represents a geometry that has been transformed. | |
|
Represents a graph of transform nodes. | |
|
Describes a node in a transform topology. | |
|
Defines a mappable single-dimensional vertex buffer. |
Send comments about this topic to Microsoft
Build date: 11/29/2012