1 /*
2  * Copyright © 2009-2018 Siyan Panayotov <contact@siyanpanayotov.com>
3  *
4  * This file is part of Viewnior.
5  *
6  * Viewnior is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * Viewnior is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with Viewnior.  If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 #ifndef __VNR_IMAGE_H__
21 #define __VNR_IMAGE_H__
22 
23 void    vnr_tools_fit_to_size (gint * w, gint * h, gint mw, gint mh);
24 void    vnr_tools_fit_to_size_double (gdouble * w, gdouble * h, gint mw, gint mh);
25 
26 GSList *vnr_tools_get_list_from_array (gchar **files);
27 GSList *vnr_tools_parse_uri_string_list_to_file_list (const gchar *uri_list);
28 void    vnr_tools_apply_embedded_orientation (GdkPixbufAnimation **anim);
29 gint    compare_quarks (gconstpointer a, gconstpointer b);
30 void    get_position_of_element_in_list(GList *list, gint *current, gint *total);
31 
32 #endif /* __VNR_IMAGE_H__ */
33