mirror of
https://github.com/gnustep/libs-back.git
synced 2025-05-31 01:11:00 +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
812176ea02
commit
2b63b842c2
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>
|
2010-04-20 Doug Simons <doug.simons@testplant.com>
|
||||||
|
|
||||||
* Source/win32/WIN32Server.m:
|
* Source/win32/WIN32Server.m:
|
||||||
|
|
|
@ -283,6 +283,7 @@ BOOL alpha_blend_source_over(HDC destDC,
|
||||||
|
|
||||||
[source->ctm boundingRectFor: sourceRect result: &newRect];
|
[source->ctm boundingRectFor: sourceRect result: &newRect];
|
||||||
rectFrom = GSWindowRectToMS(source, newRect);
|
rectFrom = GSWindowRectToMS(source, newRect);
|
||||||
|
y += (sourceRect.size.height - newRect.size.height); // adjust location for scaled source
|
||||||
}
|
}
|
||||||
h = rectFrom.bottom - rectFrom.top;
|
h = rectFrom.bottom - rectFrom.top;
|
||||||
w = rectFrom.right - rectFrom.left;
|
w = rectFrom.right - rectFrom.left;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue