Table of Contents

Delegate ConvertGraphicsUnit

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

Defines delegate for Convert handler.

public delegate float ConvertGraphicsUnit(GraphicsUnit from, GraphicsUnit to, float dpi, float nSrc, GraphicsUnitConverter.GraphicsType type = GraphicsType.Undefined)

Parameters

from GraphicsUnit

GraphicsUnit of the value which is converted.

to GraphicsUnit

GraphicsUnit of the result.

dpi float

Number of dots per inch.

nSrc float

Value to convert.

type GraphicsUnitConverter.GraphicsType

Type of the graphics.

Returns

float