GRASS Programmer's Manual
6.5.svn(2014)-r66266
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
pngdriver/Draw_point.c
Go to the documentation of this file.
1
#include "
pngdriver.h
"
2
3
void
PNG_draw_point
(
int
x
,
int
y
)
4
{
5
if
(x < clip_left || x >=
clip_rite
|| y < clip_top || y >=
clip_bot
)
6
return
;
7
8
grid
[y *
width
+
x
] =
currentColor
;
9
10
modified
= 1;
11
}
pngdriver.h
currentColor
int currentColor
Definition:
pngdriver/Graph_set.c:27
modified
int modified
Definition:
cairodriver/Graph.c:51
dialogs.width
tuple width
Definition:
psmap/dialogs.py:2959
clip_rite
int clip_rite
Definition:
pngdriver/Graph_set.c:33
grid
unsigned char * grid
Definition:
cairodriver/Graph.c:50
y
int y
Definition:
plot.c:34
clip_bot
int clip_bot
Definition:
pngdriver/Graph_set.c:33
vector::x
double x
Definition:
cnversions.c:36
PNG_draw_point
void PNG_draw_point(int x, int y)
Definition:
pngdriver/Draw_point.c:3
lib
pngdriver
Draw_point.c
Generated on Sat Jan 2 2016 01:46:47 for GRASS Programmer's Manual by
1.8.5