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