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: Quentin Mathé
Subject: [bug #27782] drawInRect:fromRect:operation:fraction: doesn't work correctly in a flipped view
Date: Sat, 17 Apr 2010 15:27:15 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.16) Gecko/2009121601 Ubuntu/9.04 (jaunty) Firefox/3.0.16

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

Here are the promised example and screenshots.

I just found that NSCopyBits interprets the source rect relative to the view
gstate unlike what I said previously. Not sure why I missed that. I didn't
write any example with NSCopyBits used inside -drawInRect: (as the attached
example does); the previous test code I wrote locked the focus explicitly.

I also found that NSCopyBits doesn't work correctly when the destination is
rotated with my patch. The shift I observed is similar to the one previously
visible for -compositeToPoint: in a rotated destination (see
TestDrawing-without-patch-cairo.png). It could be a special with copyOnSelf I
don't handle well.

(file #20251, file #20252, file #20253)
    _______________________________________________________

Additional Item Attachment:

File name: TestDrawing.tar.gz             Size:26 KB
File name: TestDrawing-without-patch-cairo.png Size:24 KB
File name: TestDrawing-with-patch-cairo.png Size:23 KB


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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