graphics

package
v0.0.0-...-309fd15 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Draw

func Draw(in chan Primitive, s *sdl.Surface, done chan struct{})

func Interpret

func Interpret(in chan iomanager.DrawSpec, out chan Primitive)

Types

type Circle

type Circle struct {
	// contains filtered or unexported fields
}

Circles are, you guessed it. Circles.

type Line

type Line struct {
	// contains filtered or unexported fields
}

Specifies a line to be drawn.

type Point

type Point struct {
	// contains filtered or unexported fields
}

A Point is as it sounds, a single point in space.

type Primitive

type Primitive interface {
	// contains filtered or unexported methods
}

A Primitive is a basic shape which can be drawn directly by the artist.

type Rectangle

type Rectangle struct {
	// contains filtered or unexported fields
}

A Rectangle is... a rectangle.

Jump to

Keyboard shortcuts

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