gradient.h File Reference

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)


Enumeration Type Documentation

Enumerator:
META_GRADIENT_VERTICAL 
META_GRADIENT_HORIZONTAL 
META_GRADIENT_DIAGONAL 
META_GRADIENT_LAST 

Definition at line 30 of file gradient.h.


Function Documentation

void meta_gradient_add_alpha ( GdkPixbuf *  pixbuf,
const guchar *  alphas,
int  n_alphas,
MetaGradientType  type 
)

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 
)

GdkPixbuf* meta_gradient_create_simple ( int  width,
int  height,
const GdkColor *  from,
const GdkColor *  to,
MetaGradientType  style 
)


Generated on Sat Aug 23 22:04:22 2008 for metacity by  doxygen 1.5.5