home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 7678 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: dispatch.news.demon.net!demon!redrobe.demon.co.uk
  2. From: Mike@Redrobe.demon.co.uk (Mike Redrobe)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: BitMap problem
  5. Date: 18 Apr 96 16:26:40 +0000
  6. Message-ID: <853.6682T986T2022@Redrobe.demon.co.uk>
  7. References: <4l26vg$cbu@serpens.rhein.de>
  8. NNTP-Posting-Host: redrobe.demon.co.uk
  9. X-NNTP-Posting-Host: redrobe.demon.co.uk
  10. X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
  11.  
  12.  
  13. Hi, Michael van Elst , on 17-Apr-96 07:35:12 you scribbled....
  14. >ilan@sn.no (Ilan Sharoni) writes:
  15.  
  16. >>>RectFill()     The rendering MUST NOT go outside the bitmap, or else you
  17.  
  18. >>RectFill(0,0,bitmap_width,bitmap_height) - is this too big?
  19.  
  20. >It is WRONG. RectFill does not take size arguments, it takes the coords
  21. >of the top left and bottom right pixel of the rectangle. You must use:
  22.  
  23. >RectFill(rp, 0,0, bitmap_width-1,bitmap_height-1);
  24.  
  25. hehe I've been caught by that one too...took me ages to track it down
  26.  
  27. its funny, how the resulting memory trashing didnt show itself until I quitted
  28. the program, and launched another..
  29.  
  30.  
  31. Mike
  32.  
  33. --
  34. ---------------------------------------------------------------------------
  35. Mike Redrobe - Mike@Redrobe.demon.co.uk         MikeRR on #Amiga
  36. ---------------------------------------------------------------------------
  37.  
  38.