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