mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-07 08:38:11 +02:00
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:
parent
4e09fc9c2c
commit
4bddb9a44b
@ -1533,6 +1533,9 @@ begin
|
|||||||
|
|
||||||
if Image = nil then Exit;
|
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));
|
DstRect := CGRectMake(X, Y, Abs(Width), Abs(Height));
|
||||||
|
|
||||||
SubMask := (Msk <> nil)
|
SubMask := (Msk <> nil)
|
||||||
|
Loading…
Reference in New Issue
Block a user