metacity-grayscale.c File Reference

Go to the source code of this file.

Defines

#define INTENSITY(r, g, b)   ((r) * 0.30 + (g) * 0.59 + (b) * 0.11)

Functions

static GdkPixbuf * grayscale_pixbuf (GdkPixbuf *pixbuf)
int main (int argc, char **argv)


Define Documentation

#define INTENSITY ( r,
g,
 )     ((r) * 0.30 + (g) * 0.59 + (b) * 0.11)

Definition at line 27 of file metacity-grayscale.c.

Referenced by colorize_pixbuf(), and grayscale_pixbuf().


Function Documentation

static GdkPixbuf* grayscale_pixbuf ( GdkPixbuf *  pixbuf  )  [static]

Definition at line 30 of file metacity-grayscale.c.

References INTENSITY.

Referenced by main().

int main ( int  argc,
char **  argv 
)

Definition at line 72 of file metacity-grayscale.c.

References grayscale_pixbuf(), and NULL.


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