home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 1 / Amiga Tools.iso / egs-tools / egs_dev-disk / egsincludes / clib / egsblit_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-06  |  3.9 KB  |  115 lines

  1. #ifndef CLIB_EGSBLIT_PROTOS_H
  2. #define CLIB_EGSBLIT_PROTOS_H
  3.  
  4. /***************************************************************************\
  5. *  $
  6. *  $ FILE     : egsblit_protos.h
  7. *  $ VERSION  : 1
  8. *  $ REVISION : 3
  9. *  $ DATE     : 08-Dec-93 13:46
  10. *  $
  11. *  $ Author   : mvk
  12. *  $
  13. *
  14. *  C prototypes
  15. *
  16. *****************************************************************************
  17. *                                                                           *
  18. * (c) Copyright 1990/94 VIONA Development                                   *
  19. *     All Rights Reserved                                                   *
  20. *                                                                           *
  21. \***************************************************************************/
  22.  
  23. #ifndef         EXEC_TYPES_H
  24. #include        <exec/types.h>
  25. #endif
  26. #ifndef         EXEC_PORTS_H
  27. #include        <exec/ports.h>
  28. #endif
  29. #ifndef         EGS_EGS_H
  30. #include        <egs/egs.h>
  31. #endif
  32. #ifndef         EGS_EGSBLIT_H
  33. #include        <egs/egsblit.h>
  34. #endif
  35.  
  36. ULONG EB_ReadPixel (E_EBitMapPtr map, WORD x, WORD y);
  37. void EB_WritePixel (E_EBitMapPtr map, ULONG c, WORD x, WORD y, ULONG mask);
  38. void EB_InvertPixel (E_EBitMapPtr map, WORD x, WORD y);
  39. void EB_Draw (E_EBitMapPtr map, ULONG c, WORD x1,
  40.    WORD y1, WORD x2, WORD y2, ULONG mask);
  41.  
  42. void EB_DrawClipped (E_EBitMapPtr map, EB_ClipRectPtr rect,
  43.       ULONG c, WORD x1, WORD y1, WORD x2,
  44.       WORD y2, ULONG mask);
  45.  
  46. void EB_InvertRectangle (E_EBitMapPtr map, WORD left,
  47.       WORD top, WORD right, WORD bottom);
  48.  
  49. void EB_RectangleFill (E_EBitMapPtr map, ULONG c,
  50.         WORD left, WORD top,WORD width,
  51.         WORD height, ULONG mask);
  52.  
  53. void EB_RectangleClipped (E_EBitMapPtr map, EB_ClipRectPtr rect,
  54.        ULONG c, WORD left, WORD top,
  55.        WORD width, WORD height, ULONG mask);
  56.  
  57. void EB_Write (E_EBitMapPtr map, EB_ColorDesPtr color,
  58.     WORD x, WORD y, char* str, WORD len, ULONG mask);
  59.  
  60. void EB_WriteClipped (E_EBitMapPtr map, EB_ClipRectPtr rect,
  61.        EB_ColorDesPtr color, WORD x, WORD y, char* str,
  62.        WORD len, ULONG mask);
  63.  
  64. void EB_CopyBitMap (E_EBitMapPtr src, E_EBitMapPtr dst,
  65.      WORD xs, WORD ys, WORD width, WORD height,
  66.      WORD xd, WORD yd, ULONG mask);
  67.  
  68. void EB_CopyBitMapClipped (E_EBitMapPtr src, E_EBitMapPtr dst,
  69.         EB_ClipRectPtr rect, WORD xs, WORD ys,
  70.         WORD width, WORD height, WORD xd, WORD yd,
  71.         ULONG mask);
  72.  
  73. void EB_FillMask (E_EBitMapPtr mask, E_EBitMapPtr dst,
  74.    EB_ImageDesPtr pattern, WORD x, WORD y, ULONG mask2);
  75.  
  76. void EB_FillMaskClipped (E_EBitMapPtr mask, E_EBitMapPtr dst,
  77.       EB_ImageDesPtr pattern, EB_ClipRectPtr clip,
  78.       WORD x, WORD y, ULONG mask2);
  79.  
  80. E_EBitMapPtr EB_UnpackImage (EB_ImagePtr image, WORD depth,
  81.    EB_ColorTablePtr colors);
  82.  
  83. void EB_BitAreaCircle (E_EBitMapPtr dst, WORD radius);
  84.  
  85. void EB_BitAreaPolygon (E_EBitMapPtr dst, EB_PolygonPtr poly,
  86.      WORD range, WORD width, WORD height);
  87.  
  88. void EB_FloodFill (E_EBitMapPtr dst, EB_ClipRectPtr clip,
  89.     ULONG color, WORD x, WORD y, ULONG mode);
  90.  
  91. void EB_ExtractColor (E_EBitMapPtr src, E_EBitMapPtr dst,
  92.        ULONG color, WORD sx, WORD sy,
  93.        WORD w, WORD h, WORD dx, WORD dy);
  94.  
  95. void EB_FloodOneBit (E_EBitMapPtr map, EB_ClipRectPtr clip,
  96.       EB_ClipRectPtr dclip, WORD x, WORD y);
  97.  
  98. void EB_FloodZeroBit (E_EBitMapPtr map, EB_ClipRectPtr clip,
  99.        EB_ClipRectPtr dclip, WORD x, WORD y);
  100.  
  101. void EB_DrawClippedPatt (E_EBitMapPtr map, EB_ClipRectPtr rect,
  102.                          LONG front, LONG back, WORD x1, WORD y1,
  103.                          WORD x2,    WORD y2, UWORD patt);
  104.  
  105. void EB_BitBlt(E_EBitMapPtr src,E_EBitMapPtr dst,WORD xs, WORD ys,
  106.                WORD width, WORD height, WORD xd, WORD yd,
  107.                                               UBYTE  MinTerm);
  108.  
  109. void EB_BitBltClipped(E_EBitMapPtr src,E_EBitMapPtr dst,E_ClipRectPtr rect,WORD xs, WORD ys,
  110.                WORD width, WORD height, WORD xd, WORD yd,
  111.                                               UBYTE  MinTerm);
  112.  
  113. #endif /* CLIB_EGSBLIT_PROTOS_H */
  114.  
  115.