Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
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 InitBuffers ¶
func InitBuffers()
func Interpolate ¶
func InterpolateMargins ¶
func InterpolateMargins()
func SetTransformBufSize ¶
func SetTransformBufSize(maxNewR float64)
func UpdateViewPixels ¶
func UpdateViewPixels()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.