Am 01.06.2006 um 15:54 schrieb Andrea Suraci:
Juan Salvatierra wrote:
while I am drawing the curves (a CurveShape really curved: this
does not happen with the straight ones) the line appears
antialiased, but when I finally render the completed FigureShape
(g.DrawObject(figureshape)), its curved parts appear aliased! And
the straight ones (if any) do not!
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.
Confirmed! It's not that fun to work with that RB2D stuff - to use
friendly words...
_______________________________________________
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>