|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-b43c9b8403
|
GRASS cairo display driver - text subroutines. More...

Go to the source code of this file.
Functions | |
| void | Cairo_Text (const char *str) |
| Draw text. | |
| void | Cairo_text_box (const char *str, double *t, double *b, double *l, double *r) |
| void | Cairo_set_font (const char *name) |
| Set font. | |
| void | Cairo_font_list (char ***list, int *count) |
| Get list of fonts. | |
| void | Cairo_font_info (char ***list, int *count) |
| Get fonts into. | |
GRASS cairo display driver - text subroutines.
SPDX-FileCopyrightText: 2007-2008 Lars Ahlzen SPDX-FileCopyrightText: GRASS Development Team SPDX-License-Identifier: GPL-2.0-or-later
Definition in file cairodriver/text.c.
Get fonts into.
| [out] | list | font list |
| [out] | count | number of items in the list |
Definition at line 337 of file cairodriver/text.c.
References count.
Referenced by Cairo_Driver().
Get list of fonts.
| [out] | list | font list |
| [out] | count | number of items in the list |
Definition at line 323 of file cairodriver/text.c.
References count.
Referenced by Cairo_Driver().
Set font.
| name | font name |
Definition at line 282 of file cairodriver/text.c.
References name.
Referenced by Cairo_Driver().
Draw text.
| str | string to be drawn |
Definition at line 109 of file cairodriver/text.c.
References ca, cairo, cur_x, cur_y, and G_free().
Referenced by Cairo_Driver().