This is RotateView.h in view mode; [Download] [Up]
#import <objc/Object.h> #import <appkit/View.h> @interface RotateView: View { id imageOp; id angleSlider; id angleText; float xc, yc; /* center */ float x0, y0, x1, y1; /* left buttom & right top */ float x[4], y[4]; /* current points: diff from xc & yc */ } - initFrame:(const NXRect *)frameRect; /* Overload */ - drawSelf:(NXRect *)r :(int) count; /* Overload */ - drawIt: sender; - writenAngle: sender; @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.