noximage

package
v0.0.0-...-63dc931 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Image16

type Image16 struct {
	Pix    []uint16
	Stride int
	Rect   image.Rectangle
}

func NewImage16

func NewImage16(r image.Rectangle) *Image16

func NewImage16WithData

func NewImage16WithData(data []uint16, sz image.Point) *Image16

func (*Image16) At

func (p *Image16) At(x, y int) color.Color

func (*Image16) Bounds

func (p *Image16) Bounds() image.Rectangle

func (*Image16) ColorModel

func (p *Image16) ColorModel() color.Model

func (*Image16) NRGBAAt

func (p *Image16) NRGBAAt(x, y int) color.NRGBA

func (*Image16) PixOffset

func (p *Image16) PixOffset(x, y int) int

func (*Image16) RGBA5551At

func (p *Image16) RGBA5551At(x, y int) noxcolor.RGBA5551

func (*Image16) RGBAAt

func (p *Image16) RGBAAt(x, y int) color.RGBA

func (*Image16) Row

func (p *Image16) Row(y int) []uint16

func (*Image16) Set

func (p *Image16) Set(x, y int, c color.Color)

func (*Image16) SetNRGBA

func (p *Image16) SetNRGBA(x, y int, c color.NRGBA)

func (*Image16) SetRGBA

func (p *Image16) SetRGBA(x, y int, c color.RGBA)

func (*Image16) SetRGBA5551

func (p *Image16) SetRGBA5551(x, y int, c noxcolor.RGBA5551)

func (*Image16) Size

func (p *Image16) Size() image.Point

func (*Image16) SubImage

func (p *Image16) SubImage(r image.Rectangle) *Image16

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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