|
Graphviz 14.0.3~dev.20251104.0241
|
#include <assert.h>#include <glcomp/glcomptexture.h>#include <glcomp/glpangofont.h>#include <stddef.h>#include <stdbool.h>#include <util/alloc.h>#include <util/streq.h>Go to the source code of this file.
Functions | |
| static glCompTex * | glCompSetAddNewTexture (glCompSet *s, int width, int height, const unsigned char *data, bool is2D) |
| glCompTex * | glCompSetAddNewTexImage (glCompSet *s, int width, int height, const unsigned char *data, bool is2D) |
| glCompTex * | glCompSetAddNewTexLabel (glCompSet *s, char *def, int fs, const char *text, bool is2D) |
| void | glCompDeleteTexture (glCompTex *t) |
| void glCompDeleteTexture | ( | glCompTex * | t | ) |
Definition at line 135 of file glcomptexture.c.
References glCompTex::data, glCompTex::def, free(), glCompTex::text, and glCompTex::userCount.
Referenced by glCompImageDelete(), glCompImageLoad(), and glDeleteFont().
| glCompTex * glCompSetAddNewTexImage | ( | glCompSet * | s, |
| int | width, | ||
| int | height, | ||
| const unsigned char * | data, | ||
| bool | is2D | ||
| ) |
Definition at line 81 of file glcomptexture.c.
References glCompSetAddNewTexture(), glTexImage, NULL, and glCompTex::type.
Referenced by glCompImageLoad().
| glCompTex * glCompSetAddNewTexLabel | ( | glCompSet * | s, |
| char * | def, | ||
| int | fs, | ||
| const char * | text, | ||
| bool | is2D | ||
| ) |
Definition at line 95 of file glcomptexture.c.
References glCompTex::def, free(), glCompCreatePangoTexture(), glCompSetAddNewTexture(), glTexLabel, gv_strdup(), NULL, streq(), glCompTex::text, and glCompTex::type.
Referenced by glNewFont(), and glNewFontFromParent().
|
static |
Definition at line 19 of file glcomptexture.c.
References glCompTex::data, free(), gv_alloc(), gv_calloc(), gv_recalloc(), glCompTex::height, glCompTex::id, NULL, glCompTex::userCount, and glCompTex::width.
Referenced by glCompSetAddNewTexImage(), and glCompSetAddNewTexLabel().