Method UseScaleTransform
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.Core.dll
UseScaleTransform(IDeviceContext, Vector2Float, MatrixMultiplyOrder)
public static PushTransformScope UseScaleTransform(this IDeviceContext deviceContext, Vector2Float scale, MatrixMultiplyOrder order = MatrixMultiplyOrder.Prepend)
Parameters
deviceContext
IDeviceContextscale
Vector2Floatorder
MatrixMultiplyOrder
Returns
UseScaleTransform(IDeviceContext, float, float, MatrixMultiplyOrder)
public static PushTransformScope UseScaleTransform(this IDeviceContext deviceContext, float sx, float sy, MatrixMultiplyOrder order = MatrixMultiplyOrder.Prepend)
Parameters
deviceContext
IDeviceContextsx
floatsy
floatorder
MatrixMultiplyOrder