shareable

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Images

func Images() ([]image.Image, error)

func InitializeGLState

func InitializeGLState() error

func IsRestoringEnabled

func IsRestoringEnabled() bool

func ResolveStaleImages

func ResolveStaleImages() error

func Restore

func Restore() error

Types

type Image

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

func NewImage

func NewImage(width, height int) *Image

func NewScreenFramebufferImage

func NewScreenFramebufferImage(width, height int) *Image

func NewVolatileImage

func NewVolatileImage(width, height int) *Image

func (*Image) At

func (i *Image) At(x, y int) (color.Color, error)

func (*Image) Dispose

func (i *Image) Dispose()

func (*Image) DrawImage

func (i *Image) DrawImage(img *Image, sx0, sy0, sx1, sy1 int, geom *affine.GeoM, colorm *affine.ColorM, mode opengl.CompositeMode, filter graphics.Filter)

func (*Image) IsInvalidated

func (i *Image) IsInvalidated() (bool, error)

func (*Image) ReplacePixels

func (i *Image) ReplacePixels(p []byte)

func (*Image) Size

func (i *Image) Size() (width, height int)

Jump to

Keyboard shortcuts

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