diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-06-20 23:31:58 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-06-20 23:31:58 +0000 |
| commit | 122219316fa4eafc357cf505a4fa0750f1f3c16e (patch) | |
| tree | ea1d7845bcac27a253fcf64331c7d9824424b57a /src | |
| parent | sp_shape now uses 2geom PathVector for all marker positions (diff) | |
| download | inkscape-122219316fa4eafc357cf505a4fa0750f1f3c16e.tar.gz inkscape-122219316fa4eafc357cf505a4fa0750f1f3c16e.zip | |
add todo comment to make code prettier
(bzr r6011)
Diffstat (limited to 'src')
| -rw-r--r-- | src/extension/internal/cairo-renderer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/extension/internal/cairo-renderer.cpp b/src/extension/internal/cairo-renderer.cpp index eb19c3cbd..5d6a3e2f8 100644 --- a/src/extension/internal/cairo-renderer.cpp +++ b/src/extension/internal/cairo-renderer.cpp @@ -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] ) { |
