1234567891011121314151617181920212223242526272829303132333435363738394041 |
- /****************************************************************************
- *
- * MODULE: r.digit
- *
- * AUTHOR(S): Michael Shapiro - CERL
- *
- * PURPOSE: Interactive tool used to draw and save vector features
- * on a graphics monitor using a pointing device (mouse)
- * and save to a raster map.
- *
- * COPYRIGHT: (C) 2006 by the GRASS Development Team
- *
- * This program is free software under the GNU General Public
- * License (>=v2). Read the file COPYING that comes with GRASS
- * for details.
- *
- ***************************************************************************/
- #include <grass/display.h>
- int move(int x, int y)
- {
- return 0;
- }
- int cont(int x, int y)
- {
- return 0;
- }
- int setup_graphics(void)
- {
- D_setup(0);
- G_setup_plot(D_get_d_north(), D_get_d_south(), D_get_d_west(),
- D_get_d_east(), move, cont);
- return 0;
- }
|