Settings.fontSizeToPixels

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.

class Settings
static
uint
fontSizeToPixels
(
uint points
)

Parameters

points uint

the font size in points to convert to pixels

Return Value

Type: uint

the equivalent font size in pixels.