controller

package
v0.0.0-...-4383a04 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2017 License: MIT Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compare

func Compare(env environment.Environment, macroId int64) error

func CoverAspect

func CoverAspect(env environment.Environment, coverWidth, coverHeight, partialWidth, partialHeight, size int) *model.Cover

func CoverDraw

func CoverDraw(env environment.Environment, coverId int64, outPath string) error

func CoverList

func CoverList(env environment.Environment)

func CoverRm

func CoverRm(env environment.Environment, names []string)

func Index

func Index(env environment.Environment, paths []string) error

func IndexClean

func IndexClean(env environment.Environment) (int, error)

func IndexList

func IndexList(env environment.Environment) error

func IndexRm

func IndexRm(env environment.Environment, paths []string) error

func Macro

func Macro(env environment.Environment, path string, coverId int64, outfile string) *model.Macro

func MacroAspect

func MacroAspect(env environment.Environment, path string, coverWidth, coverHeight, partialWidth, partialHeight, size int, coverOutfile, macroOutfile string) (*model.Cover, *model.Macro)

func MacroList

func MacroList(env environment.Environment)

func MacroQuad

func MacroQuad(env environment.Environment,
	path string,
	coverWidth, coverHeight, size, minDepth, maxDepth, minArea, maxArea int,
	coverOutfile, macroOutfile string) (*model.Cover, *model.Macro)

func MosaicAspect

func MosaicAspect(env environment.Environment,
	inPath, name, fillType string,
	coverWidth, coverHeight, partialWidth, partialHeight, size, maxRepeats int,
	threashold float64,
	coverOutfile, macroOutfile, mosaicOutfile string,
	cleanup, destructive bool) *model.Mosaic

func MosaicBuild

func MosaicBuild(env environment.Environment, fillType string, macroId int64, maxRepeats int, destructive bool) *model.Mosaic

func MosaicDraw

func MosaicDraw(env environment.Environment, mosaicId int64, outfile string) error

func MosaicList

func MosaicList(env environment.Environment)

func MosaicQuad

func MosaicQuad(env environment.Environment,
	inPath, name, fillType string,
	coverWidth, coverHeight, size, minDepth, maxDepth, minArea, maxArea, maxRepeats int,
	threashold float64,
	coverOutfile, macroOutfile, mosaicOutfile string,
	cleanup, destructive bool) *model.Mosaic

func PartialAspect

func PartialAspect(env environment.Environment, macroId int64, threashold float64) error

func Status

func Status(env environment.Environment)

Types

This section is empty.

Jump to

Keyboard shortcuts

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