Initial release of Maemo 5 port of gnuplot
[gnuplot] / src / wxterminal / gp_cairo_term.h
1 /*
2  * $Id: gp_cairo_term.h,v 1.2 2006/06/04 23:16:04 tlecomte Exp $
3  */
4
5 /* GNUPLOT - gp_cairo_term.h */
6
7 /*[
8  * Copyright 2005   Timothee Lecomte
9  *
10  * Permission to use, copy, and distribute this software and its
11  * documentation for any purpose with or without fee is hereby granted,
12  * provided that the above copyright notice appear in all copies and
13  * that both that copyright notice and this permission notice appear
14  * in supporting documentation.
15  *
16  * Permission to modify the software is granted, but not the right to
17  * distribute the complete modified source code.  Modifications are to
18  * be distributed as patches to the released version.  Permission to
19  * distribute binaries produced by compiling modified sources is granted,
20  * provided you
21  *   1. distribute the corresponding source modifications from the
22  *    released version in the form of a patch file along with the binaries,
23  *   2. add special version identification to distinguish your version
24  *    in addition to the base release version number,
25  *   3. provide your name and address as the primary contact for the
26  *    support of your modified version, and
27  *   4. retain our contact information in regard to use of the base
28  *    software.
29  * Permission to distribute the released version of the source code along
30  * with corresponding source modifications in the form of a patch file is
31  * granted with same provisions 2 through 4 for binary distributions.
32  *
33  * This software is provided "as is" without express or implied warranty
34  * to the extent permitted by applicable law.
35  *
36  *
37  * Alternatively, the contents of this file may be used under the terms of the
38  * GNU General Public License Version 2 or later (the "GPL"), in which case the
39  * provisions of GPL are applicable instead of those above. If you wish to allow
40  * use of your version of this file only under the terms of the GPL and not
41  * to allow others to use your version of this file under the above gnuplot
42  * license, indicate your decision by deleting the provisions above and replace
43  * them with the notice and other provisions required by the GPL. If you do not
44  * delete the provisions above, a recipient may use your version of this file
45  * under either the GPL or the gnuplot license.
46 ]*/
47
48 /* ------------------------------------------------------
49  * This is a specific header for enhanced text functions implemented with cairo.
50  *
51  * It aims at being included in *.trm files.
52  * ------------------------------------------------------*/
53
54
55 #ifndef GNUPLOT_WXT_CAIRO_TERM_H
56 # define GNUPLOT_WXT_CAIRO_TERM_H
57
58 #ifdef __cplusplus
59 extern "C" {
60 #endif /*__cplusplus*/
61
62 extern void gp_cairo_enhanced_open(char* fontname, double fontsize, double base, TBOOLEAN widthflag, TBOOLEAN showflag, int overprint);
63
64 extern void gp_cairo_enhanced_flush();
65
66 #ifdef __cplusplus
67 }
68 #endif
69
70 #endif /* gnuplot_wxt_cairo_term_h */