displaytest

package
v3.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Drawer

type Drawer struct {
	Img *image.NRGBA
}

Drawer is a fake display.Drawer.

func (*Drawer) Bounds

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

Bounds implements image.Image.

func (*Drawer) ColorModel

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

ColorModel implements image.Image.

func (*Drawer) Draw

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

Draw implements draw.Image.

func (*Drawer) Halt

func (d *Drawer) Halt() error

Halt implements conn.Resource. It is a noop.

func (*Drawer) String

func (d *Drawer) String() string

Jump to

Keyboard shortcuts

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