Click or drag to resize
CanvasSwapChain Methods

The CanvasSwapChain type exposes the following members.

Methods
  NameDescription
Public methodConvertDipsToPixels
Converts units from device independent pixels (DIPs) to physical pixels based on the DPI of this swap chain.
Public methodConvertPixelsToDips
Converts units from physical pixels to device independent pixels (DIPs) based on the DPI of this swap chain.
Public methodCreateDrawingSession
Creates a drawing session that will draw onto this CanvasSwapChain.
Public methodStatic memberCreateForCoreWindow(ICanvasResourceCreator, CoreWindow, Single)
Initializes a new instance of a CanvasSwapChain, suitable for use with CoreWindow.
Public methodStatic memberCreateForCoreWindow(ICanvasResourceCreator, CoreWindow, Single, Single, Single, DirectXPixelFormat, Int32)
Initializes a new instance of a CanvasSwapChain, suitable for use with CoreWindow.
Public methodDispose
Releases all resources used by the CanvasSwapChain.
Public methodPresent
Presents a rendered image.
Public methodPresent(Int32)
Presents a rendered image, using the specified sync interval.
Public methodResizeBuffers(Size)
Changes the CanvasSwapChain's back buffer size.
Public methodResizeBuffers(Single, Single)
Changes the CanvasSwapChain's back buffer size.
Public methodResizeBuffers(Single, Single, Single)
Changes the CanvasSwapChain's back buffer size, and DPI.
Public methodResizeBuffers(Single, Single, Single, DirectXPixelFormat, Int32)
Changes the CanvasSwapChain's back buffer size, DPI, pixel format, and number of buffers.
Public methodWaitForVerticalBlank
Waits until the next vertical blank occurs on the display.
Top
See Also