CanvasComposition Class |
Namespace: Microsoft.Graphics.Canvas.UI.Composition
public static class CanvasComposition
The CanvasComposition type exposes the following members.
Name | Description | |
---|---|---|
CreateCompositionGraphicsDevice | [Win10_10586]
Creates a CompositionGraphicsDevice associated with a CanvasDevice.
| |
CreateCompositionSurfaceForSwapChain | [Win10_10586]
Creates an ICompositionSurface associated with a CanvasSwapChain.
| |
CreateDrawingSession(CompositionDrawingSurface) | [Win10_10586]
Creates a CanvasDrawingSession for drawing to the given CompositionDrawingSurface.
| |
CreateDrawingSession(CompositionDrawingSurface, Rect) | [Win10_10586]
Creates a CanvasDrawingSession for updating a region of the given CompositionDrawingSurface.
| |
CreateDrawingSession(CompositionDrawingSurface, Rect, Single) | [Win10_10586]
Creates a CanvasDrawingSession for updating a region of the given CompositionDrawingSurface, using a custom DPI setting.
| |
GetCanvasDevice | [Win10_10586]
Gets the CanvasDevice associated with the given CompositionGraphicsDevice.
| |
Resize | [Win10_10586]
Resizes the given CompositionDrawingSurface.
| |
SetCanvasDevice | [Win10_10586]
Sets the CanvasDevice associated with the given CompositionGraphicsDevice.
|
This API is only available when running on Windows 10 build 10586 (released November 2015) or greater.