Table of Contents

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 IDeviceContext
scale Vector2Float
order MatrixMultiplyOrder

Returns

PushTransformScope

UseScaleTransform(IDeviceContext, float, float, MatrixMultiplyOrder)

public static PushTransformScope UseScaleTransform(this IDeviceContext deviceContext, float sx, float sy, MatrixMultiplyOrder order = MatrixMultiplyOrder.Prepend)

Parameters

deviceContext IDeviceContext
sx float
sy float
order MatrixMultiplyOrder

Returns

PushTransformScope