ID2D1CommandSink2 interface
This interface performs all the same functions as the existing ID2D1CommandSink1 interface. It also enables access to ink rendering and gradient mesh rendering.
Members
The ID2D1CommandSink2 interface inherits from ID2D1CommandSink1. ID2D1CommandSink2 also has these types of members:
Methods
The ID2D1CommandSink2 interface has these methods.
| Method | Description |
|---|---|
| DrawGdiMetafile |
Draws a metafile to the command sink using the given source and destination rectangles. |
| DrawGradientMesh |
Renders a given gradient mesh to the target. |
| DrawInk |
Renders the given ink object using the given brush and ink style. |
Requirements
|
Minimum supported client |
Windows 8.1 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 R2 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
See also