from_px


Description:

public double from_px (double value, Settings? settings)

Converts value from pixels to unit.

Parameters:

value

a value in pixels

settings

settings to use, or `NULL` for default settings

unit

a length unit

Returns:

the length in unit