gopher2

package
Version: v0.0.0-...-64dc974 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2015 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package gopher2 draws a gopher avatar based on a svg of: https://github.com/golang-samples/gopher-vector/

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Draw

func Draw(gc draw2d.GraphicContext, x, y, w, h float64)

Draw a gopher head (not rotated)

func Main

func Main(gc draw2d.GraphicContext, ext string) (string, error)

Main draws a rotated face of the gopher. Afterwards it returns the filename. This should only be used during testing.

Types

This section is empty.

Source Files

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