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 -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus