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