[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compositing and transformations

From: Alexander Malmberg
Subject: Re: Compositing and transformations
Date: Sun, 15 Sep 2002 13:35:14 +0200

Adam Fedor wrote:
> Alexander Malmberg wrote:
> > AFAICT, I'm doing it correctly now, so -gui should be fixed. I could fix
> > it, but I'm not sure if NSImage is supposed to handle this (I don't
> > think so, though), or if views need to check if they're flipped when
> > drawing images. Also, fixing it in -gui would cause messed up results
> > with back-xlib until someone fixes it.
> >
> Yes it should be fixed. I've always wondered about the odd
> transformations in gui wrt flipping. Hopefully this will help. I'll look
> at fixing xlib.

The -gui code was correct, but NSImage had code that 'un-flipped' the
coordinates before drawing. I've removed that, and it behaves like I
expected it to (back-art works, back-xlib draws images below where they
should be in flipped views).

- Alexander Malmberg

reply via email to

[Prev in Thread] Current Thread [Next in Thread]