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