Table of Contents

Method ToDip

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

ToDip(ref PointD, GraphicsUnit)

Converts point to device-independent units.

public virtual void ToDip(ref PointD point, GraphicsUnit unit)

Parameters

point PointD

Point.

unit GraphicsUnit

The unit of measure for the point.

ToDip(ref SizeD, GraphicsUnit)

Converts SizeD to device-independent units.

public virtual void ToDip(ref SizeD size, GraphicsUnit unit)

Parameters

size SizeD

Size.

unit GraphicsUnit

The unit of measure for the size.

ToDip(ref RectD, GraphicsUnit)

Converts rectangle to device-independent units.

public virtual void ToDip(ref RectD rect, GraphicsUnit unit)

Parameters

rect RectD

Rectangle.

unit GraphicsUnit

The unit of measure for the rectangle.