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

Revision 18604, 2.3 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18603, which included commits to RCS files with non-trunk default branches.
Line 
1/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
3#ifndef __GNOME_PRINT_PREVIEW_H__
4#define __GNOME_PRINT_PREVIEW_H__
5
6/*
7 *  gnome-print-preview.h: print preview driver
8 *
9 *  This program is free software; you can redistribute it and/or
10 *  modify it under the terms of the GNU Library General Public License
11 *  as published by the Free Software Foundation; either version 2 of
12 *  the License, or (at your option) any later version.
13 *
14 *  This program 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
20 *  License along with this program; if not, write to the Free Software
21 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 *
23 *  Authors:
24 *    Miguel de Icaza <miguel@ximian.com>
25 *    Lauris Kaplinski <lauris@ximian.com>
26 *
27 *  Copyright (C) 1999-2002 Ximian Inc. and authors
28 *
29 */
30
31#include <glib.h>
32
33G_BEGIN_DECLS
34
35#define GNOME_TYPE_PRINT_PREVIEW         (gnome_print_preview_get_type ())
36#define GNOME_PRINT_PREVIEW(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), GNOME_TYPE_PRINT_PREVIEW, GnomePrintPreview))
37#define GNOME_PRINT_PREVIEW_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST ((k),    GNOME_TYPE_PRINT_PREVIEW, GnomePrintPreviewClass))
38#define GNOME_IS_PRINT_PREVIEW(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNOME_TYPE_PRINT_PREVIEW))
39#define GNOME_IS_PRINT_PREVIEW_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k),    GNOME_TYPE_PRINT_PREVIEW))
40#define GNOME_PRINT_PREVIEW_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o),  GNOME_TYPE_PRINT_PREVIEW, GnomePrintPreviewClass))
41
42typedef struct _GnomePrintPreview      GnomePrintPreview;
43typedef struct _GnomePrintPreviewClass GnomePrintPreviewClass;
44
45#include <libgnomecanvas/libgnomecanvas.h>
46#include <libgnomeprint/gnome-print-paper.h>
47#include <libgnomeprint/gnome-print.h>
48
49GType gnome_print_preview_get_type  (void);
50
51GnomePrintContext * gnome_print_preview_new      (GnomePrintConfig *config, GnomeCanvas *canvas);
52GnomePrintContext * gnome_print_preview_new_full (GnomePrintConfig *config, GnomeCanvas *canvas,
53                                                  const gdouble *transform, const ArtDRect *region);
54
55G_END_DECLS
56
57#endif /* __GNOME_PRINT_PREVIEW_H__ */
58
Note: See TracBrowser for help on using the repository browser.