LengthUnit.toPx

Converts value from unit to pixels.

struct LengthUnit
static
double
toPx

Parameters

unit adw.types.LengthUnit

a length unit

value double

a value in unit

settings gtk.settings.Settings

settings to use, or NULL for default settings

Return Value

Type: double

the length in pixels