annotate src/lines.h @ 11:fe94d9e986ae
optimized 16bpp swap_buffers
author |
John Tsiombikas <nuclear@member.fsf.org> |
date |
Thu, 10 Apr 2014 08:42:33 +0300 |
parents |
|
children |
|
rev |
line source |
nuclear@9
|
1 #ifndef LINES_H_
|
nuclear@9
|
2 #define LINES_H_
|
nuclear@9
|
3
|
nuclear@9
|
4 #include "inttypes.h"
|
nuclear@9
|
5
|
nuclear@9
|
6 int clip_line2d(int *x0, int *y0, int *x1, int *y1, const int *vp);
|
nuclear@9
|
7 void draw_line(uint32_t *fb, int fbwidth, uint32_t col, int x0, int y0, int x1, int y1);
|
nuclear@9
|
8
|
nuclear@9
|
9 #endif /* LINES_H_ */
|