Created by Scott Robert Ladd at Coyote Gulch Productions.
Renders a maze object. More...
#include <maze_renderer.h>
Classes | |
class | image |
Static Public Member Functions | |
static void | render (const libcoyotl::maze &a_source, const std::string &a_filename, size_t a_grid_size) |
Renders a maze to a PNG file with a specific cell size. |
A maze_renderer creates an image of a maze as a black-and-white PNG (Portable Network Graphics) file. This class requires libpng and zlib.
|
static |
Renders a maze object to a PNG file, using a specified cell size.
a_source | - The maze to be rendered |
a_filename | - The name of the file to be created |
a_grid_size | - The dimension (in pixels) of a rendered cell (always square) |
© 1996-2005 Scott Robert Ladd. All rights reserved.
HTML documentation generated by Dimitri van Heesch's excellent Doxygen tool.