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
/
segment
/
segment.go
Search
History
473 lines
|
ISO-8859-1
|
13 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
Type
String
()
:
string
segmentTypeNames
segmentTypeUnknown
:
Type
Horizontal
Vertical
segmentTypeMax
Option
set
(*options)
options
cellOpts
:
[]cell.Option
skipSlopesLTE
:
int
reverseSlopes
:
bool
option
set
(opts *options)
CellOpts
(cOpts ...cell.Option)
:
Option
SkipSlopesLTE
(v int)
:
Option
ReverseSlopes
()
:
Option
validArea
(ar image.Rectangle)
:
error
HV
(bc *braille.Canvas, ar image.Rectangle, st Type, opts ...Option)
:
error
nextHVLineFn
nextHorizLine
(num int, ar image.Rectangle, opt *options)
:
(image.Point, image.Point)
nextVertLine
(num int, ar image.Rectangle, opt *options)
:
(image.Point, image.Point)
adjustHoriz
(start, end image.Point, segWidth int, adjust int)
:
(image.Point, image.Point)
adjustVert
(start, end image.Point, segHeight int, adjust int)
:
(image.Point, image.Point)
swapCoord
(p image.Point)
:
image.Point
DiagonalType
String
()
:
string
diagonalTypeNames
diagonalTypeUnknown
:
DiagonalType
LeftToRight
RightToLeft
diagonalTypeMax
nextDiagLineFn
DiagonalOption
set
(*diagonalOptions)
diagonalOptions
cellOpts
:
[]cell.Option
diagonalOption
set
(opts *diagonalOptions)
DiagonalCellOpts
(cOpts ...cell.Option)
:
DiagonalOption
Diagonal
(bc *braille.Canvas, ar image.Rectangle, width int, dt DiagonalType, opts ...DiagonalOption)
:
error
nextLRLine
(num int, start, end, prevStart, prevEnd image.Point)
:
(image.Point, image.Point)
nextRLLine
(num int, start, end, prevStart, prevEnd image.Point)
:
(image.Point, image.Point)
All occurrences
Please wait...
Page is in error, reload to recover