ftp.nice.ch/pub/next/developer/objc/fromnext/MiniExamples.91.9.s.tar.gz#/MiniExamples/Rotato/MyImage.h

This is MyImage.h in view mode; [Download] [Up]

/*  
 * 
 * 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

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.