gioui.org: gioui.org/internal/opconst Index | Files

package opconst

import "gioui.org/internal/opconst"

Index

Package Files

ops.go

Constants

const (
    TypeMacroDefLen     = 1 + 4 + 4
    TypeMacroLen        = 1 + 4 + 4 + 4
    TypeTransformLen    = 1 + 4*2
    TypeLayerLen        = 1
    TypeRedrawLen       = 1 + 8
    TypeImageLen        = 1
    TypePaintLen        = 1 + 4*4
    TypeColorLen        = 1 + 4
    TypeAreaLen         = 1 + 1 + 4*4
    TypePointerInputLen = 1 + 1
    TypePassLen         = 1 + 1
    TypeKeyInputLen     = 1 + 1
    TypeHideInputLen    = 1
    TypePushLen         = 1
    TypePopLen          = 1
    TypeAuxLen          = 1
    TypeClipLen         = 1 + 4*4
    TypeProfileLen      = 1
)

type OpType Uses

type OpType byte
const (
    TypeMacroDef OpType = iota + firstOpIndex
    TypeMacro
    TypeTransform
    TypeLayer
    TypeInvalidate
    TypeImage
    TypePaint
    TypeColor
    TypeArea
    TypePointerInput
    TypePass
    TypeKeyInput
    TypeHideInput
    TypePush
    TypePop
    TypeAux
    TypeClip
    TypeProfile
)

func (OpType) NumRefs Uses

func (t OpType) NumRefs() int

func (OpType) Size Uses

func (t OpType) Size() int

Package opconst is imported by 11 packages. Updated 2019-11-17. Refresh now. Tools for package owners.