Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2014
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. #include <ostream>
  2. #include <cstdint>
  3. #ifndef rgbapixel_h
  4. #define rgbapixel_h
  5. using std::uint8_t;
  6.  
  7. class RGBAPixel{
  8.  
  9. public:
  10.  
  11. RGBAPixel();
  12. RGBAPixel(uint8_t red, uint8_t green, uint8_t blue);
  13. uint8_t red;
  14. uint8_t blue;
  15. uint8_t green;
  16. uint8_t alpha;
  17.  
  18. };
  19.  
  20. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement