periph: periph.io/x/periph/conn/display/displaytest Index | Files

package displaytest

import "periph.io/x/periph/conn/display/displaytest"

Package displaytest contains non-hardware devices implementations for testing or emulation purpose.

Index

Package Files

displaytest.go doc.go

type Drawer Uses

type Drawer struct {
    Img *image.NRGBA
}

Drawer is a fake display.Drawer.

func (*Drawer) Bounds Uses

func (d *Drawer) Bounds() image.Rectangle

Bounds implements image.Image.

func (*Drawer) ColorModel Uses

func (d *Drawer) ColorModel() color.Model

ColorModel implements image.Image.

func (*Drawer) Draw Uses

func (d *Drawer) Draw(dstRect image.Rectangle, src image.Image, sp image.Point) error

Draw implements draw.Image.

func (*Drawer) Halt Uses

func (d *Drawer) Halt() error

Halt implements conn.Resource. It is a noop.

func (*Drawer) String Uses

func (d *Drawer) String() string

Package displaytest imports 4 packages (graph). Updated 2018-06-26. Refresh now. Tools for package owners.