zoomable

package
v0.0.0-...-41cf20a Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type C

type C = layout.Context

type D

type D = layout.Dimensions

type View

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

View is a zoomable and draggable view of a widget.

func (*View) Layout

func (v *View) Layout(gtx C, w layout.Widget) D

Layout makes w zoomable and draggable.

type Zoomable

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

func (*Zoomable) Layout

func (z *Zoomable) Layout(gtx C, zoomed layout.Widget) D

Jump to

Keyboard shortcuts

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