a29

package
v0.0.0-...-2330c69 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2019 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func M2P

func M2P(mm float32) int

Types

type Paper

type Paper struct {
	Img image.Image
	// contains filtered or unexported fields
}

Main Object.

func (*Paper) Add

func (paper *Paper) Add(img image.Image, width float32, height float32, noc int, name string) int

"Add Layers"

func (*Paper) New

func (paper *Paper) New(width int, height int)

Constructer.

func (*Paper) PrintInfo

func (paper *Paper) PrintInfo()

get Info

func (*Paper) Remove

func (paper *Paper) Remove(name string) bool

Remove ElementBy Name;

func (*Paper) Render

func (paper *Paper) Render(x float32, w float32, s float32, r bool) image.Image

"Render Func"

Jump to

Keyboard shortcuts

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