Table of Contents

Method TransformToDevice

Namespace
Alternet.Common.Wpf
Assembly
Alternet.Common.Wpf.v10.dll

TransformToDevice(Rect, Visual)

Transforms given rectangle to the rendering destination device.

public static Rect TransformToDevice(Rect rect, Visual visual)

Parameters

rect Rect

A rectangle that is a basic for the transformation.

visual Visual

A visual element that specifies the destination device.

Returns

Rect

The rectangle that results from the transform operation.

TransformToDevice(Size, Visual)

Transforms given size to the rendering destination device.

public static Size TransformToDevice(Size size, Visual visual)

Parameters

size Size

A Size that is a basic for the transformation.

visual Visual

A visual element that specifies the destination device.

Returns

Size

The Size that results from the transform operation.

TransformToDevice(Point, Visual)

Transforms given Point to the rendering destination device.

public static Point TransformToDevice(Point point, Visual visual)

Parameters

point Point

A Size that is a basic for the transformation.

visual Visual

A visual element that specifies the destination device.

Returns

Point

The Point that results from the transform operation.