|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-0f6a7341fc
|
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.
SPDX-FileCopyrightText: 2003-2014 Per Henrik Johansen SPDX-FileCopyrightText: GRASS Development Team SPDX-License-Identifier: GPL-2.0-or-later
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 31 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().