Documentation ¶
Overview ¶
Package testbraille provides helpers for tests that use the braille package.
Index ¶
- func MustApply(bc *braille.Canvas, t *faketerm.Terminal)
- func MustClearPixel(bc *braille.Canvas, p image.Point, opts ...cell.Option)
- func MustCopyTo(bc *braille.Canvas, dst *canvas.Canvas)
- func MustNew(area image.Rectangle) *braille.Canvas
- func MustSetAreaCellOpts(bc *braille.Canvas, cellArea image.Rectangle, opts ...cell.Option)
- func MustSetCellOpts(bc *braille.Canvas, cellPoint image.Point, opts ...cell.Option)
- func MustSetPixel(bc *braille.Canvas, p image.Point, opts ...cell.Option)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustClearPixel ¶
MustClearPixel clears the specified pixel or panics.
func MustCopyTo ¶
MustCopyTo copies the braille canvas onto the provided canvas or panics.
func MustSetAreaCellOpts ¶
MustSetAreaCellOpts sets the cell options in the area or panics.
func MustSetCellOpts ¶
MustSetCellOpts sets the cell options or panics.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.