Go to the source code of this file.
Enumerations | |
| enum | MetaGradientType { META_GRADIENT_VERTICAL, META_GRADIENT_HORIZONTAL, META_GRADIENT_DIAGONAL, META_GRADIENT_LAST } |
Functions | |
| GdkPixbuf * | meta_gradient_create_simple (int width, int height, const GdkColor *from, const GdkColor *to, MetaGradientType style) |
| GdkPixbuf * | meta_gradient_create_multi (int width, int height, const GdkColor *colors, int n_colors, MetaGradientType style) |
| GdkPixbuf * | meta_gradient_create_interwoven (int width, int height, const GdkColor colors1[2], int thickness1, const GdkColor colors2[2], int thickness2) |
| void | meta_gradient_add_alpha (GdkPixbuf *pixbuf, const guchar *alphas, int n_alphas, MetaGradientType type) |
| enum MetaGradientType |
| META_GRADIENT_VERTICAL | |
| META_GRADIENT_HORIZONTAL | |
| META_GRADIENT_DIAGONAL | |
| META_GRADIENT_LAST |
Definition at line 30 of file gradient.h.
| void meta_gradient_add_alpha | ( | GdkPixbuf * | pixbuf, | |
| const guchar * | alphas, | |||
| int | n_alphas, | |||
| MetaGradientType | type | |||
| ) |
Definition at line 815 of file gradient.c.
References meta_gradient_add_alpha_horizontal(), META_GRADIENT_DIAGONAL, META_GRADIENT_HORIZONTAL, META_GRADIENT_LAST, and META_GRADIENT_VERTICAL.
Referenced by apply_alpha(), draw_op_as_pixbuf(), and render_simple().
| GdkPixbuf* meta_gradient_create_interwoven | ( | int | width, | |
| int | height, | |||
| const GdkColor | colors1[2], | |||
| int | thickness1, | |||
| const GdkColor | colors2[2], | |||
| int | thickness2 | |||
| ) |
Definition at line 159 of file gradient.c.
References blank_pixbuf(), FALSE, and NULL.
Referenced by render_interwoven_func().
| GdkPixbuf* meta_gradient_create_multi | ( | int | width, | |
| int | height, | |||
| const GdkColor * | colors, | |||
| int | n_colors, | |||
| MetaGradientType | style | |||
| ) |
Definition at line 117 of file gradient.c.
References meta_gradient_create_multi_diagonal(), meta_gradient_create_multi_horizontal(), meta_gradient_create_multi_vertical(), meta_gradient_create_simple(), META_GRADIENT_DIAGONAL, META_GRADIENT_HORIZONTAL, META_GRADIENT_LAST, META_GRADIENT_VERTICAL, and NULL.
Referenced by meta_gradient_spec_render(), and render_multi().
| GdkPixbuf* meta_gradient_create_simple | ( | int | width, | |
| int | height, | |||
| const GdkColor * | from, | |||
| const GdkColor * | to, | |||
| MetaGradientType | style | |||
| ) |
Definition at line 91 of file gradient.c.
References meta_gradient_create_diagonal(), meta_gradient_create_horizontal(), meta_gradient_create_vertical(), META_GRADIENT_DIAGONAL, META_GRADIENT_HORIZONTAL, META_GRADIENT_LAST, META_GRADIENT_VERTICAL, and NULL.
Referenced by meta_gradient_create_multi(), and render_simple().
1.5.5