bug-gnustep
[Top][All Lists]
Advanced

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

[bug #27782] drawInRect:fromRect:operation:fraction: doesn't work correc


From: Fred Kiefer
Subject: [bug #27782] drawInRect:fromRect:operation:fraction: doesn't work correctly in a flipped view
Date: Sun, 18 Apr 2010 22:09:18 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.9) Gecko/20100317 SUSE/3.5.9-0.1.1 Firefox/3.5.9

Follow-up Comment #15, bug #27782 (project gnustep):

I like the idea of removing all those isFlipped checks in gui. I always
suspected that they were only compensating for one-another. But then you had
to add one yourself for the NSView -scrollRect:by: method. The rest of the
patch on this method I don't understand. When we do our computation on the
lower methods correctly switching to another view here (in this case to the
base view) should have no effect at all. If it does, we are doing something
else wrong. And according tot he comment your patch wont work for other
backends. Is this still true?

NSImageCell:
When the control view is nil, is_flipped will always be false. We don't need
to check for both conditions.
I don't think we should mess with transformation here. As far as I understand
it, you are doing this to guarantee that images are always oriented upwards,
which is the way they handled by NSCell.






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27782>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/





reply via email to

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