Graphviz 13.0.0~dev.20241220.2304
|
Go to the source code of this file.
Functions | |
glCompImage * | glCompImageNewFile (float x, float y, const char *imgfile) |
glCompImage * | glCompImageNew (void *par, float x, float y) |
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) |
|
extern |
Definition at line 50 of file glcompimage.c.
References glCompImage::base, glCompObj_::common, free(), glCompDeleteTexture(), glCompEmptyCommon(), and glCompImage::texture.
Referenced by glCompButtonAddPngGlyph(), and glCompImageNewFile().
|
extern |
Definition at line 85 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, ref(), glCompImage::texture, glCompCommon::visible, glCompTex::width, and glCompImage::width.
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().