Adw.LengthUnit.to_px
Description: Reference for Adw.LengthUnit.to_px

### Function

# Adw LengthUnitto_px

#### Declaration [src]

    double
    adw_length_unit_to_px (
      AdwLengthUnit unit,
      double value,
      GtkSettings* settings
    )

#### Description [src]

Converts `value` from `unit` to pixels.

Available since: | 1.4

#### Parameters

`unit` | `AdwLengthUnit`
| A length unit.
`value` | `double`
| A value in `unit`.
`settings` | `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

Returns: | `double`
| The length in pixels.