SDL
Nahuel Greco
nahuel at puntorojo.com.ar
Fri Oct 15 08:46:56 PDT 2004
On Fri, 15 Oct 2004 11:15:35 -0300
Pupeno <pupeno at pupeno.com> wrote:
> I bet you could fine a lot of 'why not's out there... if you can answer 'Why
> Cairo over SDL/SDL_gfx ?', I might consider it.
> Thanks.
Well, I don't see anything that SDL_gfx can do that Cairo dont, and you can use
both Cairo and SDL_gfx over an SDL window. Also, Cairo doesn't give you access
to input devices or window creation, so you need to use it with another library
like SDL to get them (I think that in the Cairo CVS there is a Cairo/SDL example).
Cairo seems more modern and usable to me, check the Cairo samples at their site
and mentally translate them to SDL_gfx. Also note that Cairo is better for
printing, and there is work to make it OpenGL accelerated, an X extension, etc.
Check this also:
http://people.redhat.com/otaylor/guadec5/
A note maybe not related: a problem with SDL is that doesn't have support for
multiple windows.
Saludos,
Nahuel Greco.
More information about the Slate
mailing list