Gimp.units_to_points
Description: Reference for Gimp.units_to_points

### Function

# Gimpunits_to_points

since: 2.8

#### Declaration [src]

    gdouble
    gimp_units_to_points (
      gdouble value,
      GimpUnit* unit,
      gdouble resolution
    )

#### Description [src]

Converts a `value` specified in `unit` to points.

Available since: 2.8

#### Parameters

`value`

  Type: `gdouble`

  Value in units.

`unit`

  Type: `GimpUnit`

  Unit of `value`.

  The data is owned by the caller of the function.

`resolution`

  Type: `gdouble`

  Resolution in DPI.

#### Return value

Type: `gdouble`

`value` converted to points.