Lab2
|
00001 #ifndef __VIDEO_GR_H 00002 #define __VIDEO_GR_H 00003 00021 void *vg_init(unsigned short mode); 00022 00029 int vg_fill(unsigned long color); 00030 00042 int vg_set_pixel(unsigned long x, unsigned long y, unsigned long color); 00043 00054 long vg_get_pixel(unsigned long x, unsigned long y); 00055 00056 00070 int vg_draw_line(unsigned long xi, unsigned long yi, 00071 unsigned long xf, unsigned long yf, unsigned long color); 00072 00078 int vg_exit(void); 00079 00082 #endif /* __VIDEO_GR_H */