GRASS Programmer's Manual  6.4.2(2012)
Draw.c
Go to the documentation of this file.
00001 #include "driver.h"
00002 #include "driverlib.h"
00003 
00004 
00005 void DRV_draw_bitmap(int ncols, int nrows, int threshold,
00006                      const unsigned char *buf)
00007 {
00008     if (driver->draw_bitmap)
00009         (*driver->draw_bitmap) (ncols, nrows, threshold, buf);
00010 }
00011 
00012 void DRV_draw_line(int x0, int y0, int x1, int y1)
00013 {
00014     if (driver->draw_line)
00015         (*driver->draw_line) (x0, y0, x1, y1);
00016 }
00017 
00018 void DRV_draw_point(int x, int y)
00019 {
00020     if (driver->draw_point)
00021         (*driver->draw_point) (x, y);
00022 }
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines