lcl: pass Width = 0 to CreatePenIndirect if pen is cosmetic

git-svn-id: trunk@17379 -
This commit is contained in:
paul 2008-11-14 04:43:42 +00:00
parent acf0fa16a8
commit 5eb4c0c00f

View File

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