Function

AdapLengthUnitto_px

since: 1.4

Declaration [src]

double
adap_length_unit_to_px (
  AdapLengthUnit unit,
  double value,
  GtkSettings* settings
)

Description [src]

Converts value from unit to pixels.

Available since: 1.4

Parameters

unit

Type: AdapLengthUnit

A length unit.

value

Type: double

A value in unit.

settings

Type: GtkSettings

Settings to use, or NULL for default settings.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: double

The length in pixels.