2 out of 2 rated this helpful - Rate this topic

Interfaces

Direct2D provides the following interfaces.

In this section

TopicDescription

ID2D1AnalysisTransform

Supplies data to an analysis effect.

ID2D1Bitmap

Represents a bitmap that has been bound to an ID2D1RenderTarget.

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.

ID2D1BitmapBrush

Paints an area with a bitmap.

ID2D1BitmapBrush1

Paints an area with a bitmap.

ID2D1BitmapRenderTarget

Renders to an intermediate texture created by the CreateCompatibleRenderTarget method.

ID2D1BlendTransform

Provides methods to allow a blend operation to be inserted into a transform graph.

ID2D1BorderTransform

Extends the input rectangle to infinity using the specified extend modes.

ID2D1BoundsAdjustmentTransform

A support transform for effects to modify the output rectangle of the previous effect or bitmap.

ID2D1Brush

Defines an object that paints an area. Interfaces that derive from ID2D1Brush describe how the area is painted.

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. 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.

ID2D1ComputeInfo

Enables specification of information for a compute-shader rendering pass.

ID2D1ComputeTransform

Defines a transform that uses a compute shader.

ID2D1ConcreteTransform

Represents the set of transforms implemented by the effect-rendering system, which provides fixed-functionality.

ID2D1DCRenderTarget

Issues drawing commands to a GDI device context.

ID2D1Device

Represents a resource domain whose objects and device contexts can be used together.

ID2D1DeviceContext

Represents a set of state and command buffers that are used to render to a target.

ID2D1DrawInfo

This interface is used to describe a GPU rendering pass on a vertex or pixel shader. It is passed to ID2D1DrawTransform.

ID2D1DrawingStateBlock

Represents the drawing state of a render target: the antialiasing mode, transform, tags, and text-rendering options.

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.

ID2D1DrawTransform

A specialized implementation of the Shantzis calculations to a transform implemented on the GPU.

ID2D1Effect

Represents a basic image-processing construct in Direct2D.

ID2D1EffectContext

Provides factory methods and other state management for effect and transform authors.

ID2D1EffectImpl

Allows the internal context to be specified by the effect author.

ID2D1EllipseGeometry

Represents an ellipse.

ID2D1Factory

Creates Direct2D resources.

ID2D1Factory1

Creates Direct2D resources.

ID2D1GdiInteropRenderTarget

Provides access to an device context that can accept GDI drawing commands.

ID2D1GdiMetafile

A Direct2D resource that wraps a WMF, EMF, or EMF+ metafile.

ID2D1GdiMetafileSink

A developer implemented interface that allows a metafile to be replayed.

ID2D1Geometry

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.

ID2D1GeometryGroup

Represents a composite geometry, composed of other ID2D1Geometry objects.

ID2D1GeometrySink

Describes a geometric path that can contain lines, arcs, cubic Bezier curves, and quadratic Bezier curves.

ID2D1GradientStopCollection

Represents an collection of D2D1_GRADIENT_STOP objects for linear and radial gradient brushes.

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.

ID2D1HwndRenderTarget

Renders drawing instructions to a window.

ID2D1Image

Represents a producer of pixels that can fill an arbitrary 2D plane.

ID2D1ImageBrush

Represents a brush based on an ID2D1Image.

ID2D1Layer

Represents the backing store required to render a layer.

ID2D1LinearGradientBrush

Paints an area with a linear gradient.

ID2D1Mesh

Represents a set of vertices that form a list of triangles.

ID2D1MultiThread

A locking mechanism from a Direct2D factory that Direct2D uses to control exclusive resource access in an app that is uses multiple threads.

ID2D1OffsetTransform

Instructs the effect-rendering system to offset an input bitmap without inserting a rendering pass.

ID2D1PathGeometry

Represents a complex shape that may be composed of arcs, curves, and lines.

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.

ID2D1RadialGradientBrush

Paints an area with a radial gradient.

ID2D1RectangleGeometry

Describes a two-dimensional rectangle.

ID2D1RenderInfo

Describes the render information common to all of the various transform implementations.

ID2D1RenderTarget

Represents an object that can receive drawing commands. Interfaces that inherit from ID2D1RenderTarget render the drawing commands they receive in different ways.

ID2D1Resource

Represents a Direct2D drawing resource.

ID2D1ResourceTexture

Tracks a transform-created resource texture.

ID2D1RoundedRectangleGeometry

Describes a rounded rectangle.

ID2D1SimplifiedGeometrySink

Describes a geometric path that does not contain quadratic bezier curves or arcs.

ID2D1SolidColorBrush

Paints an area with a solid color.

ID2D1SourceTransform

Represents a CPU-based rasterization stage in the transform pipeline graph.

ID2D1StrokeStyle

Describes the caps, miter limit, line join, and dash information for a stroke.

ID2D1StrokeStyle1

Describes the caps, miter limit, line join, and dash information for a stroke.

ID2D1TessellationSink

Populates an ID2D1Mesh object with triangles.

ID2D1Transform

Represents the base interface for all of the transforms implemented by the transform author.

ID2D1TransformedGeometry

Represents a geometry that has been transformed.

ID2D1TransformGraph

Represents a graph of transform nodes.

ID2D1TransformNode

Describes a node in a transform topology.

ID2D1VertexBuffer

Defines a mappable single-dimensional vertex buffer.

 

 

 

Send comments about this topic to Microsoft

Build date: 11/29/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.