<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Am 06.10.2019 um 12:14 schrieb AlexeyT
via lazarus:<br>
</div>
<blockquote type="cite"
cite="mid:a0c37d13-6aff-578b-04ba-a604f8bc7e63@ya.ru">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p>IMO I have found place where width of canvas line is not scaled
to current DPI.</p>
<p><span class="blob-code-inner blob-code-marker"
data-code-marker="+"><span class="pl-k">procedure</span> <span
class="pl-en">TCustomGrid.ChangeCursor</span>(ACursor:
TCursor;</span></p>
<p>...<br>
<span class="blob-code-inner blob-code-marker"
data-code-marker="+"><span class="blob-code-inner
blob-code-marker" data-code-marker=" ">Canvas.Pen.Width:=<span
class="pl-c1">3</span>;</span></span></p>
<p><span class="blob-code-inner blob-code-marker"
data-code-marker="+"><span class="blob-code-inner
blob-code-marker" data-code-marker=" ">...</span></span><br>
<span class="blob-code-inner blob-code-marker"
data-code-marker="+"><span class="blob-code-inner
blob-code-marker" data-code-marker=" "><span
class="blob-code-inner blob-code-marker"
data-code-marker=" "> Canvas.Pen.Width:=<span
class="pl-c1">1</span>;</span></span></span></p>
</blockquote>
AFAIK, pen widths so far are not scaled at all. If they were,
pen.Width=1 should be scaled, too, and this can have a detrimental
effect on line styles and drawing speed, at least on Windows.<br>
</body>
</html>