Top | ![]() |
![]() |
![]() |
![]() |
gdouble | gtk_zooms_get_zoom_in () |
gdouble | gtk_zooms_get_zoom_out () |
gdouble | gtk_zooms_get_min_zoom () |
gdouble | gtk_zooms_get_max_zoom () |
gdouble | gtk_zooms_clamp_zoom () |
GtkImageView uses a discrete amount of zoom factors for determining which zoom to set. Using these functions, it is possible to retrieve information and manipulate a zoom factor.
gdouble
gtk_zooms_get_zoom_in (gdouble zoom
);
Returns the zoom factor that is one step larger than the supplied zoom factor.
gdouble
gtk_zooms_get_zoom_out (gdouble zoom
);
Returns the zoom factor that is one step smaller than the supplied zoom factor.
gdouble
gtk_zooms_get_min_zoom (void
);
Returns the minimum allowed zoom factor.
gdouble
gtk_zooms_get_max_zoom (void
);
Returns the maximum allowed zoom factor.