[cairo] rcairo save syntax

Kouhei Sutou kou at cozmixng.org
Sat Dec 29 03:43:45 PST 2007


Hi,

In <1198927372.20557.37.camel at behdad.behdad.org>
  "[cairo] rcairo save syntax (was Re: [rcairo] a problem in placing surface with "set_source")" on Sat, 29 Dec 2007 06:22:52 -0500,
  Behdad Esfahbod <behdad at behdad.org> 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?

Sure.

--
kou


More information about the cairo mailing list