My Project
Pixel.h
1 #ifndef PIXEL_H
2 #define PIXEL_H
3 
4 
5 #include <iostream>
6 using namespace std;
7 
14 struct Pixel{
15 
16 
17 
18 
19 
20  unsigned char r, g, b;
21 
27  Pixel ();
28 
40  Pixel(unsigned char nr, unsigned char ng, unsigned char nb);
41 };
42 
43 
44 #endif
Structure Pixel, illustrant un pixel d'image, avec 3 composantes rouge (r),verte (g),...
Definition: Pixel.h:14