Code

add todo comment to make code prettier
authorjohanengelen <johanengelen@users.sourceforge.net>
Fri, 20 Jun 2008 23:31:58 +0000 (23:31 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Fri, 20 Jun 2008 23:31:58 +0000 (23:31 +0000)
src/extension/internal/cairo-renderer.cpp

index eb19c3cbd67ab1da98564c5e77a93e8860fb27cc..5d6a3e2f81ecb62ad14a91e26352c582e462074d 100644 (file)
@@ -186,6 +186,7 @@ static void sp_shape_render (SPItem *item, CairoRenderContext *ctx)
 
     ctx->renderPath(&bp, 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] ) {