GRASS GIS 7 Programmer's Manual  7.7.svn(2018)-r73574
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cairodriver/draw_bitmap.c File Reference

GRASS cairo display driver - draw bitmap. More...

#include <grass/glocale.h>
#include "cairodriver.h"
Include dependency graph for cairodriver/draw_bitmap.c:

Go to the source code of this file.


void Cairo_Bitmap (int ncols, int nrows, int threshold, const unsigned char *buf)
 Draw bitmap. More...

Detailed Description

GRASS cairo display driver - draw bitmap.

(C) 2007-2008 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.

Lars Ahlzen <lars> (original contibutor)
Glynn Clements

Definition in file cairodriver/draw_bitmap.c.

Function Documentation

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

Draw bitmap.

ncols,nrowsnumber of columns and rows
thresholdthreshold value
bufdata buffer

Definition at line 26 of file cairodriver/draw_bitmap.c.

References _, ca, cairo, cur_x, cur_y, G_debug(), G_fatal_error(), malloc(), and cairo_state::modified.

Referenced by Cairo_Driver().