#ifndef PNG_HPP #define PNG_HPP #include "../Canvas.hpp" class PNG : public Canvas { unsigned int width; unsigned int height; unsigned int num_colors; unsigned int * int_array; public: double v; PNG (unsigned int width, unsigned int height, unsigned int num_colors = 1); virtual void clear(); virtual void plot (const double * normalizedPosition); virtual void output_file (const char * filename) const; }; #endif // PNG_HPP