home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.atari.st.tech
- Path: sparky!uunet!mcsun!sun4nl!spider.research.ptt.nl!freyr!annius
- From: annius@nanna.research.ptt.nl (Annius Groenink)
- Subject: Re: Raster Copy [for window scrolling]
- Message-ID: <annius.721647580@freyr>
- Sender: usenet@spider.research.ptt.nl (USEnet News)
- Nntp-Posting-Host: nanna.research.ptt.nl
- Reply-To: A.V.Groenink@research.ptt.nl
- Organization: PTT Research
- References: <H.KtV1EXXhvs6@elfhaven.ersys.edmonton.ab.ca> <92316.134125KUHNU@DMSWWU1A.UNI-MUENSTER.DE>
- Date: Fri, 13 Nov 1992 09:39:40 GMT
- Lines: 25
-
- U.Kuehn <KUHNU@DMSWWU1A.UNI-MUENSTER.DE> writes:
-
- >To scroll up a window, one _must_ go along the rectangle list (the window
- >might not be on top) and scroll up the contents of every rectangle.
- ^^^^^^^^^^^^^^^^^^^
- of course, when running a single tasking AES, this is not a problem. I think
- with MultiTOS lots of programs of the highest standards will have problems
- with scrolling.
-
- >If the region is high enough, use vr_cpyfm() to copy the lower part of the
- >region to the upper and the redraw the lower part, as the new things
- >could have lain under another window.
- >An alignment to a 16 bit boundary is used to speed things a bit up, especially
- >text output, as the pixel to write dont have to be shifted around so much.
- >To align a window,make sure that it x-coordinate of the _inner_ left edge
- >is divisible through 16, and the do a wind_calc() to calculate the outer
- >bounds of the window, then make it open there or move it there or what so ever.
-
- Rounding on an 8 bit boundary BTW is sufficient. Apart from the wind_calc you
- should have a small edge of white space before you start v_gtexting. It's very
- ugly if you stick the letters to the left edge of the window.
-
- --
- Annius Groenink -- Universiteit Utrecht -- PTT Research Leidschendam
- annius@research.ptt.nl/avgroeni@cs.ruu.nl Maths/Comp.Sc./TOS/Music
-