avyos.dev/pkg/graphics/icons
package icons
Overview
No package-level documentation is provided.
| Export Group | Count |
|---|---|
| Constants | 0 |
| Variables | 0 |
| Functions | 4 |
| Types | 0 |
Functions
Load
func Load(name string, size int) (*core.Buffer, error)Load loads an icon by name and size as a Buffer.
LoadIcon
func LoadIcon(name string, size int) (*core.Buffer, error)LoadIcon loads an icon by name and size as a Buffer.
ResolveIconPath
func ResolveIconPath(name string, size int) stringResolveIconPath returns the best icon file path for name+size.
ResolvePath
func ResolvePath(name string, size int) stringResolvePath returns the best icon file path for name+size. Falls back to help.{svg,png} if the requested icon is missing.