Changes by last author:

Added:
= PixelsToHDBUs =

== Syntax ==

:PixelsToHDBUs(int pixels)

== Arguments ==

:pixels

::Number of pixels to convert to HDBUs

== Description ==

:Converts on-screen pixel measurement to HDBU (horizontal dialog base units, the measurement by which FilterMeister dialogs are constructed). Note that the result of this conversion depends on the users' Windows installation and may vary.

== Example ==

<code>

Info("Screensize in DBUs: %d x %d", PixelsToHDBUs(getDisplaySettings(1)), PixelsToVDBUs(getDisplaySettings(2)));

</code>

== Also see ==

:HDBUsToPixels, PixelsToVDBUs, VDBUsToPixels

== Comments ==

:Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too.