An NDoc Documented Class Library

MNDevice.GetOutLine Method

Overload List

 

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

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,char,out double);

 

public static Loca GetOutLine(IntPtr,double,char,out GLYPHMETRICS);

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

...
double CellIncX;
Loca L = GetOutLine("Arial", 'S', out CellIncX);
device.DrawPolyPolyCurve(L); // draws the character to the device

public static Loca GetOutLine(string,char,out double);

See Also

MNDevice Class | Minais.Drawing3d Namespace