draw

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2022 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Overview

Package draw is a small helper library to help render some demo-specific figures. The specific details aren't important in this package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Circle

func Circle(img draw.Image, v vector.V, r int, c color.Color)

func Line added in v0.3.0

func Line(img draw.Image, s segment.S, c color.Color)

func Trail

func Trail(img *image.Paletted, margin vector.V, trailbuf []vector.V, c color.Color)

Types

This section is empty.

Jump to

Keyboard shortcuts

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