draw

package
v0.0.0-...-8702b40 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package draw contains functions to draw mazes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToImage

func ToImage(m *grid.Maze) image.Image

ToImage draws m to a grayscale raster image.

func ToPNG

func ToPNG(m *grid.Maze, path string)

ToPNG draws m and saves it to a PNG file.

func ToSVG

func ToSVG(m *grid.Maze, w io.Writer)

ToSVG draws m as SVG.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL