@David - JFYI: build failure with trunk r13126 + 'changes_2014_02_21b_textdecorateonly.patch' when using CPPFLAGS="-DWITH_SVG2" [1]:
CXX display/drawing-shape.o ../../src/display/drawing-shape.cpp:159:43: error: no viable conversion from 'Inkscape::DrawingContext' to 'cairo_t *' (aka '_cairo *') bool has_fill = _nrstyle.prepareFill(dc, _item_bbox); ^~ ../../src/display/nr-style.h:31:31: note: passing argument to parameter 'ct' here bool prepareFill(cairo_t *ct, Geom::OptRect const &paintbox); ^ ../../src/display/drawing-shape.cpp:163:28: error: no viable conversion from 'Inkscape::DrawingContext' to 'cairo_t *' (aka '_cairo *') _nrstyle.applyFill(dc); ^~ ../../src/display/nr-style.h:35:29: note: passing argument to parameter 'ct' here void applyFill(cairo_t *ct); ^ ../../src/display/drawing-shape.cpp:175:46: error: no viable conversion from 'Inkscape::DrawingContext' to 'cairo_t *' (aka '_cairo *') bool has_stroke = _nrstyle.prepareStroke(dc, _item_bbox); ^~ ../../src/display/nr-style.h:32:33: note: passing argument to parameter 'ct' here bool prepareStroke(cairo_t *ct, Geom::OptRect const &paintbox); ^ ../../src/display/drawing-shape.cpp:181:30: error: no viable conversion from 'Inkscape::DrawingContext' to 'cairo_t *' (aka '_cairo *') _nrstyle.applyStroke(dc); ^~ ../../src/display/nr-style.h:36:31: note: passing argument to parameter 'ct' here void applyStroke(cairo_t *ct); ^ 1 warning and 4 errors generated. make[3]: *** [display/drawing-shape.o] Error 1 CXX display/drawing-text.o ../../src/display/drawing-text.cpp:536:36: error: no viable conversion from 'Inkscape::DrawingContext' to 'cairo_t *' (aka '_cairo *') _nrstyle.applyFill(dc); ^~ ../../src/display/nr-style.h:35:29: note: passing argument to parameter 'ct' here void applyFill(cairo_t *ct); ^ 1 warning and 1 error generated. make[3]: *** [display/drawing-text.o] Error 1 make[3]: Target `all-am' not remade because of errors. make[2]: *** [all] Error 2
[1] to test the latest paint-order feature implemented by Tav, and described here: <http://tavmjong.free.fr/blog/?p=1090>
@David - JFYI: build failure with trunk r13126 + 'changes_ 2014_02_ 21b_textdecorat eonly.patch' when using CPPFLAGS= "-DWITH_ SVG2" [1]:
CXX display/ drawing- shape.o display/ drawing- shape.cpp: 159:43: error: no viable conversion from 'Inkscape: :DrawingContext ' to 'cairo_t *' (aka '_cairo *') prepareFill( dc, _item_bbox);
^~ display/ nr-style. h:31:31: note: passing argument to parameter 'ct' here
^ display/ drawing- shape.cpp: 163:28: error: no viable conversion from 'Inkscape: :DrawingContext ' to 'cairo_t *' (aka '_cairo *')
_nrstyle. applyFill( dc);
^ ~ display/ nr-style. h:35:29: note: passing argument to parameter 'ct' here
^ display/ drawing- shape.cpp: 175:46: error: no viable conversion from 'Inkscape: :DrawingContext ' to 'cairo_t *' (aka '_cairo *') prepareStroke( dc, _item_bbox);
^~ display/ nr-style. h:32:33: note: passing argument to parameter 'ct' here cairo_t *ct, Geom::OptRect const &paintbox);
^ display/ drawing- shape.cpp: 181:30: error: no viable conversion from 'Inkscape: :DrawingContext ' to 'cairo_t *' (aka '_cairo *')
_nrstyle. applyStroke( dc);
^~ display/ nr-style. h:36:31: note: passing argument to parameter 'ct' here
^ drawing- shape.o] Error 1 drawing- text.o display/ drawing- text.cpp: 536:36: error: no viable conversion from 'Inkscape: :DrawingContext ' to 'cairo_t *' (aka '_cairo *')
_nrstyle. applyFill( dc);
^~ display/ nr-style. h:35:29: note: passing argument to parameter 'ct' here
^ drawing- text.o] Error 1
../../src/
bool has_fill = _nrstyle.
../../src/
bool prepareFill(cairo_t *ct, Geom::OptRect const &paintbox);
../../src/
../../src/
void applyFill(cairo_t *ct);
../../src/
bool has_stroke = _nrstyle.
../../src/
bool prepareStroke(
../../src/
../../src/
void applyStroke(cairo_t *ct);
1 warning and 4 errors generated.
make[3]: *** [display/
CXX display/
../../src/
../../src/
void applyFill(cairo_t *ct);
1 warning and 1 error generated.
make[3]: *** [display/
make[3]: Target `all-am' not remade because of errors.
make[2]: *** [all] Error 2
[1] to test the latest paint-order feature implemented by Tav, and described here: <http:// tavmjong. free.fr/ blog/?p= 1090>