get_factor


Description:

public double get_factor ()

A Unit's factor is defined to be:

distance_in_units == (factor * distance_in_inches)

Returns 0 for this == GIMP_UNIT_PIXEL.

Parameters:

this

The unit you want to know the factor of.

Returns:

The unit's factor.