render

package
Version: v0.0.0-...-fa121f2 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Save

func Save(m image.Image, fn string) (err error)

Types

type Canvas

type Canvas interface {
	image.Image
	Set(x, y int, c color.Color)
}

Canvas is image that can be written to

func Line

func Line(m Canvas, x0, y0, x1, y1 int, c color.Color) Canvas

Source Files

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL