How do I use Cairo ta draw on a shoes window?
I am trying to start a school project for Computer Graphics. Can anybody post a simple code that draws a circle on a shoes window? I’d be very grateful. I have been searching for quite a while now… I’ve reached nowhere yet. so, please help me!! 🙂
I’m not sure how you would use Cairo in Ruby. It’s not my area of expertise; however drawing circles in Shoes is not difficult at all. The following example allows circles to be created from mouse clicking and dragging.
Obviously, depending on your specific requirements, you will need to decide whether it is good enough.
In my experience, Shoes is a decent platform for making a broad range of low to medium power apps. However, if you’re trying to build something substantial, like a graphics package, there are probably better solutions.