leptonica

package
v0.0.0-...-f6a09fe Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	L_NOCOPY     = C.L_NOCOPY
	L_INSERT     = C.L_INSERT
	L_COPY       = C.L_COPY
	L_CLONE      = C.L_CLONE
	L_COPY_CLONE = C.L_COPY_CLONE
)

Variables

This section is empty.

Functions

func LeptVersion

func LeptVersion() string

Types

type Box

type Box struct {
	X        int32
	Y        int32
	W        int32
	H        int32
	Refcount uint32
}

func (*Box) Destroy

func (box *Box) Destroy()

type Boxa

type Boxa struct {
	N        int32
	Nalloc   int32
	Refcount uint32
	Box      **Box
}

func (*Boxa) Destroy

func (boxa *Boxa) Destroy()

func (*Boxa) GetBox

func (boxa *Boxa) GetBox(index, accessflag int32) *Box

type Pix

type Pix C.struct_Pix

func PixRead

func PixRead(filename string) (*Pix, error)

func PixReadMem

func PixReadMem(data []byte) (*Pix, error)

func (*Pix) Destroy

func (pix *Pix) Destroy()

Jump to

Keyboard shortcuts

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