GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
#include <string.h>
#include <math.h>
#include <grass/gis.h>
#include "driver.h"
#include "pngdriver.h"
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_begin_scaled_raster (int mask, int s[2][2], int d[2][2]) |
int | PNG_scaled_raster (int n, int row, const unsigned char *red, const unsigned char *grn, const unsigned char *blu, const unsigned char *nul) |
Definition at line 12 of file pngdriver/Raster.c.
Referenced by PNG_scaled_raster().
Definition at line 9 of file pngdriver/Raster.c.
Referenced by PNG_scaled_raster().
Definition at line 60 of file pngdriver/Raster.c.
Referenced by PNG_Driver().
int PNG_scaled_raster | ( | int | n, |
int | row, | ||
const unsigned char * | red, | ||
const unsigned char * | grn, | ||
const unsigned char * | blu, | ||
const unsigned char * | nul | ||
) |
Definition at line 76 of file pngdriver/Raster.c.
References clip_bot, clip_left, clip_rite, clip_top, get_color(), grid, max, min, modified, dialogs::width, and y.
Referenced by PNG_Driver().