Settings.fontSizeToPixels
uint fontSizeToPixels(uint points)Convert points to the equivalent value in pixels.
Applications can use this function to convert font size values in points to font size values in pixels when setting the font size properties of #WebKitSettings.
Parameters
points | the font size in points to convert to pixels |
Returns
the equivalent font size in pixels.