PLplot  5.11.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
plbuf.c File Reference
#include "plplotP.h"
#include "drivers.h"
#include "metadefs.h"
#include <string.h>
Include dependency graph for plbuf.c:

Go to the source code of this file.

Classes

struct  _state
 

Macros

#define NEED_PLDEBUG
 

Functions

void * plbuf_save (PLStream *pls, void *state)
 
static void check_buffer_size (PLStream *pls, size_t data_size)
 
static int rd_command (PLStream *pls, U_CHAR *p_c)
 
static void rd_data (PLStream *pls, void *buf, size_t buf_size)
 
static void rd_data_no_copy (PLStream *pls, void **buf, size_t buf_size)
 
static void wr_command (PLStream *pls, U_CHAR c)
 
static void wr_data (PLStream *pls, void *buf, size_t buf_size)
 
static void plbuf_control (PLStream *pls, U_CHAR c)
 
static void plbuf_fill (PLStream *pls)
 
static void plbuf_swin (PLStream *pls, PLWindow *plwin)
 
static void rdbuf_init (PLStream *pls)
 
static void rdbuf_line (PLStream *pls)
 
static void rdbuf_polyline (PLStream *pls)
 
static void rdbuf_eop (PLStream *pls)
 
static void rdbuf_bop (PLStream *pls)
 
static void rdbuf_state (PLStream *pls)
 
static void rdbuf_esc (PLStream *pls)
 
static void rdbuf_image (PLStream *pls)
 
static void rdbuf_text (PLStream *pls)
 
static void rdbuf_text_unicode (PLINT op, PLStream *pls)
 
static void rdbuf_fill (PLStream *pls)
 
static void rdbuf_clip (PLStream *pls)
 
static void rdbuf_swin (PLStream *pls)
 
static void rdbuf_di (PLStream *pls)
 
static void rdbuf_setsub (PLStream *pls)
 
static void rdbuf_ssub (PLStream *pls)
 
void plbuf_init (PLStream *pls)
 
void plbuf_eop (PLStream *pls)
 
void plbuf_bop (PLStream *pls)
 
void plbuf_setsub (PLStream *pls)
 
void plbuf_ssub (PLStream *pls)
 
void plbuf_tidy (PLStream *PL_UNUSED(pls))
 
void plbuf_line (PLStream *pls, short x1a, short y1a, short x2a, short y2a)
 
void plbuf_polyline (PLStream *pls, short *xa, short *ya, PLINT npts)
 
void plbuf_state (PLStream *pls, PLINT op)
 
static void plbuf_image (PLStream *pls, IMG_DT *img_dt)
 
static void plbuf_text (PLStream *pls, EscText *text)
 
static void plbuf_text_unicode (PLStream *pls, EscText *text)
 
void plbuf_esc (PLStream *pls, PLINT op, void *ptr)
 
void plbuf_di (PLStream *pls)
 
void plbuf_clip (PLStream *pls)
 
void plbuf_write (PLStream *pls, void *data, size_t bytes)
 
static void rdbuf_init (PLStream *PL_UNUSED(pls))
 
static void rdbuf_eop (PLStream *PL_UNUSED(pls))
 
void plRemakePlot (PLStream *pls)
 
void plFlushBuffer (PLStream *pls, PLBOOL restart, size_t amount)
 
void plbuf_restore (PLStream *pls, void *state)
 
void * plbuf_switch (PLStream *pls, void *state)
 

Macro Definition Documentation

#define NEED_PLDEBUG

Definition at line 25 of file plbuf.c.

Function Documentation

static void check_buffer_size ( PLStream pls,
size_t  data_size 
)
static

Definition at line 1612 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void plbuf_bop ( PLStream pls)

Definition at line 141 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void plbuf_clip ( PLStream pls)

Definition at line 608 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void plbuf_control ( PLStream pls,
U_CHAR  c 
)
static

Definition at line 1465 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void plbuf_di ( PLStream pls)

Definition at line 564 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void plbuf_eop ( PLStream pls)

Definition at line 122 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void plbuf_esc ( PLStream pls,
PLINT  op,
void *  ptr 
)

Definition at line 487 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void plbuf_fill ( PLStream pls)
static

Definition at line 593 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void plbuf_image ( PLStream pls,
IMG_DT img_dt 
)
static

Definition at line 366 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void plbuf_init ( PLStream pls)

Definition at line 89 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void plbuf_line ( PLStream pls,
short  x1a,
short  y1a,
short  x2a,
short  y2a 
)

Definition at line 236 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void plbuf_polyline ( PLStream pls,
short *  xa,
short *  ya,
PLINT  npts 
)

Definition at line 267 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void plbuf_restore ( PLStream pls,
void *  state 
)

Definition at line 1808 of file plbuf.c.

Here is the caller graph for this function:

void * plbuf_save ( PLStream pls,
void *  state 
)

Definition at line 1709 of file plbuf.c.

Here is the call graph for this function:

void plbuf_setsub ( PLStream pls)

Definition at line 191 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void plbuf_ssub ( PLStream pls)

Definition at line 208 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void plbuf_state ( PLStream pls,
PLINT  op 
)

Definition at line 294 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void plbuf_swin ( PLStream pls,
PLWindow plwin 
)
static

Definition at line 627 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void* plbuf_switch ( PLStream pls,
void *  state 
)

Definition at line 1832 of file plbuf.c.

Here is the call graph for this function:

static void plbuf_text ( PLStream pls,
EscText text 
)
static

Definition at line 397 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void plbuf_text_unicode ( PLStream pls,
EscText text 
)
static

Definition at line 461 of file plbuf.c.

void plbuf_tidy ( PLStream PL_UNUSEDpls)

Definition at line 224 of file plbuf.c.

Here is the caller graph for this function:

void plbuf_write ( PLStream pls,
void *  data,
size_t  bytes 
)

Definition at line 653 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void plFlushBuffer ( PLStream pls,
PLBOOL  restart,
size_t  amount 
)

Definition at line 1392 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void plRemakePlot ( PLStream pls)

Definition at line 1376 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static int rd_command ( PLStream pls,
U_CHAR p_c 
)
static

Definition at line 1550 of file plbuf.c.

Here is the caller graph for this function:

static void rd_data ( PLStream pls,
void *  buf,
size_t  buf_size 
)
static

Definition at line 1578 of file plbuf.c.

Here is the caller graph for this function:

static void rd_data_no_copy ( PLStream pls,
void **  buf,
size_t  buf_size 
)
static

Definition at line 1597 of file plbuf.c.

Here is the caller graph for this function:

static void rdbuf_bop ( PLStream pls)
static

Definition at line 689 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void rdbuf_clip ( PLStream pls)
static

Definition at line 1137 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void rdbuf_di ( PLStream pls)
static

Definition at line 1241 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void rdbuf_eop ( PLStream pls)
static

Here is the caller graph for this function:

static void rdbuf_eop ( PLStream PL_UNUSEDpls)
static

Definition at line 677 of file plbuf.c.

static void rdbuf_esc ( PLStream pls)
static

Definition at line 1061 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void rdbuf_fill ( PLStream pls)
static

Definition at line 1115 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void rdbuf_image ( PLStream pls)
static

Definition at line 1152 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void rdbuf_init ( PLStream pls)
static

Here is the caller graph for this function:

static void rdbuf_init ( PLStream PL_UNUSEDpls)
static

Definition at line 665 of file plbuf.c.

static void rdbuf_line ( PLStream pls)
static

Definition at line 814 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void rdbuf_polyline ( PLStream pls)
static

Definition at line 843 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void rdbuf_setsub ( PLStream pls)
static

Definition at line 787 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void rdbuf_ssub ( PLStream pls)
static

Definition at line 800 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void rdbuf_state ( PLStream pls)
static

Definition at line 875 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void rdbuf_swin ( PLStream pls)
static

Definition at line 1215 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void rdbuf_text ( PLStream pls)
static

Definition at line 1281 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void rdbuf_text_unicode ( PLINT  op,
PLStream pls 
)
static

Definition at line 1363 of file plbuf.c.

static void wr_command ( PLStream pls,
U_CHAR  c 
)
static

Definition at line 1651 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void wr_data ( PLStream pls,
void *  buf,
size_t  buf_size 
)
static

Definition at line 1670 of file plbuf.c.

Here is the call graph for this function:

Here is the caller graph for this function: