bitblt.h

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