Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
glpangofont.c File Reference
#include <glcomp/glpangofont.h>
#include <stdlib.h>
Include dependency graph for glpangofont.c:

Go to the source code of this file.

Functions

static PangoLayout * get_pango_layout (char *markup_text, char *fontdescription, int fontsize, double *width, double *height)
 
unsigned char * glCompCreatePangoTexture (char *fontdescription, int fontsize, char *txt, cairo_surface_t **surface, int *w, int *h)
 

Function Documentation

◆ get_pango_layout()

static PangoLayout * get_pango_layout ( char *  markup_text,
char *  fontdescription,
int  fontsize,
double *  width,
double *  height 
)
static

Definition at line 14 of file glpangofont.c.

References free(), layout(), and NULL.

Referenced by glCompCreatePangoTexture().

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

◆ glCompCreatePangoTexture()

unsigned char * glCompCreatePangoTexture ( char *  fontdescription,
int  fontsize,
char *  txt,
cairo_surface_t **  surface,
int *  w,
int *  h 
)

Definition at line 50 of file glpangofont.c.

References get_pango_layout(), layout(), and NULL.

Referenced by glCompSetAddNewTexLabel().

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