GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-36359e2344
|
GRASS cairo display driver - draw raster. More...
Go to the source code of this file.
Macros | |
#define | MAX_IMAGE_SIZE 32767 |
Functions | |
void | Cairo_begin_raster (int mask, int s[2][2], double d[2][2]) |
Start drawing raster. More... | |
int | Cairo_raster (int n, int row, const unsigned char *red, const unsigned char *grn, const unsigned char *blu, const unsigned char *nul) |
Draw raster row. More... | |
void | Cairo_end_raster (void) |
Finish drawing raster. More... | |
GRASS cairo display driver - draw raster.
(C) 2007-2014 by Lars Ahlzen and 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.
Definition in file cairodriver/raster.c.
#define MAX_IMAGE_SIZE 32767 |
Definition at line 21 of file cairodriver/raster.c.
void Cairo_begin_raster | ( | int | mask, |
int | s[2][2], | ||
double | d[2][2] | ||
) |
Start drawing raster.
mask | non-zero int for mask |
s | source (map) extent (left, right, top, bottom) |
d | destination (image) extent (left, right, top, bottom) |
Definition at line 71 of file cairodriver/raster.c.
void Cairo_end_raster | ( | void | ) |
Finish drawing raster.
Definition at line 180 of file cairodriver/raster.c.
int Cairo_raster | ( | int | n, |
int | row, | ||
const unsigned char * | red, | ||
const unsigned char * | grn, | ||
const unsigned char * | blu, | ||
const unsigned char * | nul | ||
) |
Draw raster row.
n | number of cells |
row | raster row (starting at 0) |
red,grn,blu,nul | red,green,blue and null value |
Definition at line 130 of file cairodriver/raster.c.