func setGfxFontScale(scale) Change the size of the font characters that will be drawn by a gfxCharOutAt or gfxTextOutAt
Documentation for graphex.ew v0.10.5
Table of Contents
Get a list of known font names
Returns: a sequence of text names of fonts.
Category: Font
See Also:
gfxCharOurAt,
gfxTextOutAt,
setGfxFont,
setGfxFontScale
Documentation for graphex.ew v0.10.5
Table of Contents
Draw a single character of colour at x,y on the gfx
Category: Font
This is used by gfxTextOutAt but can be called separately. ch is a character literal not a string.
See Also:
enumGfxFonts,
gfxTextOutAt,
setGfxFont,
setGfxFontScale
Documentation for graphex.ew v0.10.5
Table of Contents
Draw text in the line drawing font at x,y in one colour on the gfx
Category: Font
This uses the selected line drawing font to draw text at the specified location.
The text does not wrap.
See Also:
enumGfxFonts,
gfxCharOurAt,
setGfxFont,
setGfxFontScale
Documentation for graphex.ew v0.10.5
Table of Contents
Select the font by name.
Returns: The index into the global gfxfonts sequence
Category: Font
See Also:
enumGfxFonts,
gfxCharOurAt,
gfxTextOutAt,
setGfxFontScale
Documentation for graphex.ew v0.10.5
Table of Contents
Change the size of the font characters that will be drawn by a gfxCharOutAt or gfxTextOutAt
Returns: The old scale factor to ease setting the size back to what it was before
Category: Font
will not be pretty since the rounding makes the characters look wonky.
See Also:
enumGfxFonts,
gfxCharOurAt,
gfxTextOutAt,
setGfxFont