Back to godoc.org
gioui.org/internal/ops

package ops

v0.0.0 (278e9bc)
Latest Go to latest
Published: today | Licenses: MIT, Unlicense | Module: gioui.org

Index

func DecodeTransformOp

func DecodeTransformOp(d []byte) op.TransformOp

type EncodedOp

type EncodedOp struct {
	Key  Key
	Data []byte
	Refs []interface{}
}

EncodedOp represents an encoded op returned by Reader.

type Key

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

Key is a unique key for a given op.

type Reader

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

Reader parses an ops list.

func (*Reader) Decode

func (r *Reader) Decode() (EncodedOp, bool)

func (*Reader) Reset

func (r *Reader) Reset(ops *op.Ops)

Reset start reading from the op list.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier