bufs

package
v0.0.0-...-194f655 Latest Latest
Warning

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

Go to latest
Published: May 10, 2018 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Orig      *gdk.Pixbuf
	Transform *gdk.Pixbuf
	View      *gdk.Pixbuf
)
View Source
var (
	VectorCenterX, VectorCenterY         = 0, 0
	CurrViewX, CurrViewY         int     = 0, 0
	MaxViewScale                 float64 = 1.5
	MinViewScale                 float64 = 5

	MaxR           = 0.0
	MaxNewR        = 0.0
	MaxRadiusAngle = 0.0

	TW, TH int
	Graph  []float64

	// enough length to contain all radius coeffs
	RadiusGraph      [2000]float64
	CurrentViewScale float64 = 1.0 // scale coeff
)

Functions

func DoPixels

func DoPixels()

func GetOrig

func GetOrig()

func InitBuffers

func InitBuffers()

func Interpolate

func Interpolate(pixmap []byte, w int, h int)

func InterpolateMargins

func InterpolateMargins()

func SetTransformBufSize

func SetTransformBufSize(maxNewR float64)

func UpdateViewPixels

func UpdateViewPixels()

Types

This section is empty.

Jump to

Keyboard shortcuts

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