Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <ostream>
- #include <cstdint>
- #ifndef rgbapixel_h
- #define rgbapixel_h
- using std::uint8_t;
- class RGBAPixel{
- public:
- RGBAPixel();
- RGBAPixel(uint8_t red, uint8_t green, uint8_t blue);
- uint8_t red;
- uint8_t blue;
- uint8_t green;
- uint8_t alpha;
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement