pixel

package
v1.2.11-rc4 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2017 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pixel

type Pixel struct {
	R uint32
	G uint32
	B uint32
	A uint32
}

func NewPixel

func NewPixel(r, g, b, a uint32) *Pixel

type PixelImage

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

func NewPixelImage

func NewPixelImage(bounds image.Rectangle) *PixelImage

func (*PixelImage) GetImage

func (pi *PixelImage) GetImage() *image.Image

func (*PixelImage) Set

func (pi *PixelImage) Set(x, y int, pix *Pixel)

Jump to

Keyboard shortcuts

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