Quantcast
Viewing all articles
Browse latest Browse all 794

Talking LiveCode • Drawing smooth curved vectors - is it even possible?

Hi all,

I'm trying to generate some curved vector graphics with a polygon (so I can manipulate its "points"), but am troubled with "jaggies" on every curved angle.
Here's an example of an arc drawn by using an oval (left) and the same arc as a polygon set to the effective points of the oval (right):
Image may be NSFW.
Clik here to view.
Screenshot 2024-09-22 at 13.23.15.png
This is pretty much true of any attempt at curvature using polygon tool and manipulating its "points".
Setting antialiased to true and setting miterlimit to various values has zero effect on this.

I presume this must be cause the inability of LC to use floats as coordinates and we're limited to integers.
I have to wonder if it's actually possible to generate smooth curves? Any workarounds that may help?

Many thanks
Stam

Statistics: Posted by stam — Sun Sep 22, 2024 1:30 pm



Viewing all articles
Browse latest Browse all 794

Trending Articles