bitblt.h

changeset 43
b80cb5a4282a
parent 42
9c85a4cd88a3
child 47
bfc6aaa089b0
     1.1 --- a/bitblt.h	Wed Jan 02 16:39:39 2002 +0000
     1.2 +++ b/bitblt.h	Tue Jan 22 09:42:42 2002 +0000
     1.3 @@ -20,11 +20,18 @@
     1.4    return (r->max.y - r->min.y);
     1.5  }
     1.6  
     1.7 +/*
     1.8 + * Despite the following two definitions, there are still some places
     1.9 + * in the code that depend on words having 32 bits.
    1.10 + */ 
    1.11 +#define BITS_PER_WORD 32
    1.12 +typedef u32 word_type;
    1.13 +
    1.14  typedef struct Bitmap
    1.15  {
    1.16 -  u8 *bits;
    1.17 +  word_type *bits;
    1.18    Rect rect;
    1.19 -  u32 rowbytes;
    1.20 +  u32 row_words;
    1.21  } Bitmap;
    1.22  
    1.23  
    1.24 @@ -45,7 +52,8 @@
    1.25  		Rect   *src_rect,
    1.26  		Bitmap *dest_bitmap,
    1.27  		Point  *dest_min,
    1.28 -		int tfn);
    1.29 +		int tfn,
    1.30 +		int background);
    1.31  
    1.32  
    1.33  /* in-place transformations */