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>

Go to the source code of this file.

Classes

struct  _state

Macros

#define NEED_PLDEBUG

Functions

voidplbuf_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)
voidplbuf_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 1605 of file plbuf.c.

void plbuf_bop ( PLStream pls)

Definition at line 141 of file plbuf.c.

void plbuf_clip ( PLStream pls)

Definition at line 604 of file plbuf.c.

static void plbuf_control ( PLStream pls,
U_CHAR  c 
)
static

Definition at line 1458 of file plbuf.c.

void plbuf_di ( PLStream pls)

Definition at line 560 of file plbuf.c.

void plbuf_eop ( PLStream pls)

Definition at line 122 of file plbuf.c.

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

Definition at line 483 of file plbuf.c.

static void plbuf_fill ( PLStream pls)
static

Definition at line 589 of file plbuf.c.

static void plbuf_image ( PLStream pls,
IMG_DT img_dt 
)
static

Definition at line 362 of file plbuf.c.

void plbuf_init ( PLStream pls)

Definition at line 89 of file plbuf.c.

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

Definition at line 232 of file plbuf.c.

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

Definition at line 263 of file plbuf.c.

void plbuf_restore ( PLStream pls,
void state 
)

Definition at line 1801 of file plbuf.c.

void * plbuf_save ( PLStream pls,
void state 
)

Definition at line 1702 of file plbuf.c.

void plbuf_setsub ( PLStream pls)

Definition at line 187 of file plbuf.c.

void plbuf_ssub ( PLStream pls)

Definition at line 204 of file plbuf.c.

void plbuf_state ( PLStream pls,
PLINT  op 
)

Definition at line 290 of file plbuf.c.

static void plbuf_swin ( PLStream pls,
PLWindow plwin 
)
static

Definition at line 623 of file plbuf.c.

void* plbuf_switch ( PLStream pls,
void state 
)

Definition at line 1825 of file plbuf.c.

static void plbuf_text ( PLStream pls,
EscText text 
)
static

Definition at line 393 of file plbuf.c.

static void plbuf_text_unicode ( PLStream pls,
EscText text 
)
static

Definition at line 457 of file plbuf.c.

void plbuf_tidy ( PLStream PL_UNUSEDpls)

Definition at line 220 of file plbuf.c.

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

Definition at line 649 of file plbuf.c.

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

Definition at line 1385 of file plbuf.c.

void plRemakePlot ( PLStream pls)

Definition at line 1369 of file plbuf.c.

static int rd_command ( PLStream pls,
U_CHAR p_c 
)
static

Definition at line 1543 of file plbuf.c.

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

Definition at line 1571 of file plbuf.c.

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

Definition at line 1590 of file plbuf.c.

static void rdbuf_bop ( PLStream pls)
static

Definition at line 685 of file plbuf.c.

static void rdbuf_clip ( PLStream pls)
static

Definition at line 1130 of file plbuf.c.

static void rdbuf_di ( PLStream pls)
static

Definition at line 1234 of file plbuf.c.

static void rdbuf_eop ( PLStream pls)
static
static void rdbuf_eop ( PLStream PL_UNUSEDpls)
static

Definition at line 673 of file plbuf.c.

static void rdbuf_esc ( PLStream pls)
static

Definition at line 1054 of file plbuf.c.

static void rdbuf_fill ( PLStream pls)
static

Definition at line 1108 of file plbuf.c.

static void rdbuf_image ( PLStream pls)
static

Definition at line 1145 of file plbuf.c.

static void rdbuf_init ( PLStream pls)
static
static void rdbuf_init ( PLStream PL_UNUSEDpls)
static

Definition at line 661 of file plbuf.c.

static void rdbuf_line ( PLStream pls)
static

Definition at line 807 of file plbuf.c.

static void rdbuf_polyline ( PLStream pls)
static

Definition at line 836 of file plbuf.c.

static void rdbuf_setsub ( PLStream pls)
static

Definition at line 780 of file plbuf.c.

static void rdbuf_ssub ( PLStream pls)
static

Definition at line 793 of file plbuf.c.

static void rdbuf_state ( PLStream pls)
static

Definition at line 868 of file plbuf.c.

static void rdbuf_swin ( PLStream pls)
static

Definition at line 1208 of file plbuf.c.

static void rdbuf_text ( PLStream pls)
static

Definition at line 1274 of file plbuf.c.

static void rdbuf_text_unicode ( PLINT  op,
PLStream pls 
)
static

Definition at line 1356 of file plbuf.c.

static void wr_command ( PLStream pls,
U_CHAR  c 
)
static

Definition at line 1644 of file plbuf.c.

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

Definition at line 1663 of file plbuf.c.