home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / msdos / programm / 12450 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.7 KB

  1. Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!escargot!minyos.xx.rmit.OZ.AU!rcskb
  2. From: rcskb@minyos.xx.rmit.OZ.AU (Kendall Bennett)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: Wanted : Borlands "getimage" format for graphics
  5. Date: 26 Jan 1993 00:30:12 GMT
  6. Organization: RMIT Computer Centre
  7. Lines: 22
  8. Message-ID: <1k20mkINNsvh@escargot.xx.rmit.OZ.AU>
  9. References: <1993Jan18.214618.20557@sbcs.sunysb.edu> <C13wsv.HuL@unx.sas.com> <1jkrh7INNopp@escargot.xx.rmit.OZ.AU> <C17zqA.E93@unx.sas.com>
  10. NNTP-Posting-Host: minyos.xx.rmit.oz.au
  11.  
  12. sasres@ocelot.unx.sas.com (Ron Stogner) writes:
  13.  
  14. >Kendall:
  15.  
  16. >Thanks for the info.  That makes sense.  One thing, however, since the
  17. >image can be "clipped" on both ends you probably do need both bytes,
  18. >one for the first byte on each line and one for the last.  I'll have
  19. >to play with it sometime and see.  If I could only find my old code...
  20.  
  21. Well, not. Generally if you are going to be putting the image back 
  22. exactly where it came from, you could simply grab and mask it, however, 
  23. if you will be moving it from one spot to another, then you may as well
  24. shift the entire thing so that it is left justified in the image buffer.
  25. This simplifies the code to put the image back on the screen in another
  26. location.
  27.  
  28. +------------------------------------------+-------------------------------+
  29. | Kendall Bennett                          | Internet:                     |
  30. | RMIT Advanced Computer Graphics Centre   | kjb@citri.edu.au              |
  31. | CITRI Building, 723 Swanston Street      | rcskb@minyos.xx.rmit.oz.au    |
  32. | Carlton Victoria 3053 AUSTRALIA.         |                               | 
  33. +------------------------------------------+-------------------------------+
  34.