~ubuntu-branches/debian/squeeze/librsvg/squeeze

« back to all changes in this revision

Viewing changes to rsvg-cairo-draw.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2010-05-01 14:23:09 UTC
  • mfrom: (1.1.22 upstream) (25.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100501142309-f0otyldu6gyratt9
Tags: 2.26.3-1
New upstream bugfix release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* vim: set sw=4 sts=4: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */
 
1
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
2
/* vim: set sw=4 sts=4 ts=4 expandtab: */
2
3
/*
3
4
   rsvg-shapes.c: Draw shapes with libart
4
5
 
31
32
 
32
33
G_BEGIN_DECLS 
33
34
 
34
 
PangoContext    *rsvg_cairo_create_pango_context    (RsvgDrawingCtx *ctx);
35
 
void             rsvg_cairo_render_pango_layout     (RsvgDrawingCtx *ctx, PangoLayout *layout, 
36
 
                                                     double x, double y);
37
 
void             rsvg_cairo_render_path             (RsvgDrawingCtx *ctx, 
38
 
                                                     const RsvgBpathDef * path);
39
 
void             rsvg_cairo_render_image            (RsvgDrawingCtx *ctx, const GdkPixbuf * img, 
40
 
                                                     double x, double y, double w, double h);
41
 
void             rsvg_cairo_push_discrete_layer     (RsvgDrawingCtx *ctx);
42
 
void             rsvg_cairo_pop_discrete_layer      (RsvgDrawingCtx *ctx);
43
 
void             rsvg_cairo_add_clipping_rect       (RsvgDrawingCtx *ctx,
44
 
                                                     double x, double y, double width, double height);
45
 
 
46
 
GdkPixbuf       *rsvg_cairo_get_image_of_node       (RsvgDrawingCtx *ctx, RsvgNode *drawable, 
47
 
                                                     double width, double height);
48
 
 
49
 
void             rsvg_cairo_to_pixbuf               (guint8 * pixels, int rowstride, int height);
50
 
void             rsvg_pixbuf_to_cairo               (guint8 * pixels, int rowstride, int height);
 
35
PangoContext    *rsvg_cairo_create_pango_context    (RsvgDrawingCtx *ctx);
 
36
void         rsvg_cairo_render_pango_layout         (RsvgDrawingCtx *ctx, PangoLayout *layout, 
 
37
                                                 double x, double y);
 
38
void         rsvg_cairo_render_path             (RsvgDrawingCtx *ctx, 
 
39
                                                 const RsvgBpathDef * path);
 
40
void         rsvg_cairo_render_image            (RsvgDrawingCtx *ctx, const GdkPixbuf * img, 
 
41
                                                 double x, double y, double w, double h);
 
42
void         rsvg_cairo_push_discrete_layer         (RsvgDrawingCtx *ctx);
 
43
void         rsvg_cairo_pop_discrete_layer      (RsvgDrawingCtx *ctx);
 
44
void         rsvg_cairo_add_clipping_rect       (RsvgDrawingCtx *ctx,
 
45
                                                 double x, double y, double width, double height);
 
46
 
 
47
GdkPixbuf   *rsvg_cairo_get_image_of_node       (RsvgDrawingCtx *ctx, RsvgNode *drawable, 
 
48
                                                 double width, double height);
 
49
 
 
50
void         rsvg_cairo_to_pixbuf           (guint8 * pixels, int rowstride, int height);
 
51
void         rsvg_pixbuf_to_cairo           (guint8 * pixels, int rowstride, int height);
51
52
 
52
53
G_END_DECLS
53
54