Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
glcompimage.h File Reference
#include <glcomp/glcompdefs.h>
#include <stdbool.h>
Include dependency graph for glcompimage.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

glCompImageglCompImageNewFile (float x, float y, const char *imgfile)
 
glCompImageglCompImageNew (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)
 

Function Documentation

◆ glCompImageDelete()

void glCompImageDelete ( glCompImage p)
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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glCompImageDraw()

void glCompImageDraw ( void *  obj)
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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glCompImageLoad()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glCompImageLoadPng()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glCompImageNew()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glCompImageNewFile()

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().

Here is the call graph for this function:
Here is the caller graph for this function: