35#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 5, 8)
41 data =
malloc(stride * nrows);
48 for (i = 0; i < nrows; i++)
49 memcpy(&data[i * stride], &buf[i * ncols], ncols);
void Cairo_Bitmap(int ncols, int nrows, int threshold, const unsigned char *buf)
Draw bitmap.
GRASS cairo display driver - header file.
void void void void G_fatal_error(const char *,...) __attribute__((format(printf
int G_debug(int, const char *,...) __attribute__((format(printf