struct canvas int int int int struct sprite *sprite struct canvas struct color * pcolor
struct color * color_alloc(int r, int g, int b)
void color_free(struct color *color)
int color_brightness_score(struct color *pcolor)
void rgbcolor_destroy(struct rgbcolor *prgbcolor)
struct rgbcolor * rgbcolor_new(int r, int g, int b)
int rgbcolor_brightness_score(struct rgbcolor *prgbcolor)