1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
#import <AppKit/AppKit.h>
#import <objc/Storage.h>
@interface pgviewobj : NSView
{
Storage *psdata;
NSWindow *myWindow;
float prevw, prevh;
int lwtype;
int nplot;
}
- initWithFrame:(NSRect)frameRect;
- (void) drawRect:(NSRect)rects;
- (void) pgplotDefs: (DPSContext) ctxt;
- (void) beginp;
- (void) endp;
- (void) flushpg;
- (void) gettype: (int *) iptype;
- (void) getwind: (int *) ixdim by: (int *) iydim
color: (int *) icol scale: (int *) imag;
- (void) pscode: (char *) cbuf;
- (void) readcursor: (NSPoint *) aPoint char: (int *) ichar
cursor: (NSCursor *) crossCursor;
@end
|