build

package
v0.0.0-...-b98da92 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TOP_MARGIN        = 14.0
	HORIZONTAL_MARGIN = 4.0
	COLUMN_PADDING    = 3.0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

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

func New

func New(headerText string, codeSize float64, headerSize float64, indexSize float64, columnCount int, paper string) *Builder

func (*Builder) AppendCode

func (builder *Builder) AppendCode(line []*lex.ColoredElement)

func (*Builder) AppendIndex

func (builder *Builder) AppendIndex()

func (*Builder) AppendLine

func (builder *Builder) AppendLine()

func (*Builder) AppendTitle

func (builder *Builder) AppendTitle(name string, lookup string)

func (*Builder) PageNo

func (builder *Builder) PageNo() int

func (*Builder) SaveAndClose

func (builder *Builder) SaveAndClose(path string)

Jump to

Keyboard shortcuts

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