Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
glpangofont.c File Reference
#include <glcomp/glpangofont.h>
#include <stddef.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 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 58 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: