frameimage

package
v0.0.0-...-994e11c Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2015 License: BSD-2-Clause Imports: 3 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