[Lazarus] Hi-DPI tweak of components

Giuliano Colla giuliano.colla at fastwebnet.it
Thu Jun 8 12:24:17 CEST 2023


Il 08/06/23 11:58, Ondrej Pokorny via lazarus ha scritto:
> All in all, an over-complicated approach with little gain.

The gain would be that you do not add up rounding errors. We can't have 
fractional pixels, of course, but we may have the exact actual size at 
design/creation time, and for each different DPI the best approximation 
to the actual size. If you switch back and forth between two monitors 
with different DPI the rounding errors remain constant, they don't add up.

Giuliano




More information about the lazarus mailing list