home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / amiga / programm / 15895 < prev    next >
Encoding:
Text File  |  1992-11-16  |  1.2 KB  |  27 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!doug.cae.wisc.edu!pochanay
  3. From: pochanay@cae.wisc.edu (Adisak Pochanayon)
  4. Subject: Bug in ViewPorts under 2.0
  5. Organization: College of Engineering, Univ. of Wisconsin--Madison
  6. Date: 16 Nov 92 06:50:00 CST
  7. Message-ID: <1992Nov16.065000.1070@doug.cae.wisc.edu>
  8. Sender: pochanay@cae.wisc.edu
  9. Lines: 16
  10.  
  11.     I have been writing some code that performs horizontal scrolling of
  12. extremely large bitmaps (quickly).  This code works properly under both
  13. 1.3 and 2.0 in lowresolution.  It also works under 1.3 in hi-res fine.
  14. However, when I use 2.0 and hi-res I get a wierd problem.  The RxOffset
  15. in the RasInfos structure shifts the offset into the bitmap by two
  16. pixels instead of 1.  Is this a bug under 2.0???  Or do I have to set
  17. any special flags in the view or viewport that I'm using.  Has anybody
  18. tried horizontal scrolling with a hires screen???  Why can 1.3 be accurate
  19. in scrolling to a single pixel and then 2.0 only to multiples of two
  20. (actually, it multiplies RxOffset by two or at least that's the way I
  21. can duplicate the result in 1.3).
  22.  
  23.     Please e-mail me with any help at pochanay@cae.wisc.edu asap.
  24. Thanks.
  25.  
  26.  
  27.