[Lazarus] LCL High-DPI
Ondrej Pokorny
lazarus at kluug.net
Tue Feb 21 19:51:45 CET 2017
On 21.02.2017 19:13, Donald Ziesig via Lazarus wrote:
> One more question. Where can I find documentation for
> TControl.ScaleCoord() or ScaleCoord96()? It is not in the CCR. I
> will search the source.
The difference is in the scale basis:
ScaleCoord96: hard-coded 96.
ScaleCoord: DesignTimePPI (= the PPI of the IDE - be aware that it can
change if you open your project on a different system with different DPI).
ScaleCoord96 is to use for hard-coded values in 96 PPI.
I'll document the functions in the CCR.
Ondrej
More information about the Lazarus
mailing list