driver

package
v0.0.0-...-78ab658 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Buffer = 15 // buffer for cut cards
)
View Source
const (
	WidthRate = 0.05
)

Variables

This section is empty.

Functions

func DrawStringWithWrap

func DrawStringWithWrap(d *font.Drawer, s string, w int)

func NewA4Template

func NewA4Template() adapter.Template

func NewImageDriver

func NewImageDriver(s common.Size, f []byte) adapter.ImageDriver

func NewJISB5Template

func NewJISB5Template() adapter.Template

func SJIStoUTF8

func SJIStoUTF8(s string) (string, error)

Types

type Template

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

func (Template) Arrange

func (t Template) Arrange(imgs []domain.Image) ([]domain.Image, error)

Cardサイズが同じであること前提

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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