Click or drag to resize
CanvasComposition Methods

The CanvasComposition type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreateCompositionGraphicsDevice
[Win10_10586] Creates a CompositionGraphicsDevice associated with a CanvasDevice.
Public methodStatic memberCreateCompositionSurfaceForSwapChain
[Win10_10586] Creates an ICompositionSurface associated with a CanvasSwapChain.
Public methodStatic memberCreateDrawingSession(CompositionDrawingSurface)
[Win10_10586] Creates a CanvasDrawingSession for drawing to the given CompositionDrawingSurface.
Public methodStatic memberCreateDrawingSession(CompositionDrawingSurface, Rect)
[Win10_10586] Creates a CanvasDrawingSession for updating a region of the given CompositionDrawingSurface.
Public methodStatic memberCreateDrawingSession(CompositionDrawingSurface, Rect, Single)
[Win10_10586] Creates a CanvasDrawingSession for updating a region of the given CompositionDrawingSurface, using a custom DPI setting.
Public methodStatic memberGetCanvasDevice
[Win10_10586] Gets the CanvasDevice associated with the given CompositionGraphicsDevice.
Public methodStatic memberResize
[Win10_10586] Resizes the given CompositionDrawingSurface.
Public methodStatic memberSetCanvasDevice
[Win10_10586] Sets the CanvasDevice associated with the given CompositionGraphicsDevice.
Top
See Also