CanvasDrawingSessionDrawImage Method (CanvasBitmap, Rect, Rect, Single, CanvasImageInterpolation, Matrix4x4) |
Draws a bitmap.
Namespace:
Microsoft.Graphics.Canvas
Assembly:
Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax Remarks - The area of the bitmap specified by the source rectangle is scaled to fill the destination rectangle.
- The source rectangle is specified in the bitmap's coordinate system
- If the source bitmap is a bitmap then the source rectangle is clipped to the bounds of the bitmap.
- The opacity parameter is a float between 0.0f and 1.0f. 1.0f is the default.
- The interpolation parameter defaults to Linear.
- The perspective parameter applies an additional transform to that specified by Transform.
See Also