home *** CD-ROM | disk | FTP | other *** search
-
- /* $Id: PlotView.h,v 1.1.1.1 1993/03/18 03:34:55 davis Exp $ */
-
- #import <appkit/View.h>
-
- @interface PlotView:View
- {
- id image; /* The cache NXImage */
- NXStream *epsStream; /* The stream of EPS */
- BOOL tempFileNeedsUpdate; /* Does temp match stream? */
- float imageOrigHeight, imageOrigWidth;
- char *fullPath; /* Path of the EPS file */
- }
-
- - initFrame:(const NXRect *) frameRect;
- - (BOOL)acceptsFirstResponder; /* Overridden from Responder */
- - (BOOL)acceptsFirstMouse;
-
- - changeFont:sender;
- - copyFont:sender;
- - pasteFont:sender;
- /* Services support */
- - validRequestorForSendType:(NXAtom)sendType andReturnType:(NXAtom)returnType;
- - (BOOL) writeSelectionToPasteboard:pboard types:(NXAtom *)types;
-
- - (BOOL)validateCommand:menuCell;
-
- - copy:sender;
- - copyToPasteboard:pboard;
- - copyToPasteboard:pboard types:(NXAtom *)typesList;
- - copyPSToStream:(NXStream *)stream;
- - copyTIFFToStream:(NXStream *)stream;
-
- - saveAsEPS:sender;
- - (const char *) writeEPSToTempFile;
- - saveEPSToFile:(const char *)filename;
-
- - unlinkFile;
-
- - mouseDown:(NXEvent *)theEvent;
- - free;
-
- - drawSelf:(NXRect *)r :(int)count;
- - newStream:(NXStream *) aStream;
- - (float)scale:(float)scaleFactor; /* Returns actual factor scaled */
-
-
- @end
-