Documentation ¶
Index ¶
- Constants
- Variables
- func ChampLog(v ...interface{}) bool
- func DebugLineSlice(DebugMe []Line, PrintMe bool)
- func GenerateFilename(outDir, inputName string) (string, error)
- func ImageArray(im ImageInfo) [][][3]int32
- func LogImgInfo(imginf ImageInfo)
- func LogIntarrayInfo(arrptr *[][][3]int32)
- func TryLogOutputStr(path string)
- func WriteLineSliceEncoded(slicePtr *[]Line, fileName string) error
- func WriteLineSlicePlain(slicePtr *[]Line, fileName string) error
- type ImageInfo
- type Line
- type LineWriteType
Constants ¶
View Source
const ( HelpDebug = "enable logging (more info)" HelpFile = "[string] specify where to write log output" )
Variables ¶
View Source
var LoggingEnabled = false
Functions ¶
func DebugLineSlice ¶
func GenerateFilename ¶
func ImageArray ¶
func LogImgInfo ¶
func LogImgInfo(imginf ImageInfo)
func LogIntarrayInfo ¶
func LogIntarrayInfo(arrptr *[][][3]int32)
func TryLogOutputStr ¶
func TryLogOutputStr(path string)
func WriteLineSliceEncoded ¶
func WriteLineSlicePlain ¶
Types ¶
type ImageInfo ¶
type Line ¶
type Line struct { // HexColor is just an array with the RGB values. HexColor [3]int32 // Start and end are represented by x and y // Two coordinates for each. Four numbers in total. Start, End [2]int32 // StartInit and EndInit reflect if `Start` // and `End` have been properly initialized. // (We can't just compare each of them to 0,0) StartInit, EndInit bool }
func ImagePixLoop ¶
func (Line) LineToString ¶
type LineWriteType ¶
Click to show internal directories.
Click to hide internal directories.