backend

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package backend provides Lua bindings for the boxes and glue backend.

This includes:

  • bag: ScaledPoint operations and logging
  • node: Node types and list operations
  • font: Font shaping

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(l *lua.State)

Open registers the backend modules for require() in the Lua state.

Types

type Atom

type Atom struct {
	Value font.Atom
}

Atom wraps the boxesandglue font.Atom type

type Font

type Font struct {
	Value *font.Font
}

Font wraps the boxesandglue font.Font type

type NodeDisc

type NodeDisc struct{ Value *node.Disc }

Node wrapper types

type NodeGlue

type NodeGlue struct{ Value *node.Glue }

Node wrapper types

type NodeGlyph

type NodeGlyph struct{ Value *node.Glyph }

Node wrapper types

type NodeHList

type NodeHList struct{ Value *node.HList }

Node wrapper types

type NodeImage

type NodeImage struct{ Value *node.Image }

Node wrapper types

type NodeKern

type NodeKern struct{ Value *node.Kern }

Node wrapper types

type NodeLang

type NodeLang struct{ Value *node.Lang }

Node wrapper types

type NodePenalty

type NodePenalty struct{ Value *node.Penalty }

Node wrapper types

type NodeRule

type NodeRule struct{ Value *node.Rule }

Node wrapper types

type NodeStartStop

type NodeStartStop struct{ Value *node.StartStop }

Node wrapper types

type NodeVList

type NodeVList struct{ Value *node.VList }

Node wrapper types

Jump to

Keyboard shortcuts

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