home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Apps / DevTools / eText5 / Source / Kludges.subproj / _FormatWritingImageView.h next >
Encoding:
Text File  |  1994-10-30  |  697 b   |  23 lines

  1. /*  _FormatWritingImageView.h (Formerly ImageView.h)
  2.  *  Purpose: When a new TIFF or EPS image is opened, a window is created and
  3.  *     an instance of this class -- ImageView -- is installed as the contentView
  4.  *     for the window.  This ties the NXImage instance together with the view.
  5.  *
  6.  *  You may freely copy, distribute, and reuse the code in this example.
  7.  *  NeXT disclaims any warranty of any kind, expressed or  implied, as to its fitness
  8.  *  for any particular use.
  9.  *
  10.  */
  11. #import <appkit/appkit.h>
  12. @interface _FormatWritingImageView:View
  13. {
  14.     id    anImage;
  15. }
  16. + new;
  17. - useImage: newImage;
  18. - image;
  19. - drawSelf:(NXRect *)rects :(int)rectCount;
  20. - free;
  21. - dumpTIFF:(const char *)tempPath;
  22. @end
  23.