LCL: Fix TLazCanvas to respect DrawingModes (alphablending).

(cherry picked from commit aa477d8262)
This commit is contained in:
wp_xyz 2023-01-27 16:47:37 +01:00 committed by Maxim Ganetsky
parent 153f8b932c
commit ecfe876bfb

View File

@ -406,7 +406,7 @@ begin
if (nodeX[i ] < lBoundingBox.Left) then nodeX[i] := lBoundingBox.Left;
if (nodeX[i+1] > lBoundingBox.Right) then nodeX[i+1] := lBoundingBox.Right;
for X := nodeX[i] to nodeX[i+1]-1 do
SetColor(X, Y, Brush.FPColor);
DrawPixel(X, Y, Brush.FPColor);
end;
i := i + 2;