Type ImageViewGeometry

type ImageViewGeometry struct {
	Image ui.Rect
	Scale float32
}

Constructors

PaintImageView#

func PaintImageView(canvas *ui.Canvas, theme ui.Theme, bounds ui.Rect, options ImageViewOptions) ImageViewGeometry

PaintImageView paints an immutable bitmap clipped to bounds. File decoding, byte/pixel limits and document lifetime belong to the application.