bug-gnustep
[Top][All Lists]
Advanced

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

[bug #34470] -[NSBitmapImageRep initWithFocusedViewRect:] broken


From: Fred Kiefer
Subject: [bug #34470] -[NSBitmapImageRep initWithFocusedViewRect:] broken
Date: Wed, 05 Oct 2011 17:53:43 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20100101 Firefox/7.0

Follow-up Comment #3, bug #34470 (project gnustep):

Eric,
I understand that the right thing to do here would be to support graphic
contexts based on bitmap data, which is not too hard to do for cairo. But for
now wouldn't it resolve the problem to move the line drawing the current
representation from _doImageCache: into the end of the if statement in
lockFocusOnRepresentation:?
Of course only when repd->original isn't nil.

Perhaps we may be able to remove some of the duplicate background colour
drawing in the process as well. This code is very old and although I moved it
around quite some times, I still don't fully understand what was intended and
what is still needed. When I last rewrote things here, about three years ago,
I had to undo a few of my changes later on, as the code doesn't exactly work
as expected with all GNUstep backends. This means we have to be extra careful
and test a lot.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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