paint

package
v0.0.0-...-967bb3a Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ColorOp

type ColorOp struct {
	Color color.NRGBA
}

func (ColorOp) Add

func (x ColorOp) Add(b *flatbuffers.Builder, o *op.Ops)

func (ColorOp) Create

func (x ColorOp) Create(b *flatbuffers.Builder) op.Op

type Image

type Image struct {
	resource.Resource
	// contains filtered or unexported fields
}

func NewImageDecode

func NewImageDecode(c *resource.Context, id string, src []byte) *Image

func NewImageNRGBA

func NewImageNRGBA(c *resource.Context, id string, src *image.NRGBA) *Image

type ImageOp

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

func NewImageOp

func NewImageOp(src *Image) ImageOp

func (ImageOp) Add

func (x ImageOp) Add(b *flatbuffers.Builder, o *op.Ops)

func (ImageOp) Create

func (x ImageOp) Create(b *flatbuffers.Builder) op.Op

type PaintOp

type PaintOp struct {
}

func (PaintOp) Add

func (x PaintOp) Add(b *flatbuffers.Builder, o *op.Ops)

func (PaintOp) Create

func (x PaintOp) Create(b *flatbuffers.Builder) op.Op

Jump to

Keyboard shortcuts

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