El 01/06/2006, a las 15:54, Andrea Suraci escribió:
It is most likely caused by the number of segments of the curve. With
high numbers of segments, the curve is rendered with virtually no
antialias because the segments are too short.
You have to write your own algorithm to find the most appropriate
number of segments, which varies with the total length of the curve.
In other words, the resolution of the curve is proportional to its
length.
I know the resolution can be set to -1, but that never helped in any
of my tests.
Thank you for the hint. I haven't cared for the number of segments,
this is the truth. I'll study it. But, trying to get a solution, I
have discovered two other things:
1) If I render the FigureShape as curves (going one by one through the
FigureShape.item(i) and drawing each curve separately), they do appear
antialiased.
2) If borderWidth is bigger than 1 you get, while drawing and once
finished, some nasty spikes in the points of union of the CurveShapes
that ruin your drawing.
I can send my project to anyone interested.
Thanks
Juan
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>