Small naming fix

git-svn-id: trunk@34147 -
This commit is contained in:
sekelsenmat 2011-12-13 07:51:37 +00:00
parent 33b5417013
commit be198d094a
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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