[SDL] Rectangle with round corners in SDL
Ochal Christophe
ochal at kefren.be
Sat Dec 9 14:23:53 PST 2006
On Fri, 2006-12-08 at 21:07 +0000, Nuno Santos wrote:
> Hi,
>
> I want to make a shape with round corners.
>
> Is there any simple way of doing it with SDL?
Dunno if there are easier ways, but the way i'd do it would be to draw
circles & drawing the shape over those circles, filling or deleting as
needed.
Say you want a quare with 4 rounded corners, i'd draw 4 circles, and
overlay the square on them.
Cheers
More information about the SDL
mailing list