[Glade-users] Drawing Area



I'm using the drawing area for a simulation but I've noticed it doesn't provide too many tools. My issue is 
with zoom. So If I draw a square, and I want to zoom, it's easy, I just make it's size bigger. So if I want 
to zoom 2x, then I increase the length by a factor of two, and the width by a factor of 2. But if I have two 
squares, then it's a nightmare, because one square might grow and collide with the other square. 

Even something as simple as moving the 'canvas' around requires manipulating all the <x,y> coordinates of all 
the shapes you have drawn!!!

Am I doing something wrong? I remember OpenGL had really simple tools for dealing with rotations and 
translations. Is there a GtkGL class =P
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20081014/e9c644a8/attachment.html 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]