|
libtcod
|
Bresenham line module. More...
#include "portability.h"Go to the source code of this file.
Classes | |
| struct | TCOD_bresenham_data_t |
| A struct used for computing a bresenham line. More... | |
Typedefs | |
| typedef bool(* | TCOD_line_listener_t) (int x, int y) |
| A callback to be passed to TCOD_line. | |
Functions | |
| void | TCOD_line_init (int xFrom, int yFrom, int xTo, int yTo) |
| bool | TCOD_line_step (int *xCur, int *yCur) |
| advance one step. | |
| bool | TCOD_line (int xFrom, int yFrom, int xTo, int yTo, TCOD_line_listener_t listener) |
| void | TCOD_line_init_mt (int xFrom, int yFrom, int xTo, int yTo, TCOD_bresenham_data_t *data) |
| bool | TCOD_line_step_mt (int *xCur, int *yCur, TCOD_bresenham_data_t *data) |
| bool | TCOD_line_mt (int xFrom, int yFrom, int xTo, int yTo, TCOD_line_listener_t listener, TCOD_bresenham_data_t *data) |
Bresenham line module.