edwoodtest

package
v0.0.0-...-7126e5d Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2021 License: BSD-3-Clause, MIT Imports: 5 Imported by: 0

Documentation

Overview

Package edwoodtest contains utility functions that help with testing Edwood.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDisplay

func NewDisplay() draw.Display

NewDisplay returns a mock draw.Display.

func NewFont

func NewFont(width, height int) draw.Font

NewFont returns a draw.Font that mocks a fixed-width font.

func NewImage

func NewImage(r image.Rectangle) draw.Image

NewImage returns a mock draw.Image with the given bounds.

Types

This section is empty.

Jump to

Keyboard shortcuts

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