|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-ddeab64dbf
|
GRASS png display driver - draw bitmap. More...

Go to the source code of this file.
Macros | |
| #define | min(a, b) ((a) < (b) ? (a) : (b)) |
| #define | max(a, b) ((a) > (b) ? (a) : (b)) |
Functions | |
| void | PNG_draw_bitmap (int ncols, int nrows, int threshold, const unsigned char *buf) |
| Draw bitmap. | |
GRASS png display driver - draw bitmap.
(C) 2003-2014 by Per Henrik Johansen 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 pngdriver/draw_bitmap.c.
Draw bitmap.
| ncols,nrows | number of columns and rows |
| threshold | threshold value |
| buf | data buffer |
Definition at line 32 of file pngdriver/draw_bitmap.c.
References b, cur_x, cur_y, g, max, min, png, png_get_color(), png_get_pixel(), r, and x.
Referenced by PNG_Driver().