[cairo] rcairo save syntax (was Re: [rcairo] a problem in placing surface with "set_source")

Behdad Esfahbod behdad at behdad.org
Sat Dec 29 03:22:52 PST 2007


On Sat, 2007-12-29 at 06:16 -0500, Binzo wrote:
> 
> # invalid placing
> cr.save {
>   cr.set_source(img, 10.5, 30.5)
>   cr.paint
> }

Humm, interesting syntax for save/restore.  Does rcairo still support
the classic separate save() and restore() calls?

-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759



More information about the cairo mailing list