Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2019-10

LCL Grids: not scalable line width

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Werner Pamler
to AlexeyT
AlexeyT wrote 12 lines
IMO I have found place where width of canvas line is not scaled to current DPI. procedure TCustomGrid.ChangeCursor(ACursor: TCursor; ... Canvas.Pen.Width:=3; ... Canvas.Pen.Width:=1;

AFAIK, pen widths so far are not 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. -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20191006/707480ee/attachment.html>

Reply by email