config

package
v0.0.0-...-37f3e00 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2016 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Stretch = AspectConservation(iota)
	Shrink
	Grow
)
View Source
const (
	AutoDetectRenderMode = RenderMode(iota)
	RegionRenderMode
	SequenceRenderMode
)
View Source
const (
	// Functions should auto-detect the correct system for rendering
	AutoDetectNumericsMode = NumericsMode(iota)
	// Use the native CPU arithmetic operations
	NativeNumericsMode
	// Use arithmetic based around the standard library big.Float type
	BigFloatNumericsMode
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AspectConservation

type AspectConservation uint8

type NumericsMode

type NumericsMode uint

Available numeric systems

type RenderMode

type RenderMode uint

Available render algorithms

type Request

type Request struct {
	IterateLimit uint8
	DivergeLimit float64
	RealMin      string
	RealMax      string
	ImagMin      string
	ImagMax      string
	ImageWidth   uint
	ImageHeight  uint
	PaletteCode  string
	FixAspect    AspectConservation
	// Render algorithm
	Renderer RenderMode
	// Number of render threads
	Jobs           uint16
	RegionCollapse uint
	// Numerical system
	Numerics NumericsMode
	// Number of samples taken when detecting region render glitches
	RegionSamples uint
	// Number of bits for big.Float rendering
	Precision uint
}

Request is a user description of the render to be accomplished

type ZoomBounds

type ZoomBounds struct {
	Xmin uint
	Xmax uint
	Ymin uint
	Ymax uint
}

func (*ZoomBounds) Validate

func (zb *ZoomBounds) Validate() error

type ZoomTarget

type ZoomTarget struct {
	ZoomBounds
	// Reconsider numerical system and render modes as appropriate.
	Reconfigure bool
	// Increase precision.  With Reconfigure, this should automatically engage arbitrary
	// precision mode.
	UpPrec bool
	// Number of frames for zoom
	Frames uint
}

Jump to

Keyboard shortcuts

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