softcanvas

package
v0.0.0-...-e17b121 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2018 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const Driver = canvas.Driver("software")

Variables

This section is empty.

Functions

This section is empty.

Types

type Precision

type Precision float32
const (
	X1  Precision = 1
	X2  Precision = 2
	X4  Precision = 4
	X8  Precision = 8
	X16 Precision = 16
)

func (Precision) OptionType

func (Precision) OptionType() canvas.OptionType

type Software

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

func NewSoftware

func NewSoftware(w, h int, options ...canvas.Option) *Software

func (*Software) Clear

func (s *Software) Clear(c color.RGBA)

Convenient Method

func (*Software) Close

func (s *Software) Close() error

Surface interface

func (*Software) Option

func (s *Software) Option(opt canvas.Option) canvas.Option

Surface interface

func (*Software) Query

func (s *Software) Query(query *canvas.Path, shader canvas.Shader, transform *canvas.Transform) error

Surface interface

func (*Software) Support

func (s *Software) Support(opt ...canvas.Option) bool

Surface interface

Jump to

Keyboard shortcuts

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