summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e8b8477)
raw | patch | inline | side by side (parent: e8b8477)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Tue, 15 Jul 2008 00:01:54 +0000 (00:01 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Tue, 15 Jul 2008 00:01:54 +0000 (00:01 +0000) |
src/display/canvas-bpath.cpp | patch | blob | history |
index ac3779029d6e093471583f9683af81ac9af8f92f..9708a66f0e03e3887be6970f2d7c97a61f10a61d 100644 (file)
if ( !cbp->curve ||
((cbp->stroke_rgba & 0xff) == 0 && (cbp->fill_rgba & 0xff) == 0 ) ||
- cbp->curve->get_length() <= 1)
+ cbp->curve->get_segment_count() < 1)
return;
if (!buf->ct)
@@ -182,7 +182,7 @@ sp_canvas_bpath_point (SPCanvasItem *item, NR::Point p, SPCanvasItem **actual_it
if ( !cbp->curve ||
((cbp->stroke_rgba & 0xff) == 0 && (cbp->fill_rgba & 0xff) == 0 ) ||
- cbp->curve->get_length() <= 1)
+ cbp->curve->get_segment_count() < 1)
return NR_HUGE;
double width = 0.5;