46
edits
Changes
→Maze
After the canvas is filled, the function calls the createImage function.
Finally, the function write the result from the createImage function in a png file using the "lpng" extension .The function returns void.
void MazePng::toPng(unsigned int scale) {
...