mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-09 12:37:21 +01:00
Small naming fix
git-svn-id: trunk@34147 -
This commit is contained in:
parent
33b5417013
commit
be198d094a
@ -2238,7 +2238,7 @@ begin
|
||||
// Execute the copy, pixel by pixel with Alpha blending
|
||||
// Simple AlphaBlend was showing redish areas in the emulator
|
||||
// because misteriously it read the target area pixels as red
|
||||
lDestCanvas.AlphaBlendIgnoringSrcPixels(lCanvas, X, Y, 0, 0, lWidth, lHeight);
|
||||
lDestCanvas.AlphaBlendIgnoringDestPixels(lCanvas, X, Y, 0, 0, lWidth, lHeight);
|
||||
|
||||
// Release the helper objects
|
||||
lCanvas.Free;
|
||||
|
||||
@ -100,7 +100,7 @@ type
|
||||
// Alpha blending operations
|
||||
procedure AlphaBlend(ASource: TLazCanvas;
|
||||
const ADestX, ADestY, ASourceX, ASourceY, ASourceWidth, ASourceHeight: Integer);
|
||||
procedure AlphaBlendIgnoringSrcPixels(ASource: TLazCanvas;
|
||||
procedure AlphaBlendIgnoringDestPixels(ASource: TLazCanvas;
|
||||
const ADestX, ADestY, ASourceX, ASourceY, ASourceWidth, ASourceHeight: Integer);
|
||||
procedure CanvasCopyRect(ASource: TLazCanvas;
|
||||
const ADestX, ADestY, ASourceX, ASourceY, ASourceWidth, ASourceHeight: Integer);
|
||||
@ -458,9 +458,9 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
// This is a safer version in case one doesnt trust the source pixels
|
||||
// This is a safer version in case one doesnt trust the destination pixels
|
||||
// It will draw as if the target area contained opaque white
|
||||
procedure TLazCanvas.AlphaBlendIgnoringSrcPixels(ASource: TLazCanvas;
|
||||
procedure TLazCanvas.AlphaBlendIgnoringDestPixels(ASource: TLazCanvas;
|
||||
const ADestX, ADestY, ASourceX, ASourceY, ASourceWidth, ASourceHeight: Integer
|
||||
);
|
||||
var
|
||||
|
||||
Loading…
Reference in New Issue
Block a user