home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD1.iso / GFX / Painting / XiPaint3.2-Aminet11.lzx / XiPaint / Developer / OutputLib / clib / xout_protos.h < prev   
Encoding:
C/C++ Source or Header  |  1994-09-05  |  1.9 KB  |  45 lines

  1. /* File: xout_protos.h , TD 3.12.93 */
  2.  
  3. /* Funktionen, die den Hardwareblitter ausnutzen können */
  4. /* Hat nur die Zwischenfunktionen, nicht die direkte HW-Ansteuerung */
  5.  
  6. BOOL XO_init_brushblit(struct Display *Display, WORD x, WORD y, WORD width, WORD height, union color *memory, LONG mode);
  7. void XO_free_brushblit(struct Display *Display);
  8. BOOL XO_move_brushblit(struct Display *Display, WORD x, WORD y);
  9.  
  10. /* Die beiden Routinen sind unsicher! Sie funktionieren nur, wenn sich weder der Brush noch deren
  11.    Koordinaten geändert haben!. Der Untergrund darf sich geändert haben! 
  12. */
  13. void XO_on_brushblit(struct Display *Display);
  14. void XO_off_brushblit(struct Display *Display);
  15.  
  16. BOOL XO_init(struct  Display *Display, struct xo_init *mode);
  17. void XO_close(struct Display *Display);
  18.  
  19. /****  Prototypes der Zeichen-Behelfsroutinen  ****/
  20.  
  21. void XO_inv_hline(struct Display *Display, SHORT x, SHORT y, SHORT x2);
  22. void XO_inv_vline(struct Display *Display, SHORT x, SHORT y, SHORT y2);
  23. void XO_inv_point(struct Display *Display, SHORT x, SHORT y);
  24.  
  25. void XO_cls_rect(struct Display *Display, SHORT x1, SHORT y1, SHORT x2, SHORT y2);
  26.  
  27. void XO_writerect(struct Display *Display, UBYTE *Mem,UWORD MemX,UWORD MemY, UWORD MemWidth, ULONG Mode,
  28.                WORD ScreenX, WORD ScreenY, WORD SizeX, WORD SizeY, UBYTE *clut);
  29.  
  30. void XO_readrect(struct Display *Display, UBYTE *Mem,UWORD MemX,UWORD MemY, UWORD MemWidth,
  31.                WORD ScreenX, WORD ScreenY, WORD SizeX, WORD SizeY);
  32.  
  33. /* Liefert NULL oder bei abgeschnittenen Brush die Koordinaten vom Blit 
  34.    (Es werden die Update-Koordinaten angegeben, aber nichts geblittet)
  35. */
  36. struct brush *XO_blitrect(struct Display *Display, WORD x, WORD y, WORD width, WORD height, WORD x2, WORD y2);
  37.  
  38. BOOL XO_who_are_you(struct xo_init *init_struct);
  39. BOOL XO_screen_request (struct xo_init *init_struct);
  40.  
  41. void XO_ScreenToFront(struct Display *Display);
  42. void XO_ScreenToBack(struct Display *Display);
  43.  
  44. ULONG XO_SetReg(ULONG Tag, ULONG Data);
  45.