Documentation ¶
Overview ¶
Package braille composites bitmaps as braille.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bounds ¶
Bounds takes a rectangle describing cells on a display to the cells of a braille bitmap covering the cells of the display.
func BrailleAt ¶
func BrailleAt(src cops.BitmapReader, sp image.Point) string
BrailleAt returns the braille bitmap that coresponds to the 2x4 grid at the given point in a bitmap.
func Draw ¶
func Draw(dst *display.Display, r image.Rectangle, src image.Image, sp image.Point, on, off color.Color)
Draw composites a bitmap into the text and foreground layer of a display based on whether the colors of the source image more closely resemble the on or off colors of a bitmap palette.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.