drawers

package
v1.39.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2026 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DrawerState

type DrawerState struct {
	AutoPosX float64
	AutoPosY float64
}

func (*DrawerState) GetTextPosition

func (state *DrawerState) GetTextPosition(text *elements.TextField) (float64, float64)

func (*DrawerState) UpdateAutomaticTextPosition

func (state *DrawerState) UpdateAutomaticTextPosition(text *elements.TextField, w float64)

type ElementDrawer

type ElementDrawer struct {
	Draw func(gCtx *gg.Context, element any, options drawers.DrawerOptions, state *DrawerState) error
}

func NewBarcode2of5Drawer

func NewBarcode2of5Drawer() *ElementDrawer

func NewBarcode39Drawer

func NewBarcode39Drawer() *ElementDrawer

func NewBarcode128Drawer

func NewBarcode128Drawer() *ElementDrawer

func NewBarcodeAztecDrawer

func NewBarcodeAztecDrawer() *ElementDrawer

func NewBarcodeDatamatrixDrawer

func NewBarcodeDatamatrixDrawer() *ElementDrawer

func NewBarcodeEan8Drawer

func NewBarcodeEan8Drawer() *ElementDrawer

func NewBarcodeEan13Drawer

func NewBarcodeEan13Drawer() *ElementDrawer

func NewBarcodePdf417Drawer

func NewBarcodePdf417Drawer() *ElementDrawer

func NewBarcodeQrDrawer

func NewBarcodeQrDrawer() *ElementDrawer

func NewGraphicBoxDrawer

func NewGraphicBoxDrawer() *ElementDrawer

func NewGraphicCircleDrawer

func NewGraphicCircleDrawer() *ElementDrawer

func NewGraphicDiagonalLineDrawer

func NewGraphicDiagonalLineDrawer() *ElementDrawer

func NewGraphicFieldDrawer

func NewGraphicFieldDrawer() *ElementDrawer

func NewMaxicodeDrawer

func NewMaxicodeDrawer() *ElementDrawer

func NewTextFieldDrawer

func NewTextFieldDrawer() *ElementDrawer

Jump to

Keyboard shortcuts

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