mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 01:59:34 +02:00
lcl: pass Width = 0 to CreatePenIndirect if pen is cosmetic
git-svn-id: trunk@17379 -
This commit is contained in:
parent
acf0fa16a8
commit
5eb4c0c00f
@ -378,7 +378,10 @@ begin
|
||||
elpPenStyle := PEN_STYLES[Style] or PEN_GEOMETRIC[IsGeometric];
|
||||
if IsGeometric then
|
||||
elpPenStyle := elpPenStyle or PEN_ENDCAP[EndCap] or PEN_JOIN[JoinStyle];
|
||||
elpWidth := Width;
|
||||
if IsGeometric then
|
||||
elpWidth := Width
|
||||
else
|
||||
elpWidth := 0;
|
||||
elpBrushStyle := BS_SOLID;
|
||||
elpColor := FColor;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user