producers

package
v0.0.0-...-85d8051 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageProducer

type ImageProducer struct {
	Filepath         string
	OffsetX, OffsetY int
}

func (*ImageProducer) Produce

func (i *ImageProducer) Produce(commands chan<- client.WriteCommand)

type PrerenderedImageProducer

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

func NewPrerenderedImageProducer

func NewPrerenderedImageProducer(filepath string) (*PrerenderedImageProducer, error)

func (*PrerenderedImageProducer) Produce

func (p *PrerenderedImageProducer) Produce(commands chan<- client.WriteCommand)

type Producer

type Producer interface {
	Produce(chan<- client.WriteCommand)
}

type RectangleProducer

type RectangleProducer struct {
	OffsetX, OffsetY, SizeX, SizeY int
	// contains filtered or unexported fields
}

func (*RectangleProducer) Produce

func (rp *RectangleProducer) Produce(commandChannel chan<- client.WriteCommand)

Jump to

Keyboard shortcuts

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