qrender

package
v0.0.0-...-cd0ada5 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SaveImage

func SaveImage(img *image.RGBA, filename string) error

SaveImage saves an image to a file

Types

type Renderer

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

func NewDefaultQRenderer

func NewDefaultQRenderer() *Renderer

NewDefaultQRenderer creates a new QRenderer with default values

func (Renderer) RenderCircuit

func (qr Renderer) RenderCircuit(p *qprog.Program) *image.RGBA

RenderCircuit renders a circuit

Jump to

Keyboard shortcuts

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