Main Page | Alphabetical List | Data Structures | File List | Globals

aastr.h

Go to the documentation of this file.
00001 /*
00002  * aastr.h --- anti-aliased stretching and rotation for Allegro
00003  *
00004  * This file is gift-ware.  This file is given to you freely
00005  * as a gift.  You may use, modify, redistribute, and generally hack
00006  * it about in any way you like, and you do not have to give anyone
00007  * anything in return.
00008  *
00009  * I do not accept any responsibility for any effects, adverse or
00010  * otherwise, that this code may have on just about anything that
00011  * you can think of.  Use it at your own risk.
00012  *
00013  * Copyright (C) 1998, 1999  Michael Bukin
00014  */
00015 
00016 #ifndef __bma_aastr_h
00017 #define __bma_aastr_h
00018 
00019 #include <allegro.h>
00020 
00021 #ifdef __cplusplus
00022 extern "C" {
00023 #endif
00024 
00035   /* Stretching.  */
00036   void aa_stretch_blit (BITMAP* src, BITMAP* dst,
00037                         int sx, int sy, int sw, int sh,
00038                         int dx, int dy, int dw, int dh);
00039   void aa_stretch_sprite (BITMAP* dst, BITMAP* src,
00040                           int dx, int dy, int dw, int dh);
00041 
00042   /* Rotation.  */
00043   void aa_rotate_scaled_bitmap (BITMAP* src, BITMAP* dst,
00044                                 int x, int y, fixed angle,
00045                                 fixed scalex, fixed scaley);
00046   void aa_rotate_scaled_sprite (BITMAP* dst, BITMAP* src,
00047                                 int x, int y, fixed angle,
00048                                 fixed scalex, fixed scaley);
00049   void aa_rotate_bitmap (BITMAP* src, BITMAP* dst,
00050                          int x, int y, fixed angle);
00051   void aa_rotate_sprite (BITMAP* dst, BITMAP* src,
00052                          int x, int y, fixed angle);
00053 
00054 #ifdef __cplusplus
00055 }
00056 #endif
00057 
00058 #endif /* !__bma_aastr_h */
00059 
00060 /*
00061  * aastr.h ends here
00062  */

Generated on Thu Jan 13 14:13:01 2005 for KOF91 by  doxygen 1.3.9.1