Table of Contents

Method UseTranslateTransform

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

UseTranslateTransform(IDeviceContext, Vector2Float, MatrixMultiplyOrder)

public static PushTransformScope UseTranslateTransform(this IDeviceContext deviceContext, Vector2Float offset, MatrixMultiplyOrder order = MatrixMultiplyOrder.Prepend)

Parameters

deviceContext IDeviceContext
offset Vector2Float
order MatrixMultiplyOrder

Returns

PushTransformScope

UseTranslateTransform(IDeviceContext, Point2Float, MatrixMultiplyOrder)

public static PushTransformScope UseTranslateTransform(this IDeviceContext deviceContext, Point2Float offset, MatrixMultiplyOrder order = MatrixMultiplyOrder.Prepend)

Parameters

deviceContext IDeviceContext
offset Point2Float
order MatrixMultiplyOrder

Returns

PushTransformScope

UseTranslateTransform(IDeviceContext, float, float, MatrixMultiplyOrder)

public static PushTransformScope UseTranslateTransform(this IDeviceContext deviceContext, float dx, float dy, MatrixMultiplyOrder order = MatrixMultiplyOrder.Prepend)

Parameters

deviceContext IDeviceContext
dx float
dy float
order MatrixMultiplyOrder

Returns

PushTransformScope