1 /* GdkPixbuf library - image transformation using 2x2 arbitrary matrix
3 * Copyright (C) 1999 The Free Software Foundation
5 * Authors: Oleg Klimov <quif@land.ru>, John Costigan
7 * This file is part of Maemo Mapper.
9 * Maemo Mapper is free software: you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation, either version 3 of the License, or
12 * (at your option) any later version.
14 * Maemo Mapper is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with Maemo Mapper. If not, see <http://www.gnu.org/licenses/>.
23 #ifndef GDK_PIXBUF_ROTATE_H
24 #define GDK_PIXBUF_ROTATE_H
26 #include "gdk-pixbuf/gdk-pixbuf.h"
31 gfloat* gdk_pixbuf_rotate_matrix_new (void);
32 void gdk_pixbuf_rotate_matrix_fill_for_rotation (gfloat* matrix,
34 void gdk_pixbuf_rotate_matrix_mult_number (gfloat* matrix,
36 void gdk_pixbuf_rotate_matrix_mult_matrix (gfloat* dst_matrix,
39 gboolean gdk_pixbuf_rotate_matrix_reverse (gfloat* dest,
41 void gdk_pixbuf_rotate_matrix_transpose (gfloat* dest,
43 gfloat gdk_pixbuf_rotate_matrix_determinant (const gfloat* matrix);
46 void gdk_pixbuf_rotate (GdkPixbuf* dst,
57 gint* result_rect_width,
58 gint* result_rect_height);
59 void gdk_pixbuf_rotate_vector (gfloat* dst_x,
67 #endif /* GDK_PIXBUF_ROTATE_H */