GUI with Cairo together with SDL, easy? |
Daniel V
Guest
|
Hi!
I need some scalable 2D vector graphics for my GUI applications. I want to make custom graphics as if it was like a automated version of illustrator or Inkscape. Is Cairo suitable for this? And is there a easy way to get started, like some simple tutorial. I use GCC on Linux for my development. Does anyone have experience using Cairo with SDL? And the question i have is if Cairo is to low level to make user interfaces with it, or if I have to make a library that uses Cairo, to make it usable in practice for making GUI:s with C and SDL? // Daniel _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||
|
Re: GUI with Cairo together with SDL, easy? |
actsl
|
No, Cairo is certainly not too low level for user interfaces with C and SDL. My kiss_sdl widget toolkit https://github.com/actsl/kiss_sdl uses only SDL for user interfaces, no graphics library at all. But all the drawing functions are abstracted to a separate file, so also it can quite easily be made to use whatever graphics library for drawing. But at that, using a separate graphics library for drawing is not for being able to make a user interface at all, it may only be for higher quality of drawing or for increasing speed. |
|||||||||||||
|