Method

GimpUnitget_factor

Declaration [src]

gdouble
gimp_unit_get_factor (
  GimpUnit* unit
)

Description [src]

A GimpUnits factor is defined to be:

distance_in_units == (factor * distance_in_inches)

Returns 0 for unit == GIMP_UNIT_PIXEL.

Gets propertyGimp.Unit:factor

Return value

Type: gdouble

The unit’s factor.