[cairo] Re: Scaling/rotating a pattern
c99drn at cs.umu.se
Thu Apr 15 12:13:52 PDT 2004
On Thu, 2004-04-15 at 13:11 -0400, Carl Worth wrote:
> On Wed, 14 Apr 2004 22:30:24 +0200, David Reveman wrote:
> > Glitz is not very good at handling both rotation and transformation at
> > the same time. I think Xrender and pixman have the same problem.
> Render and pixmain handle rotation and transformation just fine, (since
> rotation is just one particular case of transformation).
> Maybe you meant "repeat" in place of "rotation"?
yes, of course. sorry.
"rotation and transformation", stupid me :-)
> In that case, yes, both Render and pixman currently have a bug which
> causes the repeat attribute to be mishandled when under the influence of
> a non-identity transformation matrix.
> This is quite likely the cause of the bug.
> > You can always handle this in your application by first repeating the
> > pattern to an intermediate surface and then transforming this
> > intermediate pattern onto the destination.
> This sounds like a fine workaround for now, but we should fix the bug
> for real at some point.
You're right. I'll see what I can do to get it working with glitz.
David Reveman <c99drn at cs.umu.se>
More information about the cairo