mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-23 20:01:22 +00:00
Fix problem with display location for some composited images
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@30228 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7d826fbd3c
commit
cca4dec810
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-04-20 Doug Simons <doug.simons@testplant.com>
|
||||
|
||||
* Source/winlib/WIN32GState.m:
|
||||
Fix problem with display location for some composited images.
|
||||
|
||||
2010-04-20 Doug Simons <doug.simons@testplant.com>
|
||||
|
||||
* Source/win32/WIN32Server.m:
|
||||
|
|
|
@ -283,6 +283,7 @@ BOOL alpha_blend_source_over(HDC destDC,
|
|||
|
||||
[source->ctm boundingRectFor: sourceRect result: &newRect];
|
||||
rectFrom = GSWindowRectToMS(source, newRect);
|
||||
y += (sourceRect.size.height - newRect.size.height); // adjust location for scaled source
|
||||
}
|
||||
h = rectFrom.bottom - rectFrom.top;
|
||||
w = rectFrom.right - rectFrom.left;
|
||||
|
|
Loading…
Reference in a new issue