Settings.fontSizeToPoints

Convert pixels to the equivalent value in points.

Applications can use this function to convert font size values in pixels to font size values in points when getting the font size properties of #WebKitSettings.

class Settings
static
uint
fontSizeToPoints
(
uint pixels
)

Parameters

pixels uint

the font size in pixels to convert to points

Return Value

Type: uint

the equivalent font size in points.