package
Version:
v0.4.5
Opens a new window with list of versions in this module.
Published: Feb 6, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 22
Opens a new window with list of known importers.
Documentation
¶
Package funit contains types for representing font design units.
Int is an integer in font design units.
AsFloat returns x*scale as a float64.
Int16 is a 16-bit integer in font design units.
AsFloat returns x*scale as a float64.
type Rect struct {
LLx, LLy, URx, URy Int
}
Rect represents a rectangle in font design units.
Extend enlarges the rectangle to also cover `other`.
IsZero is true if the glyph leaves no marks on the page.
type Rect16 struct {
LLx, LLy, URx, URy Int16
}
Rect16 represents a rectangle in font design units.
Extend enlarges the rectangle to also cover `other`.
IsZero is true if the glyph leaves no marks on the page.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.