to_px


Description:

public double to_px (double value, Settings? settings)

Converts value from unit to pixels.

Parameters:

value

a value in unit

settings

settings to use, or `NULL` for default settings

unit

a length unit

Returns:

the length in pixels