crash.software
Projects
Pull Requests
Issues
Builds
termdash
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
termdash
Files
🤬
Sign In
9a82474a
ROOT
/
internal
/
segdisp
/
sixteen
/
sixteen.go
Search
History
490 lines
|
ISO-8859-1
|
12 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
Segment
String
()
:
string
segmentNames
segmentUnknown
:
Segment
A1
A2
B
C
D1
D2
E
F
G1
G2
H
J
K
L
M
N
segmentMax
characterSegments
SupportsChars
(s string)
:
(bool, []rune)
Sanitize
(s string)
:
string
AllSegments
()
:
[]Segment
Option
set
(*Display)
option
set
(d *Display)
CellOpts
(cOpts ...cell.Option)
:
Option
Display
segments
:
map[Segment]bool
cellOpts
:
[]cell.Option
New
(opts ...Option)
:
*Display
MinCols
MinRows
aspectRatio
Required
(cellArea image.Rectangle)
:
(image.Rectangle, error)
toBraille
(cvs *canvas.Canvas)
:
(*braille.Canvas, image.Rectangle, error)
*Display
Clear
(opts ...Option)
SetSegment
(s Segment)
:
error
ClearSegment
(s Segment)
:
error
ToggleSegment
(s Segment)
:
error
SetCharacter
(c rune)
:
error
Draw
(cvs *canvas.Canvas, opts ...Option)
:
error
All occurrences
Please wait...
Page is in error, reload to recover