render

package
v0.0.0-...-987958a Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Red   = image.NewUniform(color.RGBA{0, 255, 0, 128})
	Green = image.NewUniform(color.RGBA{0, 255, 0, 128})
	Blue  = image.NewUniform(color.RGBA{0, 0, 255, 128})
)

Functions

This section is empty.

Types

type Render

type Render struct {
	// contains filtered or unexported fields
}

func NewRender

func NewRender(ctx context.Context, w, h int, conn connector.Connector) *Render

func (*Render) Close

func (rd *Render) Close()

func (*Render) MakeBaseLines

func (rd *Render) MakeBaseLines(dc *gg.Context, min, max float32)

func (*Render) MakeBoarder

func (rd *Render) MakeBoarder(dc *gg.Context)

func (*Render) MakeInfoBar

func (rd *Render) MakeInfoBar(dc *gg.Context)

func (*Render) MakeStatusBar

func (rd *Render) MakeStatusBar(dc *gg.Context, min, max float32)

func (*Render) Pause

func (rd *Render) Pause()

func (*Render) ResizeWindow

func (rd *Render) ResizeWindow(w, h int)

func (*Render) Start

func (rd *Render) Start()

func (*Render) ZoomIn

func (rd *Render) ZoomIn()

func (*Render) ZoomOut

func (rd *Render) ZoomOut()

Jump to

Keyboard shortcuts

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