Fyne API "canvas.ImageScale"
canvas.ImageScale
import "fyne.io/fyne/v2/canvas"
Usage
type ImageScale
type ImageScale int32
ImageScale defines the different scaling filters used to scaling images
const (
// ImageScaleSmooth will scale the image using ApproxBiLinear filter (or GL equivalent)
ImageScaleSmooth ImageScale = iota
// ImageScalePixels will scale the image using NearestNeighbor filter (or GL equivalent)
ImageScalePixels
// ImageScaleFastest will scale the image using hardware GPU if available
//
// Since: 2.0
ImageScaleFastest
)