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

  1. #ifndef CLIB_EGSGFX_PROTOS_H
  2. #define CLIB_EGSGFX_PROTOS_H
  3.  
  4. /***************************************************************************\
  5. *  $
  6. *  $ FILE     : egsgfx_protos.h
  7. *  $ VERSION  : 1
  8. *  $ REVISION : 4
  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         EXEC_LISTS_H
  30. #include        <exec/lists.h>
  31. #endif
  32. #ifndef         EXEC_SEMAPHORES_H
  33. #include        <exec/semaphores.h>
  34. #endif
  35. #ifndef         GRAPHICS_TEXT_H
  36. #include        <graphics/text.h>
  37. #endif
  38. #ifndef         EGS_EGS_H
  39. #include        <egs/egs.h>
  40. #endif
  41. #ifndef         EGS_EGSBLIT_H
  42. #include        <egs/egsblit.h>
  43. #endif
  44. #ifndef         EGS_EGSLAYERS_H
  45. #include        <egs/egslayers.h>
  46. #endif
  47. #ifndef         EGS_EGSGFX_H
  48. #include        <egs/egsgfx.h>
  49. #endif
  50.  
  51. void EG_SetAPen (EG_RastPortPtr rast, ULONG color);
  52. void EG_SetBPen (EG_RastPortPtr rast, ULONG color);
  53. void EG_SetDrMd (EG_RastPortPtr rast, UBYTE mode);
  54. void EG_Move (EG_RastPortPtr rast, WORD x, WORD y);
  55. void EG_WritePixel (EG_RastPortPtr rast, WORD x, WORD y);
  56. ULONG EG_ReadPixel (EG_RastPortPtr rast, WORD x, WORD y);
  57. void EG_Draw (EG_RastPortPtr rast, WORD x, WORD y);
  58. void EG_Ellipse (EG_RastPortPtr rast, WORD x, WORD y, WORD a, WORD b);
  59. void EG_Curve (EG_RastPortPtr rast, WORD x2, WORD y2,
  60.         WORD x3, WORD y3, WORD x4, WORD y4);
  61. void EG_Text (EG_RastPortPtr rast, char *text, WORD len);
  62. ULONG EG_TextLength (EG_RastPortPtr rast, char *text, WORD len);
  63. void EG_RectFill (EG_RastPortPtr rast, WORD x, WORD y, WORD w, WORD h);
  64. void EG_CopyBitMapRastPort (E_EBitMapPtr src, EG_RastPortPtr rast,
  65.        WORD xs, WORD ys, WORD w, WORD h, WORD xd, WORD yd);
  66. void EG_ScrollRaster (EG_RastPortPtr rast, WORD xs, WORD ys,
  67.    WORD w, WORD h, WORD dx, WORD dy);
  68. void EG_FillMask (EG_RastPortPtr rast, E_EBitMapPtr src, WORD xd, WORD yd);
  69. void EG_AreaCircle (EG_RastPortPtr rast, WORD x, WORD y, WORD r);
  70. void EG_AreaMove (EG_RastPortPtr rast, WORD x, WORD y);
  71. void EG_AreaDraw (EG_RastPortPtr rast, WORD x, WORD y);
  72. void EG_AreaCurve (EG_RastPortPtr rast, WORD x2, WORD y2,
  73.      WORD x3, WORD y3, WORD x4, WORD y4);
  74. void EG_AreaEnd (EG_RastPortPtr rast);
  75. EG_AreaInfoPtr EG_InitArea (EG_AreaInfoPtr info,
  76.        EG_PolyPtr buffer, WORD size);
  77. EG_EFontPtr EG_OpenFont (struct TextAttr *attr);
  78. void EG_CloseFont (EG_EFontPtr font);
  79. EG_EFontPtr EG_StdFont (void);
  80. void EG_InstallClipRegion (EG_RastPortPtr rast, EB_ClipRectPtr rect);
  81. EB_ClipRectPtr EG_RemoveClipRegion (EG_RastPortPtr rast);
  82. EG_RastPortPtr EG_CreateRastPort (EL_LayerPtr layer,
  83.       E_EScreenPtr screen, E_EBitMapPtr map);
  84. void EG_DeleteRastPort (EG_RastPortPtr rast);
  85. void EG_SetFont (EG_RastPortPtr rast, EG_EFontPtr font);
  86. UBYTE EG_SetSoftStyle (EG_RastPortPtr rast, UBYTE style, UBYTE mask);
  87. void EG_SetMask (EG_RastPortPtr rast, ULONG mask);
  88. void EG_Flood (EG_RastPortPtr rast, WORD x, WORD y, ULONG mode);
  89. void EG_CopyRectangle (EG_RastPortPtr src, EG_RastPortPtr dst,
  90.          WORD xs, WORD ys, WORD w, WORD h, WORD xd, WORD yd);
  91. void EG_FillMaskSeg (EG_RastPortPtr rast, E_EBitMapPtr src,
  92.        WORD xs, WORD ys, WORD w, WORD h, WORD xd, WORD yd);
  93. void EG_CurveL (EG_RastPortPtr rast,
  94.   LONG x2, LONG y2, LONG x3, LONG y3, WORD x4, WORD y4);
  95. void EG_AreaCurveL (EG_RastPortPtr rast,
  96.       LONG x2, LONG y2, LONG x3, LONG y3, WORD x4, WORD y4);
  97. BOOL EG_CheckRectangle (EG_RastPortPtr rport, EB_ClipRectPtr rect);
  98.  
  99. BOOL EG_GetBoundingBox(EG_RastPortPtr rast,EB_ClipRectPtr rect);
  100. void EG_ScrollRasterNoClear (EG_RastPortPtr rast, WORD xs, WORD ys,
  101.                               WORD w, WORD h, WORD dx, WORD dy);
  102.  
  103. EG_RastPortPtr EG_CreateSubRastPort(EG_RastPortPtr super,
  104.                                     WORD        x,
  105.                                     WORD        y,
  106.                                     WORD        w,
  107.                                     WORD        h);
  108.  
  109. void EG_MoveSubRastPort(EG_RastPortPtr rast,
  110.                         WORD     dx,
  111.                         WORD     dy);
  112.  
  113. void EG_SizeSubRastPort(EG_RastPortPtr rast,
  114.                         WORD     dx,
  115.                         WORD     dy);
  116.  
  117. void EG_ZoomBitMapRastPort(E_EBitMapPtr scr,
  118.                            EG_RastPortPtr  rast,
  119.                            WORD            xs,
  120.                            WORD            ys,
  121.                            WORD            w,
  122.                            WORD            h,
  123.                            WORD            xd,
  124.                            WORD            yd,
  125.                            WORD       zoom);
  126.  
  127. void EG_ZoomFillMaskSeg (EG_RastPortPtr rast, E_EBitMapPtr src,
  128.        WORD xs, WORD ys, WORD w, WORD h, WORD xd, WORD yd, WORD zoom);
  129.  
  130.  
  131. #endif /* CLIB_EGSGFX_PROTOS_H */
  132.  
  133.