bdf

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Glyph

type Glyph struct {
	Encoding int
	Width    int
	Height   int
	X        int
	Y        int
	Bitmap   [][]byte

	ShiftX int
	ShiftY int
}

func Parse

func Parse(f io.Reader) ([]*Glyph, error)

func (*Glyph) At

func (g *Glyph) At(x, y int) color.Color

func (*Glyph) Bounds

func (g *Glyph) Bounds() image.Rectangle

func (*Glyph) ColorModel

func (g *Glyph) ColorModel() color.Model

Jump to

Keyboard shortcuts

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