Open main menu

CDOT Wiki β

Changes

GPU610 Team Tsubame

No change in size, 13:23, 12 April 2017
Maze
The Maze program (by corzani@github) generates a maze image (of type PNG).
The following function creates the canvas of the Maze and initialize it by filling all the hexadecimal within each pixel. 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.
void MazePng::toPng(unsigned int scale) {
240
edits