home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.eiffel
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!destroyer!terminator!news
- From: gregor@oit.itd.umich.edu (Gregor Purdy)
- Subject: Eiffel and "raw" data storage
- Message-ID: <1992Sep9.024611.26212@terminator.cc.umich.edu>
- Sender: news@terminator.cc.umich.edu (Usenet Owner)
- Organization: University of Michigan
- Date: Wed, 9 Sep 1992 02:46:11 GMT
- Lines: 19
-
- Friends--
-
- I don't have all the Eiffel books yet (The Libraries and The Environment are on
- order), and I'm curious about the following:
-
- Lets say I was writing my own graphics classes on top of Eiffel, with classes
- like COLOR, COLOR_TABLE, CANVAS, POINT, etc. Now, suppose I want the ability to
- have CANVASses that are bitmaps (1 bit), or pixmaps (gray, RGB, HSV, etc.). I'm
- going to want to allocate a contiguous block of memory for the pixels and then
- to access it on a bit/byte level.
-
- Are there classes in the libraries that allow this? I don't recall seeing a
- mechanism for this in Eiffel: The Language (not that there necessarily should
- be one there).
-
- Thanks,
-
- --Gregor N. Purdy
- President, Contemporary Design Studios
-