home *** CD-ROM | disk | FTP | other *** search
- /*
- *
- * MyImage.h -- How to rotate an NXImage
- *
- * You may freely copy, distribute, and reuse the code in this example.
- * NeXT disclaims any warranty of any kind, expressed or implied, as to its
- * fitness for any particular use.
- *
- * Written by Henry Krempel -- NeXT Developer Support
- *
- * Wed Apr 10 17:39:50 1991
- */
- #import <appkit/NXImage.h>
-
- @interface MyImage:NXImage
- {
- int rotation, flipped;
- NXSize origSize, rotSize, *currentSize;
- }
-
- - initFromFile:(const char *)fileName;
-
- - setRotation:(int)anInt;
-
- - (BOOL)drawRepresentation:(NXImageRep *)imageRep inRect:(const NXRect *)rect;
-
- - flip:sender;
-
- @end
-
-