Re: Simple example for SDL2_gfx?
"rtrussell" <[email protected]> Tue, 06 Dec 2016 15:17:18 +0000
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <[email protected]> |
joymaker wrote: > Which leads to my next question: does this thing actually WORK? I'm not seeing a whole lot of support or usage for the SDL2 version out there, and my first attempt got successful return codes but no pixels drawn! What specific drawing function(s) are you calling? I use SDL2_gfx extensively, and it certainly 'works' although IMHO it leaves a lot to be desired. For example arcs and sectors take the subtended angle as an integer parameter in degrees! This means it is impossible to get 'pixel-accurate' results if the radius is more than around 60 pixels, which I consider to be somewhat ridiculous. In an ideal world I'd like to see something with a functionality comparable with GDI Plus in Windows, that is full support for anti-aliasing and all parameters as floating-point values rather than integers. But in the absence of that, SDL2_gfx works acceptably well for my purposes. Richard. _______________________________________________ SDL mailing list [email protected] http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org