cws

package
v1.2.13 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT Imports: 16 Imported by: 0

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

type Format struct {
	*pflag.FlagSet
}

func NewFormatter

func NewFormatter(suffix string) (sf *Format)

func (*Format) Decode

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

func (*Format) Encode

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

type Print

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

func (*Print) Close

func (cws *Print) Close()

func (*Print) LayerImage

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