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

8.3.7 Font settings

C function: void mgl_set_font_size (HMGL gr, 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.

C function: void mgl_set_font_def (HMGL gr, const char * val)

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

C function: void mgl_set_rotated_text (HMGL gr, int val)

Sets to use or not text rotation along axis.

C function: void mgl_load_font (HMGL gr, const char *name, const char *path)

Load font typeface from path/name.

C function: void mgl_copy_font (HMGL gr, HMGL gr_from)

Copy font data from another HMGL object.

C function: void mgl_restore_font (HMGL gr)

Restore font data to default typeface.


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