page_drawer

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PageDrawer

type PageDrawer struct {
	// contains filtered or unexported fields
}

func New

func New(title, path string, scale, commonIndex int) *PageDrawer

func (*PageDrawer) AddImage

func (d *PageDrawer) AddImage(img []byte) error

func (*PageDrawer) GetIndex

func (d *PageDrawer) GetIndex() int

func (*PageDrawer) Inherit

func (d *PageDrawer) Inherit(d2 *PageDrawer) *PageDrawer

func (*PageDrawer) IsEmpty

func (d *PageDrawer) IsEmpty() bool

func (*PageDrawer) IsFull

func (d *PageDrawer) IsFull() bool

func (*PageDrawer) Save

func (d *PageDrawer) Save() (string, int, int, error)

func (*PageDrawer) SetBacksideImageAndSave

func (d *PageDrawer) SetBacksideImageAndSave(img []byte) (string, error)

func (*PageDrawer) Size

func (d *PageDrawer) Size() int

Jump to

Keyboard shortcuts

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