diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-07-04 20:36:10 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-07-04 20:36:10 +0000 |
| commit | a170926b2f9891f11f5fdcbaaf9d4ddadbb5c7d2 (patch) | |
| tree | 959318da53e96b127f3a4cdfcd269abc554a642e /src/extension | |
| parent | add readme file to 2geom directory to warn people not to make code changes there (diff) | |
| download | inkscape-a170926b2f9891f11f5fdcbaaf9d4ddadbb5c7d2.tar.gz inkscape-a170926b2f9891f11f5fdcbaaf9d4ddadbb5c7d2.zip | |
change some SP_CURVE_BPATH to get_bpath
(bzr r6155)
Diffstat (limited to 'src/extension')
| -rw-r--r-- | src/extension/internal/odf.cpp | 2 | ||||
| -rw-r--r-- | src/extension/internal/pov-out.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/extension/internal/odf.cpp b/src/extension/internal/odf.cpp index 33242b09e..4efebdafd 100644 --- a/src/extension/internal/odf.cpp +++ b/src/extension/internal/odf.cpp @@ -2050,7 +2050,7 @@ bool OdfOutput::writeTree(Writer &couts, Writer &souts, bbox_width * 1000.0, bbox_height * 1000.0); couts.printf(" svg:d=\""); - int nrPoints = writePath(couts, SP_CURVE_BPATH(curve), + int nrPoints = writePath(couts, curve->get_bpath(), tf, bbox_x, bbox_y); couts.printf("\""); diff --git a/src/extension/internal/pov-out.cpp b/src/extension/internal/pov-out.cpp index 8d701b28e..bfbb0e4d4 100644 --- a/src/extension/internal/pov-out.cpp +++ b/src/extension/internal/pov-out.cpp @@ -331,7 +331,7 @@ void PovOutput::doCurves(SPDocument *doc) //Count the NR_CURVETOs/LINETOs int segmentCount=0; - NArtBpath const *bp = SP_CURVE_BPATH(curve); + NArtBpath const *bp = curve->get_bpath(); for (int curveNr=0 ; curveNr<curveLength ; curveNr++, bp++) if (bp->code == NR_CURVETO || bp->code == NR_LINETO) segmentCount++; @@ -353,7 +353,7 @@ void PovOutput::doCurves(SPDocument *doc) out(" 0.0, //bottom\n"); out(" %d //nr points\n", segmentCount * 4); int segmentNr = 0; - bp = SP_CURVE_BPATH(curve); + bp = curve->get_bpath(); nrSegments += curveLength; |
