[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug in image drawing
From: |
Benhur Stein |
Subject: |
Re: bug in image drawing |
Date: |
Tue, 18 Mar 2003 19:42:36 -0300 |
User-agent: |
Internet Messaging Program (IMP) 3.0 |
Citando Alexander Malmberg <alexander@malmberg.org>:
> This is how the compositing (and dissolving) works. NSCopyBits(), the
> function in -gui, uses DPScomposite.... It isn't completely clear from
> the documentation that it's supposed to behave the same way, but I think
> it should. If this is the case, the implementation of NSCopyBits is
> probably broken (it doesn't let the caller decide which corner should be
> the origin).
Maybe it is broken, but everything I tried worked with back-art
(it works for me now, most of the time). I changed the implementation
of -copyBits in -xlib, but I didn't find where the problem is (I could
get it to work well in all cases except scrolling and cached windows,
that are the uses of NSCopyBits in -gui). I thought that the error
was in -gui, but -atr works well, and I don't know what else to think.
I give up. I'll put a hack in my program so that it draws in the right
place (how can I test which backend is running, btw?). When someone
fixes this I'll take the hack out.
> > Unfortunately, I have never been able to use back-art in my system
> > (gentoo linux on x86), X dies when I run the first gnustep app.
>
> Does it give you any error message?
Well, now it dies much less than before (it used to die with any GNUstep app).
I was going to send a mail saying that it was working well now, but X died
when I launched GNUMail... It dies a bad death, no messages I could find in
any log file, and everything dies when X dies :-(
Benhur