home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3945 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: yama.mcc.ac.uk!dmu!usenet
  2. From: Timothy Eves <se1te@dmu.ac.uk>
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: help!!! Datatypes :(
  5. Date: Thu, 15 Feb 1996 10:37:08 +0000
  6. Organization: De Montfort University, Central Newsserver Leicester UK
  7. Message-ID: <31230CD4.7A69@dmu.ac.uk>
  8. References: <328.6618T1327T217@pp.itv.se>
  9. NNTP-Posting-Host: tlaloc.cms.dmu.ac.uk
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (X11; I; HP-UX A.09.05 9000/750)
  14.  
  15. I haven't done any datatypes in assembler however I have written a
  16. spound datatype and know how to write them.  I hope to write a picture
  17. datatype sub class.  I can send you the RKM datatypes examples and offer
  18. my assistance in areas they don't cover.
  19.  
  20. The easiest way to open an IFF pic with datatypes is to use the
  21. picture.datatype.
  22. You can access it like so:
  23.  
  24. libptr = OpenLibrary( "datatypes/picture.datatype", 39L );
  25.  
  26. Then you use the BOOPSI fuctions with class "picture.datatype".  You
  27. need to send it a certain set of methods and tags to specify things
  28. like, pictrure filename, how many colours you want the image to be
  29. displayed in what pens it should use to display the image and so on.  It
  30. will return a bitmap that can be displayed on screen (in a window) using
  31. the pens you've told it to.
  32.  
  33. I'll send you more concrete info when I have time to dig it up.
  34.  
  35. Tim Eves
  36.  
  37. ------------------------------------------------------------O----------------    
  38. Out of the gloom came a voice, "Smile  and  be  happy things| EMail To:
  39. could  be  worse",  it  said.  So I smiled and I was  happy,|
  40. se1te@dmu.ac.uk
  41. and  behold  things  did  get worse.                |
  42. ------------------------------------------------------------O----------------
  43.