GimpUi.ZoomModel.zoom_step
@accepts(GimpUi.ZoomType, float, float)
@returns(float)
def zoom_step(zoom_type, scale, delta):
# Python wrapper for gimp_zoom_model_zoom_step()
Utility function to calculate a new scale factor.
- zoom_type
the zoom type
- scale
ignored unless zoom_type == %GIMP_ZOOM_TO
- delta
the delta from a smooth zoom event
- Returns