Did I find the right examples for you? yes no

All Samples(5)  |  Call(0)  |  Derive(0)  |  Import(5)

src/m/a/maze-experiments-HEAD/pylib-mazer/scripts/render_all_the_3x3s.py   maze-experiments(Download)
import cairo, mazer
from mazer import (N, E, S, W, LEFT, AHEAD, RIGHT)
 
PAGE_SIZE = 6 * 72
FILL_COLOUR = (.86, .2, .2)

src/m/a/maze-experiments-HEAD/maze-flood-fill/make_png_maze.py   maze-experiments(Download)
import optparse
 
import mazer
 
parser = optparse.OptionParser()

src/m/a/maze-experiments-HEAD/maze-flood-fill/make_1bit_maze.py   maze-experiments(Download)
 
import cairo
import mazer
 
parser = optparse.OptionParser()

src/m/a/maze-experiments-HEAD/pylib-mazer/scripts/render_TEST_2.py   maze-experiments(Download)
import cairo, mazer
surface = cairo.PDFSurface("/tmp/weave-4.pdf", 3 * 72, 3 * 72)
c = cairo.Context(surface)
renderer = mazer.render.CairoRenderer(c, width=3 * 72, height=3 * 72)
m = mazer.Maze(4, 4)

src/m/a/maze-experiments-HEAD/pylib-mazer/scripts/render_TEST.py   maze-experiments(Download)
import cairo, mazer
surface = cairo.PDFSurface("/tmp/weave.pdf", 3 * 72, 3 * 72)
c = cairo.Context(surface)
renderer = mazer.render.CairoRenderer(c, width=3 * 72, height=3 * 72)
m = mazer.Maze(3, 3)