CanvasRenderTarget Constructor (ICanvasResourceCreator, Single, Single, Single, DirectXPixelFormat, CanvasAlphaMode) |
Namespace: Microsoft.Graphics.Canvas
public CanvasRenderTarget( ICanvasResourceCreator resourceCreator, float width, float height, float dpi, DirectXPixelFormat format, CanvasAlphaMode alpha )
Size is in device independent pixels (DIPs), using the specified DPI.
List of supported pixel formats.