Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
glcomplabel.c File Reference
#include <cgraph/alloc.h>
#include <glcomp/glcomplabel.h>
#include <glcomp/glcompfont.h>
#include <glcomp/glcompset.h>
#include <glcomp/glutils.h>
Include dependency graph for glcomplabel.c:

Go to the source code of this file.

Functions

static void glCompLabelDraw (void *label)
 
glCompLabelglCompLabelNew (glCompObj *par, char *text)
 

Function Documentation

◆ glCompLabelDraw()

static void glCompLabelDraw ( void *  label)
static

Definition at line 17 of file glcomplabel.c.

References glCompCommon::color, glCompLabel::common, glCompCommon::font, glCompCalcWidget(), glCompRenderText(), glCompSetColor(), label(), glCompCommon::parent, ref(), and glCompLabel::transparent.

Referenced by glCompLabelNew().

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

◆ glCompLabelNew()

glCompLabel * glCompLabelNew ( glCompObj par,
char *  text 
)

Definition at line 36 of file glcomplabel.c.

References glCompLabel::common, glCompCallBacks::draw, glCompCommon::font, glCompCommon::functions, glCompInitCommon(), glCompLabelDraw(), glLabelObj, glNewFontFromParent(), gv_alloc(), gv_strdup(), glCompLabel::objType, glCompLabel::text, and glCompLabel::transparent.

Referenced by glCompButtonNew().

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