Allegro.cc
Projects
Resource Directory
|
AASTR2
Source Directory
» Libraries
» Graphics
» AASTR2
This is a modified version, tentatively titled AASTR2, that adds lots of new features. To start using this, compile aastr.c, aarot.c, and aautil.c, link with the resulting .o or .obj files, and include the header aastr.h For documentation, what there is of it so far, look in aastr2.txt and aastr.h. There are also 3 example programs, adaptions of the Allegro examples exalpha, exstretch, and exblend. Original Features from AASTR: Anti-aliased stretch_blit, masked_stretch_blit, rotate_blit, masked_rotate_blit, rotate_sprite, etc. Mix-and-match any combination of source & destination color depth. Slow, but (barely) fast enough for real-time effects Improvements added in AASTR2: Support for any destination type (Mode-X, video-bitmap, whatever) Non-integer source / destination rectangles Dithering Transparency Alpha-channel RGBA/BGRA8888 or RGBA4444 source (note that AASTR2 uses a non-standard alpha format, so you'll have to use the provided functions to convert your alpha bitmaps to AASTR2s format) Blended or lit drawing "Magic-Pink" filtering V-flip / H-flip Also, you can disable the anti-aliasing part of thise library. Why would you want to? So that you can use the other features without the speed penalty of anti-aliasing. |
Poll
View Results
|