Code

Rename LPE: mirror reflect --> mirror symmetry
[inkscape.git] / src / display / inkscape-cairo.h
index 55fa08263c123465d876b6c73388d6997cdb28e2..5ac073c529188c5a1bb12319344cca1549156a72 100644 (file)
@@ -5,13 +5,26 @@
  * Helper functions to use cairo with inkscape
  *
  * Copyright (C) 2007 bulia byak
+ * Copyright (C) 2008 Johan Engelen
  *
  * Released under GNU GPL
  *
  */
 
+#include <2geom/forward.h>
+#include <cairo/cairo.h>
+#include "libnr/nr-matrix.h"
+#include "libnr/nr-maybe.h"
+#include "libnr/nr-rect.h"
+class NArtBpath;
+struct NRPixBlock;
+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);
+void feed_pathvector_to_cairo (cairo_t *ct, Geom::PathVector const &pathv, Geom::Matrix trans, NR::Maybe<NR::Rect> area, bool optimize_stroke, double stroke_width);
 
 #endif
 /*