ixlib

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Environment

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

func (*Environment) CreateHandler

func (env *Environment) CreateHandler(width, height int) backend.Handler

func (*Environment) Finish

func (env *Environment) Finish()

func (*Environment) NextEvent

func (env *Environment) NextEvent(ev *backend.Event)

NextEvent return the next event or nil

func (*Environment) Start

func (env *Environment) Start()

type FrameBuffer

type FrameBuffer struct {
	Pix    []uint8
	Rect   image.Rectangle
	Stride int
}

func NewFrameBuffer

func NewFrameBuffer(r image.Rectangle) *FrameBuffer

func (*FrameBuffer) At

func (fb *FrameBuffer) At(x, y int) color.Color

func (*FrameBuffer) Bounds

func (fb *FrameBuffer) Bounds() image.Rectangle

func (*FrameBuffer) ColorModel

func (fb *FrameBuffer) ColorModel() color.Model

func (*FrameBuffer) Set

func (fb *FrameBuffer) Set(x, y int, c color.Color)

func (*FrameBuffer) SetRGBA

func (fb *FrameBuffer) SetRGBA(x, y int, c color.RGBA)

type Handler

type Handler struct {
	backend.BaseHandler
	// contains filtered or unexported fields
}

func (*Handler) Deploy

func (h *Handler) Deploy(im *image.RGBA, area image.Rectangle)

func (*Handler) Deployer

func (h *Handler) Deployer() backend.Deployer

func (*Handler) Destroy

func (h *Handler) Destroy()

func (*Handler) SetVisibility

func (h *Handler) SetVisibility(visibility bool)

Jump to

Keyboard shortcuts

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