home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 3 / AACD03.BIN / AACD / Programming / ImageLib / Image_lib / lib_source / DrawBitMap.c < prev    next >
Encoding:
C/C++ Source or Header  |  1999-04-17  |  1.1 KB  |  38 lines

  1. /* DrawBitMap.c © Paweî Marciniak <pmarciniak@lodz.home.pl>*/
  2. #include <exec/execbase.h>
  3. #include <exec/types.h>
  4. #include <exec/memory.h>
  5. #include <graphics/rastport.h>
  6. #include <graphics/gfxbase.h>
  7. #include <graphics/view.h>
  8. #include <intuition/screens.h>
  9. #include <utility/tagitem.h>
  10. #include <proto/exec.h>
  11. #include <proto/graphics.h>
  12. #include <proto/utility.h>
  13.  
  14. #include "/include/libraries/image.h"
  15.  
  16. /**DrawBitMap***********************************************************/
  17.  
  18.  
  19. /* DrawBitMap() (c) 1997 Paweî Marciniak
  20.   Modify date  |  Version  |  Comment
  21. ---------------+-----------+------------------------------
  22. 30-05-97 18:02 |  1.1      |
  23. 1-06-97  8:41  |  1.2      |
  24. 1-06-97 16:04  |  1.3      |
  25. 1-06-97 16:56  |  1.31     |
  26. 2-06-97 16:00  |  1.32     |
  27. 8-06-97 12:23  |  1.33     |
  28. 14-08-97 12:12 |  1.4      |
  29. */
  30. VOID __saveds __asm DrawBitMap( register __a0 struct BitMap *BitMap, register __d1 ULONG xpos, register __d2 ULONG ypos, register __d3 ULONG Width, register __d4 ULONG Height, register __a1 struct RastPort *RPort )
  31. {
  32.   if( BitMap )
  33.   {
  34.     BltBitMapRastPort( BitMap, 0, 0, RPort, xpos, ypos, Width, Height, 0x0C0 );
  35.     WaitBlit();
  36.   }
  37. }
  38.