Cairo is not a scenegraph so you have to draw everything on expose. There are cairo based scenegraphs available if that is what you are looking for.<br><br>&gt;&gt;I dont wish to explicitly draw the three rectangles by specifying the co-ordinates.Is their a better way to &gt;&gt;do it?<br>
I don&#39;t quite understand how you can draw anything without specifying where. Even if indirectly by cairo_translate.<br><br>~Gerdus<br><br><div class="gmail_quote">On Sat, Dec 20, 2008 at 6:48 AM, abhidhnya sonawane <span dir="ltr">&lt;<a href="mailto:abhidhnya.sonawane@gmail.com">abhidhnya.sonawane@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>I wish to draw three rectangles on the drawing area.<br><br>But after&nbsp; finishing drawing&nbsp; one ,I draw the next.<br>
Also I wish to add the scaling effect to it.Like the first rectangle is initially small.I enlarge it to a particular size and then draw the next one.<br>
<br>I have accomplished this , but because I call queue_redraw in my timer function the previously drawn rectangle vanishes and then the second one is drawn.<br><br>I dont wish to explicitly draw the three rectangles by specifying the co-ordinates.Is their a better way to do it?<br>

<br>Regards,<br><font color="#888888">Abhidhnya.<br>
</font><br>_______________________________________________<br>
cairo mailing list<br>
<a href="mailto:cairo@cairographics.org">cairo@cairographics.org</a><br>
<a href="http://lists.cairographics.org/mailman/listinfo/cairo" target="_blank">http://lists.cairographics.org/mailman/listinfo/cairo</a><br></blockquote></div><br>