DOUBLE r = WinXDraw_PixelsPerPoint ()
Gets the number of screen pixels per point at the current resolution.
Parameter | Description |
---|
The numbe of screen pixels per point at the current screen resolution.
Font sizes are usually specified in points, but the LOGFONT structure uses pixels. This function provides a simple way to convert between the two.
'Declare the LOGFONT ... 'create a LOGFONT 12 points high |
Text and Fonts
WinXPrint_LogUnitsPerPoint
WinXDraw_MakeLogFont
WinXDraw_GetFontDialog