Documentation ¶ Index ¶ Constants Variables type Canvas func NewCanvas() *Canvas func (self *Canvas) GetCells() map[image.Point]Cell func (self *Canvas) SetLine(p0, p1 image.Point, color Color) func (self *Canvas) SetPoint(p image.Point, color Color) type Cell type Color Constants ¶ View Source const BRAILLE_OFFSET = '\u2800' Variables ¶ View Source var BRAILLE = [4][2]rune{ {'\u0001', '\u0008'}, {'\u0002', '\u0010'}, {'\u0004', '\u0020'}, {'\u0040', '\u0080'}, } Functions ¶ This section is empty. Types ¶ type Canvas ¶ type Canvas struct { CellMap map[image.Point]Cell } func NewCanvas ¶ func NewCanvas() *Canvas func (*Canvas) GetCells ¶ func (self *Canvas) GetCells() map[image.Point]Cell func (*Canvas) SetLine ¶ func (self *Canvas) SetLine(p0, p1 image.Point, color Color) func (*Canvas) SetPoint ¶ func (self *Canvas) SetPoint(p image.Point, color Color) type Cell ¶ type Cell struct { Rune rune Color Color } type Color ¶ type Color int Source Files ¶ View all Source files drawille.go Click to show internal directories. Click to hide internal directories.