mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 04:18:48 +02:00
LCL: Fix TLazCanvas to respect DrawingModes (alphablending).
(cherry picked from commit aa477d8262
)
This commit is contained in:
parent
153f8b932c
commit
ecfe876bfb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user