frameimage

package
v0.0.0-...-79c3416 Latest Latest
Warning

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

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

Documentation

Overview

Package frameimage centers a png image and rotates it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Draw

func Draw(gc draw2d.GraphicContext, png string,
	dw, dh, margin, lineWidth float64) error

Draw the image frame with certain parameters.

func Main

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

Main draws the image frame and returns the filename. This should only be used during testing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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