[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo
Subject:    Re: [cairo] Re: "retained" surface for cairo
From:       Carl Worth <cworth () east ! isi ! edu>
Date:       2004-07-20 21:00:10
Message-ID: E1Bn1ic-0002u1-00 () brudder ! east ! isi ! edu
[Download RAW message or body]

On Tue, 20 Jul 2004 21:10:29 +0200 (CEST), =?iso-8859-1?q?Jost=20Boekemeier?= wrote:
> I must confess I haven't looked at the code close
> enough.  I have only looked at the vtable which has a
> _cairo_xlib_surface_set_matrix for the xlib backend.
> 
> Isn't that the transformation matrix that applies to
> all following I send to the server?

Not exactly.

This function is used when transforming an image used as a source
pattern for compositing. This function doesn't make sense for
destination surfaces.

There was a time when source patterns and destination surfaces were
conflated within cairo and used the same datatype, (cairo_surface_t).
This cause some confusion. Now, we have a much cleaner interface with a
separate cairo_pattern_t. With this, the function above will likely go
away.

But even with this function still present, it has nothing to do with the
transformation applied to geometry within cairo.

-Carl

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic