fontman

package
v0.0.0-...-f35197a Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fontman

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

Fontman Font Manager

func NewFontman

func NewFontman(textman *textman.Textman) (*Fontman, error)

NewFontman Generate a new font manager

func (*Fontman) RenderChar

func (f *Fontman) RenderChar(char rune, x float32, y float32, scaling float32) error

RenderChar Render a character

func (*Fontman) RenderString

func (f *Fontman) RenderString(text string, x float32, y float32, scaling float32) error

RenderString ..

Jump to

Keyboard shortcuts

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