PLplot  5.11.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
drivers.h
Go to the documentation of this file.
1 // Contains all prototypes for driver functions.
2 //
3 // Copyright (C) 2004 Andrew Roach
4 // Copyright (C) 2005 Thomas J. Duck
5 // Copyright (C) 2006 Andrew Ross
6 //
7 // This file is part of PLplot.
8 //
9 // PLplot is free software; you can redistribute it and/or modify
10 // it under the terms of the GNU Library General Public License as published
11 // by the Free Software Foundation; either version 2 of the License, or
12 // (at your option) any later version.
13 //
14 // PLplot is distributed in the hope that it will be useful,
15 // but WITHOUT ANY WARRANTY; without even the implied warranty of
16 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 // GNU Library General Public License for more details.
18 //
19 // You should have received a copy of the GNU Library General Public License
20 // along with PLplot; if not, write to the Free Software
21 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 //
23 //
24 
25 #ifndef __DRIVERS_H__
26 #define __DRIVERS_H__
27 
28 #include "pdf.h"
29 #include "plstrm.h"
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35 // The order of these results (in alphabetic order by source file name and device)
36 // may be found from the following command:
37 //
38 // find drivers -type f | grep -v .git | grep -v deprecated | xargs grep 'plD_dispatch_init.*)$' | grep -v // |sort
39 //
40 // with suitable editing afterward to remove file name prepend "PLDLLIMPEXP_DRIVER " and append ";"
41 
85 
86 // Prototypes for plot buffer calls.
87 
88 void plbuf_init( PLStream * );
89 void plbuf_line( PLStream *, short, short, short, short );
90 void plbuf_polyline( PLStream *, short *, short *, PLINT );
91 void plbuf_eop( PLStream * );
92 void plbuf_bop( PLStream * );
93 void plbuf_tidy( PLStream * );
94 void plbuf_state( PLStream *, PLINT );
95 void plbuf_esc( PLStream *, PLINT, void * );
96 void plbuf_di( PLStream * );
97 void plbuf_setsub( PLStream * );
98 void plbuf_ssub( PLStream * );
99 void plbuf_clip( PLStream * );
100 PLDLLIMPEXP void * plbuf_save( PLStream *, void * );
101 PLDLLIMPEXP void * plbuf_switch( PLStream *, void * );
102 PLDLLIMPEXP void plbuf_restore( PLStream *, void * );
103 
105 void plFlushBuffer( PLStream *pls, PLBOOL restart, size_t amount );
106 
107 #ifdef __cplusplus
108 }
109 #endif
110 
111 #endif // __DRIVERS_H__