Documentation
¶
Index ¶
Constants ¶
View Source
const ( DataWidth8 dataWidth = 1 << iota DataWidth16 DataWidth32 DataWidth64 )
Data width in bits to bytes
View Source
const CellHeight = 8
View Source
const CellWidth = 6
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config interface {
GetDataWidthInBytesAsInt() int
GetDataWidthInBytes() dataWidth
GetColorSimilarityThreshold() int
GetFlushAfterEveryWrite() bool
GetFlushAfterEveryCellWrite() bool
GetImageWidth() int
GetImageHeight() int
GetWidthInCells() int
GetHeightInCells() int
SetDataWidthInBytes(dataWidth)
SetColorSimilarityThreshold(int)
SetFlushAfterEveryWrite(bool)
SetFlushAfterEveryCellWrite(bool)
}
func NewDefaultConfig ¶ added in v0.0.3
func NewDefaultConfig() Config
Click to show internal directories.
Click to hide internal directories.