internal

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PxRGBAfunc

func PxRGBAfunc(img image.Image) func(x, y int) (r, g, b, a uint32)

PxRGBAfunc returns function to get RGBA color values at (x, y) coordinates of image img. Returned function works the same as img.At(x, y).RGBA() but implements special cases for certain image types to use type-specific methods bypassing color.Color interface which escapes to the heap.

Types

This section is empty.

Jump to

Keyboard shortcuts

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