| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
3.1.7 Font settings
- General option of mglGraph:
floatFontSize The size of font for tick and axis labels. Default font size of axis labels is 1.4 times large than for tick labels.
- General option of mglGraph:
charFontDef[32] Font specification (see section Text printing). Default is “rC” – Roman font centering.
- Method on mglGraph:
voidSetFontSizePT (floatcm,intdpi=72) Set FontSize by size in pt and picture DPI (default is 16 pt for dpi=72).
- Method on mglGraph:
inline voidSetFontSizeCM (floatcm,intdpi=72) Set FontSize by size in centimeters and picture DPI (default is 0.56 cm = 16 pt).
- Method on mglGraph:
inline voidSetFontSizeIN (floatcm,intdpi=72) Set FontSize by size in inch and picture DPI (default is 0.22 in = 16 pt).
- Method on mglGraph:
voidSetFont (mglFont *f) Sets font typeface. Note that each mglFont instance can be used with ONLY ONE mglGraph instance at a moment of time! If
f==NULLthen default font is used.
- Method on mglGraph:
inline mglFont *GetFont () Gets current typeface. Note that this variable can be deleted at next SetFont() call!
