Linux makefiles
[canaan.git] / prj / tech / libsrc / dev2d / gdlin.h
blob2448ec3dd7a8f6b7c83d8caca348322722e1e519
1 /*
2 * $Source: s:/prj/tech/libsrc/dev2d/RCS/gdlin.h $
3 * $Revision: 1.1 $
4 * $Author: KEVIN $
5 * $Date: 1996/04/10 16:37:26 $
7 * Global stuff.
9 * This file is part of the dev2d library.
12 #ifndef __GDLIN_H
13 #define __GDLIN_H
15 #include <linftype.h>
16 #include <grd.h>
17 #include <icanvas.h>
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
23 #define gd_uhline \
24 ((gdulin_func *)(gdd_canvas_table[GDC_UHLINE]))
26 #define gd_uvline \
27 ((gdulin_func *)(gdd_canvas_table[GDC_UVLINE]))
29 #define gd_uhline_expose \
30 ((gdulin_expose_func *)(gdd_canvas_table[GDC_UHLINE_EXPOSE]))
32 #define gd_uvline_expose \
33 ((gdulin_expose_func *)(gdd_canvas_table[GDC_UVLINE_EXPOSE]))
35 extern int gd_hline(int x, int y, int x1);
36 extern int gd_hline_opt(int x, int y, int x1, gdulin_func *uhlin_func);
37 extern int gd_vline(int x, int y, int y1);
38 extern int gd_vline_opt(int x, int y, int y1, gdulin_func *uvlin_func);
40 #ifdef __cplusplus
42 #endif
43 #endif