[Lazarus] Pixels

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Lazarus] Pixels

Free Pascal - Lazarus mailing list
I need a function to get pixels per inch in a Linux application.

Sent from my iPhone
--
_______________________________________________
Lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Pixels

Free Pascal - Lazarus mailing list


On Tue, 10 Oct 2017, Larry Dalton via Lazarus wrote:

> I need a function to get pixels per inch in a Linux application.

In an LCL graphical application ? You mean DPI ?

Take your pick:

   TForm.PixelsPerInch
   Monitor.PixelsPerInch
   Screen.PixelsPerInch

Michael.
--
_______________________________________________
Lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus