PLplot
5.9.9
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
plserver.h
Go to the documentation of this file.
1
// $Id: plserver.h 12007 2011-10-28 12:02:58Z andrewross $
2
//
3
// Maurice LeBrun
4
// 6-May-93
5
//
6
// Declarations for plserver and associated files.
7
//
8
9
#ifndef __PLSERVER_H__
10
#define __PLSERVER_H__
11
12
#include "
plDevs.h
"
13
#include "
pltkd.h
"
14
#include "
pltcl.h
"
15
16
// State info for the rendering code
17
18
typedef
struct
19
{
20
char
*
client
;
// Name of client main window
21
PDFstrm
*
pdfs
;
// PDF stream descriptor
22
PLiodev
*
iodev
;
// I/O info
23
int
nbytes
;
// data bytes waiting to be read
24
int
at_bop,
at_eop
;
// bop/eop condition flags
25
26
short
xmin
,
xmax
,
ymin
,
ymax
;
// Data minima and maxima
27
PLFLT
xold,
yold
;
// Endpoints of last line plotted
28
}
PLRDev
;
29
30
// External function prototypes.
31
// Note that tcl command functions are added during Pltk_Init and don't
32
// need to be called directly by the user
33
34
// plframe.c
35
// Invoked to process the "plframe" Tcl command.
36
37
int
38
plFrameCmd
( ClientData clientData, Tcl_Interp *
interp
,
39
int
argc
,
const
char
**
argv
);
40
int
41
plPlotterCmd
( ClientData clientData, Tcl_Interp *
interp
,
42
int
argc
,
const
char
**
argv
);
43
44
// plr.c
45
// Set default state parameters before anyone else has a chance to.
46
47
PLDLLIMPEXP_TCLTK
void
48
plr_start
(
PLRDev
*plr );
49
50
// Read & process commands until "nbyte_max" bytes have been read.
51
52
PLDLLIMPEXP_TCLTK
int
53
plr_process
(
PLRDev
*plr );
54
55
#endif // __PLSERVER_H__
bindings
tk
plserver.h
Generated on Sat Sep 14 2013 05:04:16 for PLplot by
1.8.4