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
IDeviceContextoffset
Vector2Floatorder
MatrixMultiplyOrder
Returns
UseTranslateTransform(IDeviceContext, Point2Float, MatrixMultiplyOrder)
public static PushTransformScope UseTranslateTransform(this IDeviceContext deviceContext, Point2Float offset, MatrixMultiplyOrder order = MatrixMultiplyOrder.Prepend)
Parameters
deviceContext
IDeviceContextoffset
Point2Floatorder
MatrixMultiplyOrder
Returns
UseTranslateTransform(IDeviceContext, float, float, MatrixMultiplyOrder)
public static PushTransformScope UseTranslateTransform(this IDeviceContext deviceContext, float dx, float dy, MatrixMultiplyOrder order = MatrixMultiplyOrder.Prepend)
Parameters
deviceContext
IDeviceContextdx
floatdy
floatorder
MatrixMultiplyOrder