GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
pngdriver/Draw_bitmap.c File Reference
#include <math.h>
#include "pngdriver.h"
Include dependency graph for pngdriver/Draw_bitmap.c:

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)
 

Macro Definition Documentation

#define max (   a,
  b 
)    ((a)>(b)?(a):(b))

Definition at line 17 of file pngdriver/Draw_bitmap.c.

Referenced by PNG_draw_bitmap().

#define min (   a,
  b 
)    ((a)<(b)?(a):(b))

Definition at line 14 of file pngdriver/Draw_bitmap.c.

Referenced by PNG_draw_bitmap().

Function Documentation

void PNG_draw_bitmap ( int  ncols,
int  nrows,
int  threshold,
const unsigned char *  buf 
)