cws

package
v1.2.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2021 License: MIT Imports: 16 Imported by: 1

Documentation

Overview

Package cws handles input and output of NOVA32 CWS printables

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Format added in v1.0.0

type Format struct {
	*pflag.FlagSet
}

func NewFormatter added in v1.0.0

func NewFormatter(suffix string) (sf *Format)

func (*Format) Decode added in v1.0.0

func (sf *Format) Decode(reader uv3dp.Reader, filesize int64) (printable uv3dp.Printable, err error)

func (*Format) Encode added in v1.0.0

func (sf *Format) Encode(writer uv3dp.Writer, printable uv3dp.Printable) (err error)

type Print added in v1.0.0

type Print struct {
	uv3dp.Print
	// contains filtered or unexported fields
}

func (*Print) Close added in v1.0.0

func (cws *Print) Close()

func (*Print) LayerImage added in v1.0.0

func (cws *Print) LayerImage(index int) (imageGray *image.Gray)

type ReadSeekCloser

type ReadSeekCloser interface {
	io.Reader
	io.Seeker
	io.Closer
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL