Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
glcomptextpng.c File Reference
#include <glcomp/glcompfont.h>
#include <glcomp/glcomptextpng.h>
#include <gtk/gtk.h>
#include <png.h>
#include <stddef.h>
Include dependency graph for glcomptextpng.c:

Go to the source code of this file.

Functions

unsigned char * glCompLoadPng (cairo_surface_t **surface, const char *filename, int *imageWidth, int *imageHeight)
 

Function Documentation

◆ glCompLoadPng()

unsigned char * glCompLoadPng ( cairo_surface_t **  surface,
const char *  filename,
int *  imageWidth,
int *  imageHeight 
)
Parameters
surface[out] A surface used to load the PNG. The caller is responsible for deallocating this with cairo_surface_destroy when they are done using the returned pointer.

Definition at line 17 of file glcomptextpng.c.

References NULL.

Referenced by glCompImageLoadPng(), and glCompImageNewFile().

Here is the caller graph for this function: