HDBUsToPixels
Syntax
- HDBUsToPixels(int hdbu)
Arguments
- hdbu
- Number of HDBUs to convert to pixels
Description
- Converts HDBU (horizontal dialog base units, the measurement by which FilterMeister dialogs are constructed) to real on-screen pixels measurement. Note that the result of this conversion depends on the users' Windows installation and may vary.
Example
Info("DialogSize in pixels: %d x %d", HDBUsToPixels(getDialogWidth()), VDBUsToPixels(getDialogHeight()));
Also see
- PixelsToHDBUs, PixelsToVDBUs, HDBUsToPixels
Comments
- Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too.