image

package
v0.0.0-...-5650bb0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2017 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Draw a RCT roller coaster in 2d.

Draw a RCT roller coaster from above.

Index

Constants

View Source
const IMG_HEIGHT = 400
View Source
const PIECE_WIDTH = 8

Variables

View Source
var BLUE = color.RGBA{0x00, 0x00, 0xff, 0xff}
View Source
var RED = color.RGBA{0xff, 0x00, 0x00, 0xff}

Functions

func Draw

func Draw(r *td6.Ride) image.Image

func DrawAbove

func DrawAbove(r *td6.Ride) image.Image

func SaveToPngFile

func SaveToPngFile(filePath string, m image.Image)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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