home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / eiffel / 1126 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.1 KB  |  30 lines

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