manpagez: man pages & more
info mathgl
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

9.1.7 Font settings (Python)

Method on mglGraph (Python): void SetFontSize (float val)

Sets the size of font for tick and axis labels. Default font size of axis labels is 1.4 times large than for tick labels.

Method on mglGraph (Python): void SetFontDef (char *fnt)

Sets the font specification (see section Text printing (Python)). Default is “rC” – Roman font centering.

Method on mglGraph (Python): void SetRotatedText (bool val)

Sets to use or not text rotation along axis.

Method on mglGraph (Python): void LoadFont (const char *name, const char *path=NULL)

Load font typeface from path/name.

Method on mglGraph (Python): void CopyFont (mglGraph * from)

Copy font data from another mglGraph object.

Method on mglGraph (Python): void RestoreFont ()

Restore font data to default typeface.


© manpagez.com 2000-2026
Individual documents may contain additional copyright information.