home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 505b.lha / Ham_e_library / HameProtos.h < prev    next >
C/C++ Source or Header  |  1991-05-05  |  3KB  |  78 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_SetRGB8(struct HamePort * h, long reg, long rr, long gg, long bb);
  8.  
  9. void HAME_GetRGB8(struct HamePort * h, long reg);
  10.  
  11. void HAME_GetRGBPixel(struct HamePort * h, long x, long y);
  12.  
  13. struct HamePort *HAME_Init(struct Screen * s, long Width, long Height, long Vertices, long type, long start, long cookies, long rows);
  14.  
  15. void HAME_Dispose(struct HamePort * h);
  16.  
  17. void HAME_Ellipse(struct HamePort * h, long x, long y, long xr, long yr, long filled);
  18.  
  19. void HAME_Line(struct HamePort * h, long x1, long y1, long x2, long y2);
  20.  
  21. void HAME_Box(struct HamePort * h, long x1, long y1, long x2, long y2, long filled);
  22.  
  23. struct HamePort *HAME_OpenScreen(long lace, long ham, long Width, long Height);
  24.  
  25. void HAME_CloseScreen(struct HamePort * h);
  26.  
  27. void HAME_Scroll(struct HamePort * h, long dx, long dy, long x1, long y1, long x2, long y2 );
  28.  
  29. void HAME_SetAPen( struct HamePort *h, long color);
  30.  
  31. void HAME_SetBPen( struct HamePort *h, long color);
  32.  
  33. void HAME_Move( struct HamePort *h, long x, long y);
  34.  
  35. void HAME_Draw( struct HamePort *h, long x, long y);
  36.  
  37. void HAME_8BitRender( struct HamePort *h, UBYTE *Source, long x, long y, long width, long height);
  38.  
  39. struct Clip *HAME_AllocClip( long width, long height, long maskflag );
  40.  
  41. void HAME_DisposeClip( struct Clip *c );
  42.  
  43. struct Clip *HAME_GetClip( struct HamePort *h, long x, long y, long width, long height );
  44.  
  45. void HAME_PutClip( struct HamePort *h, struct Clip *c, long x, long y );
  46.  
  47. long HAME_ReadClipPixel( struct Clip *c, long x, long y );
  48.  
  49. void HAME_WriteClipPixel( struct Clip *c, long x, long y, long reg );
  50.  
  51. long HAME_ReadMaskPixel( struct Clip *c, long x, long y );
  52.  
  53. void HAME_WriteMaskPixel( struct Clip *c, long x, long y );
  54.  
  55. void HAME_DisposeClipMask( struct Clip *c );
  56.  
  57. void HAME_AllocClipMask( struct Clip *c );
  58.  
  59. void HAME_MakeClipMask( struct Clip *c, long reg );
  60.  
  61. struct HameFont *   HAME_OpenFont( char *fontname, int points);
  62.  
  63. void   HAME_SetFontPen( struct HameFont *Font, long color);
  64.  
  65. void   HAME_MakeFTables( struct HameFont *Font, long color);
  66.  
  67. long   HAME_GetFontPallete( struct HamePort *h, struct HameFont *Font);
  68.  
  69. long   HAME_Text( struct HamePort * h, struct HameFont *Font, char * text, int tx, int ty);
  70.  
  71. long   HAME_QText( struct HamePort * h, struct HameFont *Font, char * text, int tx, int ty);
  72.  
  73. void   HAME_CloseFont( struct HameFont * h);
  74.  
  75. void   HAME_WaitScanline( struct HamePort * h, long line);
  76.  
  77.  
  78.