zoom_step


Description:

[ CCode ( cname = "gimp_zoom_model_zoom_step" ) ]
public static double zoom_step (ZoomType zoom_type, double scale, double delta)

Utility function to calculate a new scale factor.

Parameters:

zoom_type

the zoom type

scale

ignored unless zoom_type == gimp_zoom_to

delta

the delta from a smooth zoom event

Returns:

the new scale factor

Since GIMP 2.4