imgutil

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2026 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Crop

func Crop(texture *gdk.Texture) *gdk.Texture

Types

type ImgUtil

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

func NewImgUtil

func NewImgUtil(appId string) *ImgUtil

func (*ImgUtil) Load

func (i *ImgUtil) Load(url string) (*gdk.Texture, error)

func (*ImgUtil) LoadCropped

func (i *ImgUtil) LoadCropped(url string) (*gdk.Texture, error)

func (*ImgUtil) LoadIntoImage

func (i *ImgUtil) LoadIntoImage(url string, image *gtk.Image)

func (*ImgUtil) LoadIntoImageCropped

func (i *ImgUtil) LoadIntoImageCropped(url string, image *gtk.Image)

Jump to

Keyboard shortcuts

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