home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 580a.lha / HDFView_v3.01 / source.LZH / source / include / HameProtos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-06-13  |  3.0 KB  |  91 lines

  1. /* Prototypes for functions in hame.library */
  2.  
  3. void HAME_WritePixel(struct HamePort *h, long x, long y);
  4.  
  5. long HAME_ReadPixel(struct HamePort * h, long x, long y);
  6.  
  7. void HAME_WriteLPixel(struct HamePort *h, struct Window *w, long x, long y);
  8.  
  9. long HAME_ReadLPixel(struct HamePort *h, struct Window *w, long x, long y);
  10.  
  11. void HAME_WriteWPixel(struct HamePort *h, struct Window *w, long x, long y);
  12.  
  13. long HAME_ReadWPixel(struct HamePort *h, struct Window *w, long x, long y);
  14.  
  15. void HAME_SetRGB8(struct HamePort * h, long reg, long rr, long gg, long bb);
  16.  
  17. void HAME_GetRGB8(struct HamePort * h, long reg);
  18.  
  19. void HAME_GetRGBPixel(struct HamePort * h, long x, long y);
  20.  
  21. struct HamePort *HAME_Init(struct Screen * s, long Width, long Height, long Vertices, long type, long start, long cookies, long rows);
  22.  
  23. void HAME_Dispose(struct HamePort * h);
  24.  
  25. void HAME_Ellipse(struct HamePort * h, long x, long y, long xr, long yr, long filled);
  26.  
  27. void HAME_Line(struct HamePort * h, long x1, long y1, long x2, long y2);
  28.  
  29. void HAME_Box(struct HamePort * h, long x1, long y1, long x2, long y2, long filled);
  30.  
  31. struct HamePort *HAME_OpenScreen(long lace, long ham, long Width, long Height);
  32.  
  33. void HAME_CloseScreen(struct HamePort * h);
  34.  
  35. void HAME_Scroll(struct HamePort * h, long dx, long dy, long x1, long y1, long x2, long y2 );
  36.  
  37. void HAME_SetAPen( struct HamePort *h, long color);
  38.  
  39. void HAME_SetBPen( struct HamePort *h, long color);
  40.  
  41. void HAME_Move( struct HamePort *h, long x, long y);
  42.  
  43. void HAME_Draw( struct HamePort *h, long x, long y);
  44.  
  45. void HAME_8BitRender( struct HamePort *h, UBYTE *Source, long x, long y, long width, long height);
  46.  
  47. struct Clip *HAME_AllocClip( long width, long height, long maskflag );
  48.  
  49. void HAME_DisposeClip( struct Clip *c );
  50.  
  51. struct Clip *HAME_GetClip( struct HamePort *h, long x, long y, long width, long height );
  52.  
  53. void HAME_PutClip( struct HamePort *h, struct Clip *c, long x, long y );
  54.  
  55. long HAME_ReadClipPixel( struct Clip *c, long x, long y );
  56.  
  57. void HAME_WriteClipPixel( struct Clip *c, long x, long y, long reg );
  58.  
  59. long HAME_ReadMaskPixel( struct Clip *c, long x, long y );
  60.  
  61. void HAME_WriteMaskPixel( struct Clip *c, long x, long y );
  62.  
  63. void HAME_DisposeClipMask( struct Clip *c );
  64.  
  65. void HAME_AllocClipMask( struct Clip *c );
  66.  
  67. void HAME_MakeClipMask( struct Clip *c, long reg );
  68.  
  69. struct HameFont *   HAME_OpenFont( char *fontname, int points);
  70.  
  71. void   HAME_SetFontPen( struct HameFont *Font, long color);
  72.  
  73. void   HAME_MakeFTables( struct HameFont *Font, long color);
  74.  
  75. long   HAME_GetFontPallete( struct HamePort *h, struct HameFont *Font);
  76.  
  77. long   HAME_Text( struct HamePort * h, struct HameFont *Font, char * text, int tx, int ty);
  78.  
  79. long   HAME_QText( struct HamePort * h, struct HameFont *Font, char * text, int tx, int ty);
  80.  
  81. void   HAME_CloseFont( struct HameFont * h);
  82.  
  83. void   HAME_WaitScanline( struct HamePort * h, long line);
  84.  
  85. void   HAME_CheckCookie( struct BitMap *bm, UBYTE *dest, long line, long *loffs);
  86.  
  87. void   HAME_LockLayer( struct HamePort *hp );
  88.  
  89. void   HAME_UnlockLayer( struct HamePort *hp );
  90.  
  91.