bitblt.h

changeset 3
317de52d8a63
parent 2
8ca2aaf0513f
child 11
30d18cf8bb67
     1.1 --- a/bitblt.h	Thu Dec 27 11:04:43 2001 +0000
     1.2 +++ b/bitblt.h	Thu Dec 27 11:17:28 2001 +0000
     1.3 @@ -29,6 +29,16 @@
     1.4  #define TF_XOR 0x6
     1.5  
     1.6  
     1.7 +#define FLIP_H    0x1
     1.8 +#define FLIP_V    0x2
     1.9 +#define TRANSPOSE 0x4
    1.10 +
    1.11 +#define ROT_0     0x0
    1.12 +#define ROT_90    (TRANSPOSE + FLIP_H)
    1.13 +#define ROT_180   (FLIP_H + FLIP_V)
    1.14 +#define ROT_270   (TRANSPOSE + FLIP_V)
    1.15 +
    1.16 +
    1.17  Bitmap *create_bitmap (u32 width, u32 height);
    1.18  void free_bitmap (Bitmap *bitmap);
    1.19  boolean get_pixel (Bitmap *bitmap, Point coord);
    1.20 @@ -38,7 +48,5 @@
    1.21  		Rect src_rect,
    1.22  		Bitmap *dest_bitmap,
    1.23  		Point dest_upper_left,
    1.24 -		boolean flip_horizontal,
    1.25 -		boolean flip_vertical,
    1.26 -		boolean transpose,
    1.27 +		int scan,
    1.28  		int tfn);