doxygen
mscgen_adraw_int.h
1 /***************************************************************************
2  *
3  * $Id: adraw_int.h 115 2010-08-19 09:58:45Z Michael.McTernan $
4  *
5  * This file is part of mscgen, a message sequence chart renderer.
6  * Copyright (C) 2005 Michael C McTernan, Michael.McTernan.2001@cs.bris.ac.uk
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21  **************************************************************************/
22 
23 #ifndef MSCGEN_ADRAW_INT_H
24 #define MSCGEN_ADRAW_INT_H
25 
26 #include "mscgen_adraw.h"
27 
28 /***************************************************************************
29  * Preprocessor Macros
30  ***************************************************************************/
31 
32 /* Define macro to suppress unused parameter warnings */
33 #ifndef UNUSED
34 # ifdef __GNUC__
35 # define UNUSED __attribute__((unused))
36 # else
37 # define UNUSED
38 # endif
39 #endif
40 
41 /***************************************************************************
42  * Functions
43  ***************************************************************************/
44 
45 Boolean NullInit(struct ADrawTag *outContext);
46 
47 Boolean GdoInit(unsigned int w,
48  unsigned int h,
49  const char *file,
50  const char *fontName,
51  struct ADrawTag *outContext);
52 
53 Boolean PsInit(unsigned int w,
54  unsigned int h,
55  const char *file,
56  struct ADrawTag *outContext);
57 
58 Boolean SvgInit(unsigned int w,
59  unsigned int h,
60  const char *file,
61  struct ADrawTag *outContext);
62 
63 #endif /* MSCGEN_ADRAW_INT_H */
64 
65 /* END OF FILE */
An ADraw context.
Definition: mscgen_adraw.h:107