summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 25479c0)
raw | patch | inline | side by side (parent: 25479c0)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Thu, 26 Jun 2008 15:37:26 +0000 (15:37 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Thu, 26 Jun 2008 15:37:26 +0000 (15:37 +0000) |
src/extension/internal/cairo-renderer.cpp | patch | blob | history |
index 5d6a3e2f81ecb62ad14a91e26352c582e462074d..416bfcfb68bed1c94b34cb21d6a797c7d258798d 100644 (file)
SPStyle* style = SP_OBJECT_STYLE (item);
CairoRenderer *renderer = ctx->getRenderer();
- const_NRBPath bp;
- bp.path = SP_CURVE_BPATH(shape->curve);
+ Geom::PathVector const & pathv = shape->curve->get_pathvector();
- ctx->renderPath(&bp, style, &pbox);
+ ctx->renderPathVector(pathv, style, &pbox);
/* TODO: make code prettier: lots of variables can be taken out of the loop! */
- Geom::PathVector const & pathv = shape->curve->get_pathvector();
for(Geom::PathVector::const_iterator path_it = pathv.begin(); path_it != pathv.end(); ++path_it) {
if ( shape->marker[SP_MARKER_LOC_START] ) {
SPMarker* marker = SP_MARKER (shape->marker[SP_MARKER_LOC_START]);