Versions in this module Expand all Collapse all v0 v0.5.0 Sep 22, 2026 Changes in this version + type Frame struct + At time.Time + Cost time.Duration + DPR float64 + H int + Latency time.Duration + Painted bool + W int + type Option func(*config) + func DamageBudget(f float32) Option + func Font(regular, bold, italic []byte) Option + func ScaleMode(m canvas.ImageScale) Option + type Ref struct + Key string + Layer int + Row int + View int + func (r Ref) Named() bool + func (r Ref) Same(o Ref) bool + type Selection []Ref + func (s Selection) Add(r Ref) Selection + func (s Selection) Clone() Selection + func (s Selection) Contains(r Ref) bool + func (s Selection) Equal(o Selection) bool + func (s Selection) IndexOf(r Ref) int + func (s Selection) Remove(r Ref) Selection + func (s Selection) Toggle(r Ref) Selection + type Target struct + func New(opts ...Option) *Target + func (t *Target) Close() error + func (t *Target) Frames() uint64 + func (t *Target) Image() image.Image + func (t *Target) Input() + func (t *Target) Object() fyne.CanvasObject + func (t *Target) OnFrame(fn func(Frame)) + func (t *Target) OnGeometry(fn func(widthPx, heightPx int)) + func (t *Target) Open(s ir.Surface) (ir.Backend, error) + func (t *Target) Present() + func (t *Target) Render(fn func() error) error + func (t *Target) SetFont(regular, bold, italic []byte) error + func (t *Target) Size() (w, h int, dpr float64)