[]
Draws a string by glyphs.
public void DrawGlyphs(string text, short[] glyphs, float[] widths, FontSubSet fss, float fontSize, Brush brush, PointF pt, Matrix matrix, float widthCoeff, bool vertical)
Type | Name | Description |
---|---|---|
string | text | The text string. |
short[] | glyphs | The glyphs array for the text string. |
float[] | widths | The widths array for the text string. |
FontSubSet | fss | The font subset for text drawing. |
float | fontSize | The font size for text drawing. |
Brush | brush | The object that determines the color for text drawing. |
PointF | pt | The start point for text drawing. |
Matrix | matrix | The translate matrix for text drawing. |
float | widthCoeff | The width coefficient applied to characters. The default is 1.0, use 2.0 for double width and so on. |
bool | vertical | The vertical flag for text drawing. Common for CJK texts. |