diff options
| author | bulia byak <buliabyak@gmail.com> | 2008-06-24 02:28:57 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2008-06-24 02:28:57 +0000 |
| commit | e31eed6f24eec756752c7dc66a52e2870e0e96e8 (patch) | |
| tree | c5767a5b09ed042f14976b65f13502e135463940 /src/display/inkscape-cairo.h | |
| parent | update for 32 instead of 24 bpp canvas buf (diff) | |
| download | inkscape-e31eed6f24eec756752c7dc66a52e2870e0e96e8.tar.gz inkscape-e31eed6f24eec756752c7dc66a52e2870e0e96e8.zip | |
add helpers for creating cairo_t for a canvas buf
(bzr r6042)
Diffstat (limited to 'src/display/inkscape-cairo.h')
| -rw-r--r-- | src/display/inkscape-cairo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/display/inkscape-cairo.h b/src/display/inkscape-cairo.h index 58235523f..40cc77e76 100644 --- a/src/display/inkscape-cairo.h +++ b/src/display/inkscape-cairo.h @@ -13,6 +13,9 @@ #include <2geom/forward.h> +class SPCanvasBuf; + +cairo_t *nr_create_cairo_context_canvasbuf (NRRectL *area, SPCanvasBuf *b); cairo_t *nr_create_cairo_context (NRRectL *area, NRPixBlock *pb); void feed_curve_to_cairo (cairo_t *ct, NArtBpath const *bpath, NR::Matrix trans, NR::Maybe<NR::Rect> area, bool optimize_stroke, double stroke_width); void feed_path_to_cairo (cairo_t *ct, Geom::Path const &path, Geom::Matrix trans, NR::Maybe<NR::Rect> area, bool optimize_stroke, double stroke_width); |
