Carbon: Setting DC origin through SetWindowOrg and calling BitBlt does not work under OSX. Issue #28689 and #25564

git-svn-id: trunk@57022 -
This commit is contained in:
balazs 2018-01-09 06:19:00 +00:00
parent 4e09fc9c2c
commit 4bddb9a44b

View File

@ -1533,6 +1533,9 @@ begin
if Image = nil then Exit;
//apply window offset
XSrc := XSrc - SrcDC.WindowOfs.X;
YSrc := YSrc - SrcDC.WindowOfs.Y;
DstRect := CGRectMake(X, Y, Abs(Width), Abs(Height));
SubMask := (Msk <> nil)