mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 17:10:37 +00:00
Fixed many drawing issues (many ones being related to the flipping).
See bug report #27782 In particular, fixed -[NSImage drawXXX] and -[NSImage composite/dissolveXXX] methods to work exactly as Cocoa when the Cairo backend is used. Added a new draw operator (in addition to composite) to the backend. Cairo is the only backend that implements it for now. Eliminated as many flipping checks as possible. Warning: Untested with the winlib backend. You must update, recompile and install both Back and Gui. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30523 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
67adeb4133
commit
0eee79f7b5
9 changed files with 274 additions and 28 deletions
|
@ -372,11 +372,11 @@ static inline NSRect integralRect (NSRect rect, NSView *view)
|
|||
}
|
||||
|
||||
/* ?? TODO: Understand the following code - and add explanatory comment */
|
||||
if ([NSView focusView] == _documentView)
|
||||
/*if ([NSView focusView] == _documentView)
|
||||
{
|
||||
PStranslate (NSMinX (originalBounds) - aPoint.x,
|
||||
NSMinY (originalBounds) - aPoint.y);
|
||||
}
|
||||
}*/
|
||||
|
||||
[_super_view reflectScrolledClipView: self];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue