Graphviz 13.0.0~dev.20241220.2304
|
#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, 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().
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, offset, glCompTex::userCount, and glCompTex::width.
Referenced by glCompSetAddNewTexImage(), and glCompSetAddNewTexLabel().