PLplot
5.9.9
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
pltkd.h
Go to the documentation of this file.
1
// $Id: pltkd.h 11975 2011-10-19 11:05:10Z andrewross $
2
//
3
// Holds system header includes, prototypes of TK driver
4
// utility functions, and definition of the state structure.
5
//
6
// This file is set up so that the determined user can get access
7
// to the tk driver data without too much hassle. The only drawback
8
// is that plplotP.h must be included to get all of the necessary
9
// system header files and configuration settings.
10
//
11
12
#ifndef __PLTKD_H__
13
#define __PLTKD_H__
14
15
#include "
plplotP.h
"
16
#include "
pltk.h
"
17
#include "
pdf.h
"
18
19
#include <tk.h>
20
#ifdef PLD_dp
21
#include <dp.h>
22
#endif
23
24
// One of these holds the TK driver state information
25
26
typedef
struct
27
{
28
Tk_Window
w
;
// Main window
29
Tcl_Interp *
interp
;
// Interpreter
30
PLINT
xold,
yold
;
// Coordinates of last point plotted
31
unsigned
width
,
height
;
// Current window dimensions
32
int
exit_eventloop
;
// Break out of event loop
33
int
pass_thru
;
// Skip normal error termination
34
char
*
cmdbuf
;
// Command buffer
35
size_t
cmdbuf_len
;
// and its length
36
PLiodev
*
iodev
;
// I/O device info
37
const
char
*
updatecmd
;
// Name of update command
38
pid_t
child_pid
;
// PID for child process
39
int
instr
;
// Instruction timer
40
int
max_instr
;
// Limit before issuing an update
41
int
locate_mode
;
// Set while in locate mode
42
PLGraphicsIn
gin
;
// Graphics input structure
43
}
TkDev
;
44
45
#endif // __PLTKD_H__
plplotP.h
PLiodev
Definition:
pdf.h:63
TkDev::exit_eventloop
int exit_eventloop
Definition:
pltkd.h:32
TkDev::yold
PLINT yold
Definition:
pltkd.h:30
PlPlotter::height
int height
Definition:
plplotter.c:122
TkDev::max_instr
int max_instr
Definition:
pltkd.h:40
pdf.h
TkDev::width
unsigned width
Definition:
pltkd.h:31
TkDev::gin
PLGraphicsIn gin
Definition:
pltkd.h:42
PLINT
int PLINT
Definition:
plplot.h:175
TkDev::locate_mode
int locate_mode
Definition:
pltkd.h:41
TkDev::child_pid
pid_t child_pid
Definition:
pltkd.h:38
TkDev::updatecmd
const char * updatecmd
Definition:
pltkd.h:37
TkDev::pass_thru
int pass_thru
Definition:
pltkd.h:33
TkDev::interp
Tcl_Interp * interp
Definition:
pltkd.h:29
TkDev::cmdbuf_len
size_t cmdbuf_len
Definition:
pltkd.h:35
pltk.h
TkDev::iodev
PLiodev * iodev
Definition:
pltkd.h:36
TkDev::w
Tk_Window w
Definition:
pltkd.h:28
TkDev::cmdbuf
char * cmdbuf
Definition:
pltkd.h:34
TkDev
Definition:
pltkd.h:26
TkDev::instr
int instr
Definition:
pltkd.h:39
PLGraphicsIn
Definition:
plplot.h:353
bindings
tk
pltkd.h
Generated on Wed Jan 29 2014 10:20:46 for PLplot by
1.8.6