]>
Commit | Line | Data |
---|---|---|
c801d85f KB |
1 | |
2 | #ifndef __GDK_IMLIB_H__ | |
3 | #define __GDK_IMLIB_H__ | |
4 | ||
c67daf87 UR |
5 | /* we need this funny include path, because the working directory when */ |
6 | /* including this might actually be ../gdk/ instead of . */ | |
1f0299c1 | 7 | #include "../gdk_imlib/gdk_imlib_types.h" |
c801d85f KB |
8 | |
9 | #ifdef __cplusplus | |
10 | extern "C" | |
11 | { | |
12 | #endif /* __cplusplus */ | |
13 | ||
14 | void gdk_imlib_init(void); | |
15 | void gdk_imlib_init_params(GdkImlibInitParams * p); | |
16 | gint gdk_imlib_get_render_type(void); | |
17 | void gdk_imlib_set_render_type(gint rend_type); | |
18 | gint gdk_imlib_load_colors(char *file); | |
19 | GdkImlibImage *gdk_imlib_load_image(char *file); | |
20 | gint gdk_imlib_best_color_match(gint * r, gint * g, gint * b); | |
21 | gint gdk_imlib_render(GdkImlibImage * image, gint width, gint height); | |
22 | GdkPixmap *gdk_imlib_copy_image(GdkImlibImage * image); | |
23 | GdkBitmap *gdk_imlib_copy_mask(GdkImlibImage * image); | |
24 | GdkPixmap *gdk_imlib_move_image(GdkImlibImage * image); | |
25 | GdkBitmap *gdk_imlib_move_mask(GdkImlibImage * image); | |
26 | void gdk_imlib_destroy_image(GdkImlibImage * image); | |
27 | void gdk_imlib_kill_image(GdkImlibImage * image); | |
28 | void gdk_imlib_free_colors(void); | |
29 | void gdk_imlib_free_pixmap(GdkPixmap * pixmap); | |
30 | void gdk_imlib_free_bitmap(GdkBitmap * bitmap); | |
31 | void gdk_imlib_get_image_border(GdkImlibImage * image, GdkImlibBorder * border); | |
32 | void gdk_imlib_set_image_border(GdkImlibImage * image, GdkImlibBorder * border); | |
33 | void gdk_imlib_get_image_shape(GdkImlibImage * image, GdkImlibColor * color); | |
34 | void gdk_imlib_set_image_shape(GdkImlibImage * image, GdkImlibColor * color); | |
35 | gint gdk_imlib_save_image_to_eim(GdkImlibImage * image, char *file); | |
36 | gint gdk_imlib_add_image_to_eim(GdkImlibImage * image, char *file); | |
37 | gint gdk_imlib_save_image_to_ppm(GdkImlibImage * image, char *file); | |
38 | gint gdk_imlib_load_file_to_pixmap(char *filename, GdkPixmap ** pmap, GdkBitmap ** mask); | |
39 | void gdk_imlib_set_image_modifier(GdkImlibImage * im, GdkImlibColorModifier * mod); | |
40 | void gdk_imlib_set_image_red_modifier(GdkImlibImage * im, GdkImlibColorModifier * mod); | |
41 | void gdk_imlib_set_image_green_modifier(GdkImlibImage * im, GdkImlibColorModifier * mod); | |
42 | void gdk_imlib_set_image_blue_modifier(GdkImlibImage * im, GdkImlibColorModifier * mod); | |
43 | void gdk_imlib_get_image_modifier(GdkImlibImage * im, GdkImlibColorModifier * mod); | |
44 | void gdk_imlib_get_image_red_modifier(GdkImlibImage * im, GdkImlibColorModifier * mod); | |
45 | void gdk_imlib_get_image_green_modifier(GdkImlibImage * im, GdkImlibColorModifier * mod); | |
46 | void gdk_imlib_get_image_blue_modifier(GdkImlibImage * im, GdkImlibColorModifier * mod); | |
47 | void gdk_imlib_set_image_red_curve(GdkImlibImage * im, unsigned char *mod); | |
48 | void gdk_imlib_set_image_green_curve(GdkImlibImage * im, unsigned char *mod); | |
49 | void gdk_imlib_set_image_blue_curve(GdkImlibImage * im, unsigned char *mod); | |
50 | void gdk_imlib_get_image_red_curve(GdkImlibImage * im, unsigned char *mod); | |
51 | void gdk_imlib_get_image_green_curve(GdkImlibImage * im, unsigned char *mod); | |
52 | void gdk_imlib_get_image_blue_curve(GdkImlibImage * im, unsigned char *mod); | |
53 | void gdk_imlib_apply_modifiers_to_rgb(GdkImlibImage * im); | |
54 | void gdk_imlib_changed_image(GdkImlibImage * im); | |
55 | void gdk_imlib_apply_image(GdkImlibImage * im, GdkWindow * p); | |
56 | void gdk_imlib_paste_image(GdkImlibImage * im, GdkWindow * p, gint x, gint y, gint w, gint h); | |
57 | void gdk_imlib_paste_image_border(GdkImlibImage * im, GdkWindow * p, gint x, gint y, gint w, gint h); | |
58 | void gdk_imlib_flip_image_horizontal(GdkImlibImage * im); | |
59 | void gdk_imlib_flip_image_vertical(GdkImlibImage * im); | |
60 | void gdk_imlib_rotate_image(GdkImlibImage * im, gint d); | |
61 | GdkImlibImage *gdk_imlib_create_image_from_data(unsigned char *data, unsigned char *alpha, gint w, gint h); | |
62 | GdkImlibImage *gdk_imlib_clone_image(GdkImlibImage * im); | |
63 | GdkImlibImage *gdk_imlib_clone_scaled_image(GdkImlibImage * im, int w, int h); | |
64 | gint gdk_imlib_get_fallback(void); | |
65 | void gdk_imlib_set_fallback(gint fallback); | |
66 | GdkVisual *gdk_imlib_get_visual(void); | |
67 | GdkColormap *gdk_imlib_get_colormap(void); | |
68 | gchar *gdk_imlib_get_sysconfig(void); | |
69 | GdkImlibImage *gdk_imlib_create_image_from_xpm_data(char **data); | |
70 | gint gdk_imlib_data_to_pixmap(char **data, GdkPixmap ** pmap, GdkBitmap ** mask); | |
71 | void gdk_imlib_crop_image(GdkImlibImage * im, gint x, gint y, gint w, gint h); | |
72 | gint gdk_imlib_save_image(GdkImlibImage * im, char *file, GdkImlibSaveInfo * info); | |
73 | ||
74 | #ifdef __cplusplus | |
75 | } | |
76 | #endif /* __cplusplus */ | |
77 | ||
78 | #endif |