mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-08 12:58:25 +02:00
LCL: Fix TLazCanvas to respect DrawingModes (alphablending).
This commit is contained in:
parent
083a92717b
commit
aa477d8262
@ -406,7 +406,7 @@ begin
|
|||||||
if (nodeX[i ] < lBoundingBox.Left) then nodeX[i] := lBoundingBox.Left;
|
if (nodeX[i ] < lBoundingBox.Left) then nodeX[i] := lBoundingBox.Left;
|
||||||
if (nodeX[i+1] > lBoundingBox.Right) then nodeX[i+1] := lBoundingBox.Right;
|
if (nodeX[i+1] > lBoundingBox.Right) then nodeX[i+1] := lBoundingBox.Right;
|
||||||
for X := nodeX[i] to nodeX[i+1]-1 do
|
for X := nodeX[i] to nodeX[i+1]-1 do
|
||||||
SetColor(X, Y, Brush.FPColor);
|
DrawPixel(X, Y, Brush.FPColor);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
i := i + 2;
|
i := i + 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user