GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-f63024f571
|
OGSF library - loading and manipulating surfaces. More...
Go to the source code of this file.
Functions | |
int | gsd_get_txtwidth (const char *s, int size) |
Get text width. More... | |
int | gsd_get_txtheight (int size) |
Get text height. More... | |
int | get_txtdescender (void) |
Get text descender. More... | |
int | get_txtxoffset (void) |
Get text offset. More... | |
void | do_label_display (GLuint fontbase, float *lab_pos, const char *txt) |
Display label. More... | |
OGSF library - loading and manipulating surfaces.
OGSF library - manipulating surfaces/fridge (lower level function)
GRASS OpenGL gsurf OGSF Library
(C) 1999-2008 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
GRASS OpenGL gsurf OGSF Library
(C) 1999-2008 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file gsd_fonts.c.
void do_label_display | ( | GLuint | fontbase, |
float * | lab_pos, | ||
const char * | txt | ||
) |
Display label.
fontbase | font-base |
lab_pos | label position |
txt | text string |
Definition at line 97 of file gsd_fonts.c.
int get_txtdescender | ( | void | ) |
Get text descender.
yorig ??
Is this defined somewhere ?
Definition at line 71 of file gsd_fonts.c.
int get_txtxoffset | ( | void | ) |
Get text offset.
xorig ??
Is this defined somewhere ?
Definition at line 85 of file gsd_fonts.c.
int gsd_get_txtheight | ( | int | size | ) |
Get text height.
size | size |
Definition at line 53 of file gsd_fonts.c.
Referenced by gsd_north_arrow(), and gsd_scalebar().
int gsd_get_txtwidth | ( | const char * | s, |
int | size | ||
) |
Get text width.
s | text string |
size | size |
Definition at line 36 of file gsd_fonts.c.
Referenced by gsd_north_arrow(), and gsd_scalebar().