[cairo] Drawing multiple images
Gerdus van Zyl
gerdusvanzyl at gmail.com
Sat Dec 20 00:20:00 PST 2008
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.
>>I dont wish to explicitly draw the three rectangles by specifying the
co-ordinates.Is their a better way to >>do it?
I don't quite understand how you can draw anything without specifying where.
Even if indirectly by cairo_translate.
On Sat, Dec 20, 2008 at 6:48 AM, abhidhnya sonawane <
abhidhnya.sonawane at gmail.com> wrote:
> I wish to draw three rectangles on the drawing area.
> But after finishing drawing one ,I draw the next.
> 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
> 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
> I dont wish to explicitly draw the three rectangles by specifying the
> co-ordinates.Is their a better way to do it?
> cairo mailing list
> cairo at cairographics.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cairo