Skip to main content
ID2D1Transform interface

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

When to implement

Through the derived ID2D1DrawTransform or ID2D1SourceTransform interfaces.

Members

The ID2D1Transform interface inherits from ID2D1TransformNode. ID2D1Transform also has these types of members:

Methods

The ID2D1Transform interface has these methods.

MethodDescription
MapInputRectsToOutputRect

Performs the inverse mapping to MapOutputRectToInputRects.

MapInvalidRect

Sets the input rectangles for this rendering pass into the transform.

MapOutputRectToInputRects

Allows a transform to state how it would map a rectangle requested on its output to a set of sample rectangles on its input.

 

Remarks

Transforms are aggregated by effect authors. This interface provides a common interface for implementing the Shantzis rectangle calculations which is the basis for all the transform processing in Direct2D imaging extensions. These calculations are described in the paper A model for efficient and flexible image computing.

Requirements

Minimum supported client

Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1effectauthor.h

Library

D2d1.lib