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.

resolution

Type: gdouble

Resloution in DPI.

Return value

Type: gdouble

value converted to points.