Drawing3d documented Class Library

FeaturesW32.GetOutLine Method

The method retrieves a Loca, which holds the curves of a character in the font style, 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

Overload List

The method retrieves a Loca, which holds the curves of a character in the font style, 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)

Loads a character of a font and creates a Loca for the outlined curves.

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

FeaturesW32 Class | Drawing3d.OS.Windows Namespace