GRASS Programmer's Manual  6.4.2(2012)
pngdriver/Draw_point.c
Go to the documentation of this file.
00001 #include "pngdriver.h"
00002 
00003 void PNG_draw_point(int x, int y)
00004 {
00005     if (x < clip_left || x >= clip_rite || y < clip_top || y >= clip_bot)
00006         return;
00007 
00008     grid[y * width + x] = currentColor;
00009 
00010     modified = 1;
00011 }
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines