Gimp.units_to_points (original) (raw)

Gimp

API Version: 3.0

Library Version: 3.0.2

Functions

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

Resloution in DPI.

Return value

Type: gdouble

value converted to points.