Op 9-12-2016 om 12:56 schreef Graeme Geldenhuys via Lazarus:
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
That might be the solution! (but you loose some contrast)
Another problem with scaling is the thickness of lines. Example: you
are (or a control) drawing lines on a form with a thickness of 1 pixel.
If you scale the form from 96 to 192 dpi what to do with the thickness
of lines? It should be 2 pixels on a 192 dpi screen to get the same
thickness.
Erwin
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus