Table of Contents

Method UseScaleAtTransform

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.Core.dll

UseScaleAtTransform(IDeviceContext, Vector2Float, Point2Float, MatrixMultiplyOrder)

public static PushTransformScope UseScaleAtTransform(this IDeviceContext deviceContext, Vector2Float scale, Point2Float center, MatrixMultiplyOrder order = MatrixMultiplyOrder.Prepend)

Parameters

deviceContext IDeviceContext
scale Vector2Float
center Point2Float
order MatrixMultiplyOrder

Returns

PushTransformScope

UseScaleAtTransform(IDeviceContext, float, float, Point2Float, MatrixMultiplyOrder)

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

Parameters

deviceContext IDeviceContext
sx float
sy float
center Point2Float
order MatrixMultiplyOrder

Returns

PushTransformScope

UseScaleAtTransform(IDeviceContext, float, float, float, float, MatrixMultiplyOrder)

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

Parameters

deviceContext IDeviceContext
sx float
sy float
centerX float
centerY float
order MatrixMultiplyOrder

Returns

PushTransformScope