drawers

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DrawerOptions

type DrawerOptions struct {
	LabelWidthMm  float64
	LabelHeightMm float64
	Dpmm          int
}

func (DrawerOptions) WithDefaults

func (d DrawerOptions) WithDefaults() DrawerOptions

type ElementDrawer

type ElementDrawer struct {
	Draw func(gCtx *gg.Context, element interface{}, options DrawerOptions) error
}

func NewBarcode128Drawer

func NewBarcode128Drawer() *ElementDrawer

func NewBarcodeAztecDrawer added in v1.1.0

func NewBarcodeAztecDrawer() *ElementDrawer

func NewBarcodePdf417Drawer

func NewBarcodePdf417Drawer() *ElementDrawer

func NewGraphicBoxDrawer

func NewGraphicBoxDrawer() *ElementDrawer

func NewGraphicCircleDrawer

func NewGraphicCircleDrawer() *ElementDrawer

func NewGraphicDiagonalLineDrawer added in v1.3.0

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