rgb16

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2023 License: Unlicense Imports: 4 Imported by: 0

Documentation

Overview

package rgb16 contains an image.Image implementation of a 16-bit RGB image.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Image

type Image struct {
	Pix    []byte
	Stride int
	Rect   image.Rectangle
}

func New

func New(r image.Rectangle) *Image

func (*Image) At

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

func (*Image) Bounds

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

func (*Image) ColorModel

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

func (*Image) DrawOver

func (p *Image) DrawOver(dr image.Rectangle, src image.Image, sp image.Point)

func (*Image) PixOffset

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

func (*Image) RGBA64At

func (p *Image) RGBA64At(x, y int) color.RGBA64

func (*Image) Set

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

func (*Image) SetRGBA64

func (p *Image) SetRGBA64(x, y int, c color.RGBA64)

Jump to

Keyboard shortcuts

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