fontface

package
v0.0.0-...-95f6e61 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2019 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TChar

type TChar struct {
	Rect    image.Rectangle
	Center  image.Point
	Offset  image.Point
	Advance image.Point
}

TChar -

type TFontFace

type TFontFace struct {
	// texture    uint32
	// listbase   uint32
	// maxW, maxH int
	Tex     *image.Gray
	CharMap map[rune]*TChar
	Fixed   bool
}

TFontFace -

func NewFromReader

func NewFromReader(r io.Reader, size int32, lrune, hrune rune) (*TFontFace, error)

NewFromReader -

Jump to

Keyboard shortcuts

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