~ubuntu-branches/ubuntu/intrepid/gthumb/intrepid-proposed

« back to all changes in this revision

Viewing changes to libgthumb/pixbuf-utils.h

  • Committer: Bazaar Package Importer
  • Author(s): Aron Sisak
  • Date: 2007-08-28 11:58:10 UTC
  • mto: (3.1.2 lenny)
  • mto: This revision was merged to the branch mainline in revision 32.
  • Revision ID: james.westby@ubuntu.com-20070828115810-4k374y5y35aq4cj3
Tags: upstream-2.10.6
ImportĀ upstreamĀ versionĀ 2.10.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
#include "typedefs.h"
31
31
 
32
 
void        pixmap_from_xpm                   (const char **data, 
33
 
                                               GdkPixmap  **pixmap, 
34
 
                                               GdkBitmap  **mask);
35
 
 
36
 
void       _gdk_pixbuf_vertical_gradient      (GdkPixbuf *pixbuf, 
37
 
                                               guint32    color1,
38
 
                                               guint32    color2);
39
 
 
40
 
void       _gdk_pixbuf_horizontal_gradient    (GdkPixbuf *pixbuf, 
41
 
                                               guint32    color1,
42
 
                                               guint32    color2);
43
 
 
44
 
void       _gdk_pixbuf_hv_gradient            (GdkPixbuf *pixbuf, 
45
 
                                               guint32    hcolor1,
46
 
                                               guint32    hcolor2,
47
 
                                               guint32    vcolor1,
48
 
                                               guint32    vcolor2);
49
 
 
50
 
GdkPixbuf *_gdk_pixbuf_transform              (GdkPixbuf* src, 
51
 
                                               GthTransform transform);
52
 
 
 
32
void        pixmap_from_xpm                   (const char     **data, 
 
33
                                               GdkPixmap      **pixmap, 
 
34
                                               GdkBitmap      **mask);
 
35
void       _gdk_pixbuf_vertical_gradient      (GdkPixbuf       *pixbuf, 
 
36
                                               guint32          color1,
 
37
                                               guint32          color2);
 
38
void       _gdk_pixbuf_horizontal_gradient    (GdkPixbuf       *pixbuf, 
 
39
                                               guint32          color1,
 
40
                                               guint32          color2);
 
41
void       _gdk_pixbuf_hv_gradient            (GdkPixbuf       *pixbuf, 
 
42
                                               guint32          hcolor1,
 
43
                                               guint32          hcolor2,
 
44
                                               guint32          vcolor1,
 
45
                                               guint32          vcolor2);
 
46
GdkPixbuf *_gdk_pixbuf_transform              (GdkPixbuf       *src, 
 
47
                                               GthTransform     transform);
53
48
gboolean   _gdk_pixbuf_save                   (GdkPixbuf       *pixbuf,
54
49
                                               const char      *filename,
55
50
                                               const char      *type,
56
51
                                               GError         **error,
57
52
                                               ...);
58
 
 
59
 
gboolean   _gdk_pixbuf_savev                  (GdkPixbuf    *pixbuf,
60
 
                                               const char   *filename,
61
 
                                               const char   *type,
62
 
                                               char        **keys,
63
 
                                               char        **values,
64
 
                                               GError      **error);
65
 
 
66
 
gboolean   scale_keepping_ratio               (int *width,
67
 
                                               int *height,
68
 
                                               int  max_width,
69
 
                                               int  max_height);
70
 
 
71
 
GdkPixbuf* create_void_pixbuf                 (int width,
72
 
                                               int height);
73
 
 
 
53
gboolean   _gdk_pixbuf_savev                  (GdkPixbuf       *pixbuf,
 
54
                                               const char      *filename,
 
55
                                               const char      *type,
 
56
                                               char           **keys,
 
57
                                               char           **values,
 
58
                                               GError         **error);
 
59
gboolean   scale_keepping_ratio               (int             *width,
 
60
                                               int             *height,
 
61
                                               int              max_width,
 
62
                                               int              max_height);
 
63
GdkPixbuf* create_void_pixbuf                 (int              width,
 
64
                                               int              height);
74
65
GdkPixbuf* _gdk_pixbuf_scale_simple_safe      (const GdkPixbuf *src,
75
66
                                               int              dest_width,
76
67
                                               int              dest_height,