Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
gdioctx_wrapper.h File Reference
#include <gd.h>
#include <gvc/gvcext.h>
#include <stddef.h>
Include dependency graph for gdioctx_wrapper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  gd_context_t
 

Functions

static gd_context_tget_containing_context (gdIOCtx *ctx)
 
int gvdevice_gd_putBuf (gdIOCtx *context, const void *buffer, int len)
 
void gvdevice_gd_putC (gdIOCtx *context, int C)
 

Function Documentation

◆ get_containing_context()

static gd_context_t * get_containing_context ( gdIOCtx *  ctx)
inlinestatic

Definition at line 12 of file gdioctx_wrapper.h.

Referenced by gvdevice_gd_putBuf(), and gvdevice_gd_putC().

Here is the caller graph for this function:

◆ gvdevice_gd_putBuf()

int gvdevice_gd_putBuf ( gdIOCtx *  context,
const void *  buffer,
int  len 
)

Definition at line 24 of file gvdevice_gd.c.

References get_containing_context(), gvwrite(), gd_context_t::job, and len().

Referenced by gdgen_end_page().

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

◆ gvdevice_gd_putC()

void gvdevice_gd_putC ( gdIOCtx *  context,
int  C 
)

Definition at line 33 of file gvdevice_gd.c.

References C, get_containing_context(), gvwrite(), and gd_context_t::job.

Referenced by gdgen_end_page().

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