~ubuntu-branches/ubuntu/lucid/libx11/lucid

« back to all changes in this revision

Viewing changes to src/CrBFData.c

  • Committer: Bazaar Package Importer
  • Author(s): Timo Aaltonen
  • Date: 2009-01-17 16:34:54 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20090117163454-gaey3cd32xyavueo
Tags: 2:1.1.99.2-1build1
Fakesync with Debian, all previous Ubuntu changes are included
in the new upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
#include "Xlib.h"
33
33
 
34
34
/*
35
 
 * XCreateBitmapFromData: Routine to make a pixmap of depth 1 from user 
 
35
 * XCreateBitmapFromData: Routine to make a pixmap of depth 1 from user
36
36
 *                        supplied data.
37
37
 *      D is any drawable on the same screen that the pixmap will be used in.
38
 
 *      Data is a pointer to the bit data, and 
 
38
 *      Data is a pointer to the bit data, and
39
39
 *      width & height give the size in bits of the pixmap.
40
40
 *
41
41
 * The following format is assumed for data:
47
47
 *    bitmap_unit=8
48
48
 *    xoffset=0
49
49
 *    no extra bytes per line
50
 
 */  
 
50
 */
51
51
Pixmap XCreateBitmapFromData(
52
52
     Display *display,
53
53
     Drawable d,