[Lazarus] New high DPI features in 1.7
Graeme Geldenhuys
mailinglists at geldenhuys.co.uk
Fri Dec 9 12:56:28 CET 2016
On 2016-12-09 11:38, Erwin van den Bosch via Lazarus wrote:
> So 7 px * 1.25 = 8.75 = 9
> 21 px * 1.25 = 26.25 = 26
> 22 px * 1.25 = 27.5 = 28
> How to get pixel 27?
Use a 2D graphics framework like fpGUI does with AggPas, which allows
for sub-pixel rendering. ie: renders pixels smaller that 1px by using
anti-aliasing, alpha blending and LCD sub-pixel filtering.
Regards,
Graeme
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
My public PGP key: http://tinyurl.com/graeme-pgp
More information about the Lazarus
mailing list