font

package
v0.0.0-...-3511385 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CharInfo

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

type Face

type Face struct {
	Name      string
	Family    string
	Weight    string
	Slant     string
	PointSize int

	MaxWidth  int
	MaxHeight int
	Ascent    int
	Descent   int

	CharIndexes []charIndex
	// contains filtered or unexported fields
}

func LoadFont

func LoadFont(filename string) (*Face, error)

func (*Face) Close

func (f *Face) Close() error

func (*Face) Height

func (f *Face) Height() int

Jump to

Keyboard shortcuts

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