PLplot
5.15.0
Toggle main menu visibility
Loading...
Searching...
No Matches
plserver.h
Go to the documentation of this file.
1
// Maurice LeBrun
2
// 6-May-93
3
//
4
// Declarations for plserver and associated files.
5
//
6
7
#ifndef __PLSERVER_H__
8
#define __PLSERVER_H__
9
10
#include "
plDevs.h
"
11
#include "
pltkd.h
"
12
#include "
pltcl.h
"
13
14
// State info for the rendering code
15
16
typedef
struct
17
{
18
char
*
client
;
// Name of client main window
19
PDFstrm
*
pdfs
;
// PDF stream descriptor
20
PLiodev
*
iodev
;
// I/O info
21
int
nbytes
;
// data bytes waiting to be read
22
int
at_bop
,
at_eop
;
// bop/eop condition flags
23
24
short
xmin
,
xmax
,
ymin
,
ymax
;
// Data minima and maxima
25
PLFLT
xold
,
yold
;
// Endpoints of last line plotted
26
}
PLRDev
;
27
28
// External function prototypes.
29
// Note that tcl command functions are added during Pltk_Init and don't
30
// need to be called directly by the user
31
32
// plframe.c
33
// Invoked to process the "plframe" Tcl command.
34
35
int
36
plFrameCmd
( ClientData clientData, Tcl_Interp *interp,
37
int
argc,
const
char
**argv );
38
int
39
plPlotterCmd
( ClientData clientData, Tcl_Interp *interp,
40
int
argc,
const
char
**argv );
41
42
// plr.c
43
// Set default state parameters before anyone else has a chance to.
44
45
PLDLLIMPEXP_TCLTK
void
46
plr_start
(
PLRDev
*plr );
47
48
// Read & process commands until "nbyte_max" bytes have been read.
49
50
PLDLLIMPEXP_TCLTK
int
51
plr_process
(
PLRDev
*plr );
52
53
#endif
// __PLSERVER_H__
plDevs.h
PLDLLIMPEXP_TCLTK
#define PLDLLIMPEXP_TCLTK
Definition
pldll.h:134
plFrameCmd
int plFrameCmd(ClientData, Tcl_Interp *, int, const char **)
PLFLT
float PLFLT
Definition
plplot.h:163
plPlotterCmd
int plPlotterCmd(ClientData, Tcl_Interp *, int, const char **)
plr_process
int plr_process(PLRDev *plr)
Definition
plr.c:115
plr_start
void plr_start(PLRDev *plr)
Definition
plr.c:95
pltcl.h
pltkd.h
PDFstrm
Definition
pdf.h:50
PLRDev
Definition
plserver.h:17
PLRDev::at_eop
int at_eop
Definition
plserver.h:22
PLRDev::xold
PLFLT xold
Definition
plserver.h:25
PLRDev::client
char * client
Definition
plserver.h:18
PLRDev::at_bop
int at_bop
Definition
plserver.h:22
PLRDev::xmax
short xmax
Definition
plserver.h:24
PLRDev::nbytes
int nbytes
Definition
plserver.h:21
PLRDev::yold
PLFLT yold
Definition
plserver.h:25
PLRDev::ymax
short ymax
Definition
plserver.h:24
PLRDev::iodev
PLiodev * iodev
Definition
plserver.h:20
PLRDev::ymin
short ymin
Definition
plserver.h:24
PLRDev::pdfs
PDFstrm * pdfs
Definition
plserver.h:19
PLRDev::xmin
short xmin
Definition
plserver.h:24
PLiodev
Definition
pdf.h:62
bindings
tk
plserver.h
Generated on
for PLplot by
1.18.0