Documentation ¶
Index ¶
- Constants
- func Clear(data []byte, width, height int, red, green, blue, alpha byte)
- func DrawOver(dst draw.Image, src image.Image, x, y, width, height int)
- func DrawSrc(dst draw.Image, src image.Image, x, y, width, height int)
- func GetPixel(data []byte, x, y, width int) (red, green, blue, alpha byte)
- func GetPixelOffset(x, y, width int) int
- func Rect(data []byte, x1, y1, x2, y2, width int, red, green, blue, alpha byte)
- func RectFilled(data []byte, x1, y1, x2, y2, width int, red, green, blue, alpha byte)
- func SetPixel(data []byte, x, y, width int, red, green, blue, alpha byte)
Constants ¶
View Source
const ( I_A = 3 I_R = 2 I_G = 1 I_B = 0 )
View Source
const ( A_OPAQUE = 255 A_TRANSP = 0 )
Variables ¶
This section is empty.
Functions ¶
func GetPixelOffset ¶
func RectFilled ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.