Table of Contents

Method TransformFromDevice

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

TransformFromDevice(Rect, Visual)

Transforms given rectangle from the rendering destination device.

public static Rect TransformFromDevice(Rect rect, Visual visual)

Parameters

rect Rect

A rectangle that is a basic for the transformation.

visual Visual

A visual element that specifies the source device.

Returns

Rect

The rectangle that results from the transform operation.

TransformFromDevice(Size, Visual)

Transforms given size from the rendering destination device.

public static Size TransformFromDevice(Size size, Visual visual)

Parameters

size Size

A Size that is a basic for the transformation.

visual Visual

A visual element that specifies the source device.

Returns

Size

The Size that results from the transform operation.

TransformFromDevice(Point, Visual)

Transforms given Point from the rendering destination device.

public static Point TransformFromDevice(Point point, Visual visual)

Parameters

point Point

A Size that is a basic for the transformation.

visual Visual

A visual element that specifies the source device.

Returns

Point

The Point that results from the transform operation.