21
* Set the Red channel of the pixel.
23
* @param value Should be between 0->255
25
void setRed(Pixel& p, int value);
27
* Set the Green channel of the pixel.
29
* @param value Should be between 0->255
31
void setGreen(Pixel& p, int value);
33
* Set the Blue channel of the pixel.
35
* @param value Should be between 0->255
37
void setBlue(Pixel& p, int value);
40
* Get the Red value of the given pixel
44
* Get the Green value of the given pixel
46
int getGreen(Pixel& p);
48
* Get the Blue value of the given pixel
50
int getBlue(Pixel& p);