don't ignore the smoothing scale in Iterate()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17887 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -689,6 +689,7 @@ VectorPath::Iterate(Iterator* iterator, float smoothScale) const
|
|||||||
// generate a curve for each segment of the path
|
// generate a curve for each segment of the path
|
||||||
// then iterate over the segments of the curve
|
// then iterate over the segments of the curve
|
||||||
agg::curve4_inc curve;
|
agg::curve4_inc curve;
|
||||||
|
curve.approximation_scale(smoothScale);
|
||||||
|
|
||||||
for (int32 i = 0; i < fPointCount - 1; i++) {
|
for (int32 i = 0; i < fPointCount - 1; i++) {
|
||||||
iterator->MoveTo(fPath[i].point);
|
iterator->MoveTo(fPath[i].point);
|
||||||
|
|||||||
Reference in New Issue
Block a user