An NDoc Documented Class Library

MNDevice.GetOutLine Method (Font, Char, Double)

The method retrieves a Loca, which holds the curves of a character in the fontstyle, given by the parameter 'Font'. CellIncx gets the distance to a following next character.

...
double CellIncX;
Font F = new Font(FontName, 30);
// set attributes
Font.Style = System.Drawing.FontStyle.Bold; // for example
Loca L = GetOutLine( F , 'S', out CellIncX);
device.DrawPolyPolyCurve(L); // draws the character to the device

public static Loca GetOutLine(
   Font Font,
   char c,
   out double CellIncX
);

Parameters

Font
A font which determes the outlook of the char
c
Character for witch the contur will be determed
CellIncX
Increment to the next character

Return Value

A loca, which holds the curves of a character

See Also

MNDevice Class | Minais.Drawing3d Namespace | MNDevice.GetOutLine Overload List