|
Graphviz 14.0.3~dev.20251029.0425
|
#include <glcomp/glcompimage.h>#include <glcomp/glcompfont.h>#include <glcomp/glcompset.h>#include <glcomp/glutils.h>#include <glcomp/glcomptexture.h>#include <stdbool.h>#include <stddef.h>#include <util/alloc.h>Go to the source code of this file.
Functions | |
| glCompImage * | glCompImageNew (void *par, float x, float y) |
| glCompImage * | glCompImageNewFile (float x, float y, const char *imgfile) |
| void | glCompImageDelete (glCompImage *p) |
| int | glCompImageLoad (glCompImage *i, const unsigned char *data, int width, int height, bool is2D) |
| int | glCompImageLoadPng (glCompImage *i, const char *pngFile) |
| void | glCompImageDraw (void *obj) |
| void glCompImageDelete | ( | glCompImage * | p | ) |
Definition at line 50 of file glcompimage.c.
References glCompImage::base, glCompObj_::common, free(), glCompDeleteTexture(), glCompEmptyCommon(), and glCompImage::texture.
Referenced by glCompButtonAddPngGlyph(), and glCompImageNewFile().
| void glCompImageDraw | ( | void * | obj | ) |
Definition at line 88 of file glcompimage.c.
References glCompImage::base, glCompObj_::common, glCompTex::data, glCompCalcWidget(), GLCOMPSET_BEVEL_DIFF, glCompTex::height, glCompImage::height, glCompTex::id, glCompCommon::layer, glCompCommon::parent, glCompCommon::pos, glCompImage::texture, glCompCommon::visible, glCompTex::width, glCompImage::width, glCompPoint::x, and glCompPoint::y.
Referenced by glCompImageNew().
| int glCompImageLoad | ( | glCompImage * | i, |
| const unsigned char * | data, | ||
| int | width, | ||
| int | height, | ||
| bool | is2D | ||
| ) |
Definition at line 58 of file glcompimage.c.
References glCompImage::base, glCompObj_::common, glCompCommon::compset, glCompDeleteTexture(), glCompSetAddNewTexImage(), glCompCommon::height, NULL, glCompImage::texture, and glCompCommon::width.
Referenced by glCompImageLoadPng(), and glCompImageNewFile().
| int glCompImageLoadPng | ( | glCompImage * | i, |
| const char * | pngFile | ||
| ) |
Definition at line 75 of file glcompimage.c.
References glCompImageLoad(), glCompLoadPng(), and NULL.
Referenced by glCompButtonAddPngGlyph(), and glcreate_gl_topview_menu().
| glCompImage * glCompImageNew | ( | void * | par, |
| float | x, | ||
| float | y | ||
| ) |
Definition at line 20 of file glcompimage.c.
References glCompImage::base, glCompObj_::common, glCompCallBacks::draw, glCompCommon::functions, glCompImageDraw(), glCompInitCommon(), gv_alloc(), NULL, and glCompImage::texture.
Referenced by glCompButtonAddPngGlyph(), glCompImageNewFile(), and glcreate_gl_topview_menu().
| glCompImage * glCompImageNewFile | ( | float | x, |
| float | y, | ||
| const char * | imgfile | ||
| ) |
Definition at line 33 of file glcompimage.c.
References glCompImageDelete(), glCompImageLoad(), glCompImageNew(), glCompLoadPng(), and NULL.
Referenced by InsertImage().