Hello, my problem is Curve is not smooth enough . Size of the green curve'samples is 10, while the red one's more than 100 .As the picture shows , the green one looks much smoother than the red one . How can I make it smoother ? Please check my code and help me out .
curves_many_samples.jpgQt Code:
f1->setFitMode(f1->Spline); pen.setWidth(1.5); curve->setCurveFitter(f1); curve->setSamples(points);// Size of points is above 100. curve->setPen(pen); curve->attach(this);To copy to clipboard, switch view to plain text mode
Bookmarks