home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / atari / st / tech / 5618 < prev    next >
Encoding:
Text File  |  1992-11-13  |  1.8 KB  |  39 lines

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