[cairo-commit] src/cairo-pdf-surface.c
Carl Worth
cworth at kemper.freedesktop.org
Fri Apr 14 09:41:49 PDT 2006
- Previous message: [cairo-commit]
goocanvas/src Makefile.am, 1.5, 1.6 goocanvasgroup.c,
1.4, 1.5 goocanvasgroupview.c, 1.6, 1.7 goocanvasimage.c, 1.2,
1.3 goocanvasitem.h, 1.3, 1.4 goocanvasitemsimple.c, 1.3,
1.4 goocanvasitemsimple.h, 1.3, 1.4 goocanvaspath.h, 1.2,
1.3 goocanvaspolyline.h, 1.2, 1.3 goocanvasprivate.h, NONE,
1.1 goocanvasutils.c, 1.3, 1.4 goocanvasutils.h, 1.3, 1.4
- Next message: [cairo-commit] goocanvas/docs goocanvas-sections.txt,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
src/cairo-pdf-surface.c | 66 ++++++++++++++++++++++++------------------------
1 files changed, 33 insertions(+), 33 deletions(-)
New commits:
diff-tree 11b4d24671a0527a45971e9fdf245ac28facc822 (from 2078557c5c9e10cf8ae16fb3fa8a225f908ab528)
Author: Carl Worth <cworth at cworth.org>
Date: Thu Apr 13 12:56:58 2006 -0700
Move cairo_pdf_surface_backend to file end so it's easier to find.
diff --git a/src/cairo-pdf-surface.c b/src/cairo-pdf-surface.c
index 03d161c..7ab8856 100644
--- a/src/cairo-pdf-surface.c
+++ b/src/cairo-pdf-surface.c
@@ -1671,39 +1671,6 @@ _cairo_pdf_surface_get_font_options (voi
cairo_font_options_set_hint_metrics (options, CAIRO_HINT_METRICS_OFF);
}
-static const cairo_surface_backend_t cairo_pdf_surface_backend = {
- CAIRO_SURFACE_TYPE_PDF,
- _cairo_pdf_surface_create_similar,
- _cairo_pdf_surface_finish,
- NULL, /* acquire_source_image */
- NULL, /* release_source_image */
- NULL, /* acquire_dest_image */
- NULL, /* release_dest_image */
- NULL, /* clone_similar */
- _cairo_pdf_surface_composite,
- _cairo_pdf_surface_fill_rectangles,
- _cairo_pdf_surface_composite_trapezoids,
- _cairo_pdf_surface_copy_page,
- _cairo_pdf_surface_show_page,
- NULL, /* set_clip_region */
- _cairo_pdf_surface_intersect_clip_path,
- _cairo_pdf_surface_get_extents,
- _cairo_pdf_surface_old_show_glyphs,
- _cairo_pdf_surface_get_font_options,
- NULL, /* flush */
- NULL, /* mark_dirty_rectangle */
- NULL, /* scaled_font_fini */
- NULL, /* scaled_glyph_fini */
-
- /* Here are the drawing functions */
-
- NULL, /* paint */
- NULL, /* mask */
- NULL, /* stroke */
- _cairo_pdf_surface_fill,
- NULL /* show_glyphs */
-};
-
static cairo_pdf_document_t *
_cairo_pdf_document_create (cairo_output_stream_t *output_stream,
double width,
@@ -2135,3 +2102,36 @@ _cairo_pdf_set_paginated_mode (cairo_sur
surface->paginated_mode = paginated_mode;
}
+
+static const cairo_surface_backend_t cairo_pdf_surface_backend = {
+ CAIRO_SURFACE_TYPE_PDF,
+ _cairo_pdf_surface_create_similar,
+ _cairo_pdf_surface_finish,
+ NULL, /* acquire_source_image */
+ NULL, /* release_source_image */
+ NULL, /* acquire_dest_image */
+ NULL, /* release_dest_image */
+ NULL, /* clone_similar */
+ _cairo_pdf_surface_composite,
+ _cairo_pdf_surface_fill_rectangles,
+ _cairo_pdf_surface_composite_trapezoids,
+ _cairo_pdf_surface_copy_page,
+ _cairo_pdf_surface_show_page,
+ NULL, /* set_clip_region */
+ _cairo_pdf_surface_intersect_clip_path,
+ _cairo_pdf_surface_get_extents,
+ _cairo_pdf_surface_old_show_glyphs,
+ _cairo_pdf_surface_get_font_options,
+ NULL, /* flush */
+ NULL, /* mark_dirty_rectangle */
+ NULL, /* scaled_font_fini */
+ NULL, /* scaled_glyph_fini */
+
+ /* Here are the drawing functions */
+
+ NULL, /* paint */
+ NULL, /* mask */
+ NULL, /* stroke */
+ _cairo_pdf_surface_fill,
+ NULL /* show_glyphs */
+};
- Previous message: [cairo-commit]
goocanvas/src Makefile.am, 1.5, 1.6 goocanvasgroup.c,
1.4, 1.5 goocanvasgroupview.c, 1.6, 1.7 goocanvasimage.c, 1.2,
1.3 goocanvasitem.h, 1.3, 1.4 goocanvasitemsimple.c, 1.3,
1.4 goocanvasitemsimple.h, 1.3, 1.4 goocanvaspath.h, 1.2,
1.3 goocanvaspolyline.h, 1.2, 1.3 goocanvasprivate.h, NONE,
1.1 goocanvasutils.c, 1.3, 1.4 goocanvasutils.h, 1.3, 1.4
- Next message: [cairo-commit] goocanvas/docs goocanvas-sections.txt,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list