mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 16:56:01 +02:00
parent
82f4023793
commit
a8f9fab54f
@ -1512,7 +1512,7 @@ begin
|
||||
CGContextTranslateCTM(LayerContext, 0, -SrcHeight);
|
||||
|
||||
SetCGFillping(LayerContext, Width, Height);
|
||||
if SubMask then CGContextClipToMask(LayerContext, ImgRect, MskImage);
|
||||
if Assigned(MskImage) then CGContextClipToMask(LayerContext, ImgRect, MskImage);
|
||||
CGContextDrawImage(LayerContext, ImgRect, Image);
|
||||
|
||||
CGContextDrawLayerInRect(CGContext, DstRect, Layer);
|
||||
|
Loading…
Reference in New Issue
Block a user