home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / Graphics / ToyViewer-2.6a / src / ImageOpr.bproj / RotateView.h < prev    next >
Encoding:
Text File  |  1996-02-05  |  426 b   |  21 lines

  1. #import  <objc/Object.h>
  2. #import  <appkit/View.h>
  3.  
  4.  
  5. @interface RotateView: View
  6. {
  7.     id    imageOp;
  8.     id    angleSlider;
  9.     id    angleText;
  10.     float    xc, yc;            /* center */
  11.     float    x0, y0, x1, y1;        /* left buttom & right top */
  12.     float    x[4], y[4];    /* current points: diff from xc & yc */
  13. }
  14.  
  15. - initFrame:(const NXRect *)frameRect;    /* Overload */
  16. - drawSelf:(NXRect *)r :(int) count;    /* Overload */
  17. - drawIt: sender;
  18. - writenAngle: sender;
  19.  
  20. @end
  21.