]> git.sur5r.net Git - glabels/blob - src/print.h
Imported Upstream version 3.0.0
[glabels] / src / print.h
1 /*
2  *  print.h
3  *  Copyright (C) 2001-2009  Jim Evins <evins@snaught.com>.
4  *
5  *  This file is part of gLabels.
6  *
7  *  gLabels is free software: you can redistribute it and/or modify
8  *  it under the terms of the GNU General Public License as published by
9  *  the Free Software Foundation, either version 3 of the License, or
10  *  (at your option) any later version.
11  *
12  *  gLabels is distributed in the hope that it will be useful,
13  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  *  GNU General Public License for more details.
16  *
17  *  You should have received a copy of the GNU General Public License
18  *  along with gLabels.  If not, see <http://www.gnu.org/licenses/>.
19  */
20
21 #ifndef __PRINT_H__
22 #define __PRINT_H__
23
24 #include <cairo/cairo.h>
25
26 #include "label.h"
27
28 G_BEGIN_DECLS
29
30 typedef struct {
31         gint   i_copy;
32         GList *p_record;
33 } glPrintState;
34
35 void gl_print_simple_sheet           (glLabel          *label,
36                                       cairo_t          *cr,
37                                       gint              page,
38                                       gint              n_sheets,
39                                       gint              first,
40                                       gint              last,
41                                       gboolean          outline_flag,
42                                       gboolean          reverse_flag,
43                                       gboolean          crop_marks_flag);
44
45 void gl_print_collated_merge_sheet   (glLabel          *label,
46                                       cairo_t          *cr,
47                                       gint              page,
48                                       gint              n_copies,
49                                       gint              first,
50                                       gboolean          outline_flag,
51                                       gboolean          reverse_flag,
52                                       gboolean          crop_marks_flag,
53                                       glPrintState     *state);
54
55 void gl_print_uncollated_merge_sheet (glLabel          *label,
56                                       cairo_t          *cr,
57                                       gint              page,
58                                       gint              n_copies,
59                                       gint              first,
60                                       gboolean          outline_flag,
61                                       gboolean          reverse_flag,
62                                       gboolean          crop_marks_flag,
63                                       glPrintState     *state);
64
65 G_END_DECLS
66
67 #endif
68
69
70
71
72
73 /*
74  * Local Variables:       -- emacs
75  * mode: C                -- emacs
76  * c-basic-offset: 8      -- emacs
77  * tab-width: 8           -- emacs
78  * indent-tabs-mode: nil  -- emacs
79  * End:                   -- emacs
80  */