diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-06-06 01:43:35 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-06-06 01:43:35 +0000 |
| commit | 8a38c52bce619b07117cdd87a183eb05fb51e28e (patch) | |
| tree | 39b9f2af1ce9df43884a3b33ca2445097fe8f5a5 /src/display/canvas-bpath.cpp | |
| parent | oops. sys/wait.h not on win32 (diff) | |
| download | inkscape-8a38c52bce619b07117cdd87a183eb05fb51e28e.tar.gz inkscape-8a38c52bce619b07117cdd87a183eb05fb51e28e.zip | |
merge gsoc2008_johan_path2geom into trunk
(bzr r5823)
Diffstat (limited to 'src/display/canvas-bpath.cpp')
| -rw-r--r-- | src/display/canvas-bpath.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/display/canvas-bpath.cpp b/src/display/canvas-bpath.cpp index a3327308c..3c46a9049 100644 --- a/src/display/canvas-bpath.cpp +++ b/src/display/canvas-bpath.cpp @@ -142,7 +142,7 @@ sp_canvas_bpath_update (SPCanvasItem *item, NR::Matrix const &affine, unsigned i Path* thePath=new Path; thePath->LoadArtBPath(SP_CURVE_BPATH(cbp->curve), affine, true); thePath->Convert(0.25); - if ((cbp->fill_rgba & 0xff) && (cbp->curve->_end > 2)) { + if ((cbp->fill_rgba & 0xff) && (cbp->curve->get_length() > 2)) { Shape* theShape=new Shape; thePath->Fill(theShape,0); if ( cbp->fill_shp == NULL ) cbp->fill_shp=new Shape; @@ -165,7 +165,7 @@ sp_canvas_bpath_update (SPCanvasItem *item, NR::Matrix const &affine, unsigned i } } } - if ((cbp->stroke_rgba & 0xff) && (cbp->curve->_end > 1)) { + if ((cbp->stroke_rgba & 0xff) && (cbp->curve->get_length() > 1)) { JoinType join=join_straight; // Shape* theShape=new Shape; ButtType butt=butt_straight; |
