source: trunk/third/libgnomeprintui/libgnomeprintui/gnome-print-preview.h @ 18338

Revision 18338, 2.4 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18337, which included commits to RCS files with non-trunk default branches.
RevLine 
[18337]1#ifndef __GNOME_PRINT_PREVIEW_H__
2#define __GNOME_PRINT_PREVIEW_H__
3
4/*
5 *  Copyright (C) 1999-2001 Ximian Inc. and authors
6 *
7 *  Authors:
8 *    Miguel de Icaza (miguel@gnu.org)
9 *    Lauris Kaplinski <lauris@ximian.com>
10 *
11 *  Preview driver
12 *
13 *  This program is free software; you can redistribute it and/or
14 *  modify it under the terms of the GNU Library General Public License
15 *  as published by the Free Software Foundation; either version 2 of
16 *  the License, or (at your option) any later version.
17 *
18 *  This program is distributed in the hope that it will be useful,
19 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
20 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 *  GNU Library General Public License for more details.
22 *
23 *  You should have received a copy of the GNU Library General Public
24 *  License along with this program; if not, write to the Free Software
25 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
26 */
27
28#include <glib.h>
29
30G_BEGIN_DECLS
31
32#define GNOME_TYPE_PRINT_PREVIEW (gnome_print_preview_get_type ())
33#define GNOME_PRINT_PREVIEW(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GNOME_TYPE_PRINT_PREVIEW, GnomePrintPreview))
34#define GNOME_PRINT_PREVIEW_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GNOME_TYPE_PRINT_PREVIEW, GnomePrintPreviewClass))
35#define GNOME_IS_PRINT_PREVIEW(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNOME_TYPE_PRINT_PREVIEW))
36#define GNOME_IS_PRINT_PREVIEW_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GNOME_TYPE_PRINT_PREVIEW))
37#define GNOME_PRINT_PREVIEW_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GNOME_TYPE_PRINT_PREVIEW, GnomePrintPreviewClass))
38
39typedef struct _GnomePrintPreview GnomePrintPreview;
40typedef struct _GnomePrintPreviewClass GnomePrintPreviewClass;
41
42#include <libgnomeprint/gnome-print-paper.h>
43#include <libgnomecanvas/libgnomecanvas.h>
44#include <libgnomeprint/gnome-print.h>
45
46GType gnome_print_preview_get_type  (void);
47
48/*
49 * Creates new preview with scrollable region from config and standard page
50 * coordinate system (0,0 lower left)
51 */
52GnomePrintContext *gnome_print_preview_new (GnomePrintConfig *config, GnomeCanvas *canvas);
53
54/*
55 * Creates new preview, with specified scrollable region and transformation
56 */
57GnomePrintContext *gnome_print_preview_new_full (GnomePrintConfig *config, GnomeCanvas *canvas,
58                                                 const gdouble *transform, const ArtDRect *region);
59
60G_END_DECLS
61
62#endif /* __GNOME_PRINT_PREVIEW_H__ */
63
Note: See TracBrowser for help on using the repository browser.