beta-0.89.2
[luatex.git] / source / libs / cairo / cairo-src / src / cairo-svg-surface-private.h
blobddbf464b1d29e8e058c3c21f2a11460cb190e757
1 /* cairo - a vector graphics library with display and print output
3 * Copyright © 2004 Red Hat, Inc
4 * Copyright © 2005-2006 Emmanuel Pacaud <emmanuel.pacaud@free.fr>
5 * Copyright © 2006 Red Hat, Inc
7 * This library is free software; you can redistribute it and/or
8 * modify it either under the terms of the GNU Lesser General Public
9 * License version 2.1 as published by the Free Software Foundation
10 * (the "LGPL") or, at your option, under the terms of the Mozilla
11 * Public License Version 1.1 (the "MPL"). If you do not alter this
12 * notice, a recipient may use your version of this file under either
13 * the MPL or the LGPL.
15 * You should have received a copy of the LGPL along with this library
16 * in the file COPYING-LGPL-2.1; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA
18 * You should have received a copy of the MPL along with this library
19 * in the file COPYING-MPL-1.1
21 * The contents of this file are subject to the Mozilla Public License
22 * Version 1.1 (the "License"); you may not use this file except in
23 * compliance with the License. You may obtain a copy of the License at
24 * http://www.mozilla.org/MPL/
26 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY
27 * OF ANY KIND, either express or implied. See the LGPL or the MPL for
28 * the specific language governing rights and limitations.
30 * The Original Code is the cairo graphics library.
32 * The Initial Developer of the Original Code is University of Southern
33 * California.
35 * Contributor(s):
36 * Kristian Høgsberg <krh@redhat.com>
37 * Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
38 * Carl Worth <cworth@cworth.org>
41 #ifndef CAIRO_SVG_SURFACE_PRIVATE_H
42 #define CAIRO_SVG_SURFACE_PRIVATE_H
44 #include "cairo-svg.h"
46 #include "cairo-surface-private.h"
47 #include "cairo-surface-clipper-private.h"
49 typedef struct cairo_svg_document cairo_svg_document_t;
51 typedef struct cairo_svg_surface {
52 cairo_surface_t base;
54 cairo_content_t content;
56 double width;
57 double height;
59 cairo_svg_document_t *document;
61 cairo_output_stream_t *xml_node;
62 cairo_array_t page_set;
64 cairo_surface_clipper_t clipper;
65 unsigned int clip_level;
66 unsigned int base_clip;
67 cairo_bool_t is_base_clip_emitted;
69 cairo_paginated_mode_t paginated_mode;
71 cairo_bool_t force_fallbacks;
72 } cairo_svg_surface_t;
74 #endif /* CAIRO_SVG_SURFACE_PRIVATE_H */