mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 16:30:53 +00:00
Merge from 0.7.0
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10329 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
caedf71059
commit
234c006585
27 changed files with 794 additions and 478 deletions
|
@ -626,7 +626,11 @@ repd_for_rep(NSArray *_reps, NSImageRep *rep)
|
|||
// FIXME: This undos the change done in NSCell, perhaps we can remove both?
|
||||
if ([[ctxt focusView] isFlipped])
|
||||
y -= rect.size.height;
|
||||
|
||||
|
||||
// Move the drawing rectangle to the origin of the image rep
|
||||
// and intersect the two rects.
|
||||
aRect.origin.x += rect.origin.x;
|
||||
aRect.origin.y += rect.origin.y;
|
||||
rect = NSIntersectionRect(aRect, rect);
|
||||
PScomposite(NSMinX(rect), NSMinY(rect), NSWidth(rect), NSHeight(rect),
|
||||
[[(NSCachedImageRep *)rep window] gState], aPoint.x, y, op);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue