Documentation ¶
Index ¶
- func Bresenham(img draw.Image, x1, y1, x2, y2 int, col color.Color)
- func BresenhamDxXRYD(img draw.Image, x1, y1, x2, y2 int, col color.Color)
- func BresenhamDxXRYU(img draw.Image, x1, y1, x2, y2 int, col color.Color)
- func BresenhamDyXRYD(img draw.Image, x1, y1, x2, y2 int, col color.Color)
- func BresenhamDyXRYU(img draw.Image, x1, y1, x2, y2 int, col color.Color)
- func Bresenham_1(img draw.Image, x1, y1, x2, y2 int, col color.Color)
- func Bresenham_2(img draw.Image, x1, y1, x2, y2 int, col color.Color)
- func Bresenham_3(img draw.Image, x1, y1, x2, y2 int, col color.Color)
- func Bresenham_4(img draw.Image, x1, y1, x2, y2 int, col color.Color)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BresenhamDxXRYD ¶
dx > dy; x1 < x2; y1 < y2
func BresenhamDxXRYU ¶
dx > dy; x1 < x2; y1 > y2
func BresenhamDyXRYD ¶
dy > dx; x1 < x2; y1 < y2
func Bresenham_1 ¶
Floating point
func Bresenham_2 ¶
Floating point with error accumulator
func Bresenham_3 ¶
Integer float -> float * dx -> integer
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.