Annotation of Examples/AppKit/Draw/Image.h, revision 1.1

1.1     ! root        1: @interface Image : Graphic
        !             2: {
        !             3:     NXImage *image;            /* an NXImage object */
        !             4:     NXSize originalSize;       /* the original size */
        !             5:     NXDataLink *link;
        !             6:     BOOL dontCache, amLinkButton, amIcon;
        !             7: }
        !             8: 
        !             9: + initialize;
        !            10: 
        !            11: /* Creation methods */
        !            12: 
        !            13: + (BOOL)canInitFromPasteboard:(Pasteboard *)pboard;
        !            14: 
        !            15: - init;
        !            16: - finishedWithInit;
        !            17: 
        !            18: - initEmpty;
        !            19: - initFromImage:(NXImage *)anImage;
        !            20: - initFromStream:(NXStream *)stream;
        !            21: - initFromPasteboard:(Pasteboard *)pboard;
        !            22: - initFromFile:(const char *)file;
        !            23: - initFromIcon:(NXImage *)anImage;
        !            24: - initWithLinkButton;
        !            25: 
        !            26: - (NXRect)reinitFromPasteboard:(Pasteboard *)pboard;
        !            27: - (NXRect)reinitFromFile:(const char *)file;
        !            28: 
        !            29: - free;
        !            30: 
        !            31: /* Link methods */
        !            32: 
        !            33: - setLink:(NXDataLink *)aLink;
        !            34: - (NXDataLink *)link;
        !            35: 
        !            36: /* Methods overridden from superclass to support links */
        !            37: 
        !            38: - (int)cornerMask;
        !            39: - (NXRect *)getExtendedBounds:(NXRect *)theRect;
        !            40: - (BOOL)constrainByDefault;
        !            41: 
        !            42: /* Overridden from superclass */
        !            43: 
        !            44: - (BOOL)isValid;
        !            45: - (BOOL)isOpaque;
        !            46: - (float)naturalAspectRatio;
        !            47: - draw;
        !            48: 
        !            49: - (BOOL)canEmitEPS;
        !            50: - writeEPSToStream:(NXStream *)stream;
        !            51: - (BOOL)canEmitTIFF;
        !            52: - writeTIFFToStream:(NXStream *)stream;
        !            53: 
        !            54: - setCacheable:(BOOL)flag;
        !            55: - (BOOL)isCacheable;
        !            56: 
        !            57: /* Archiving methods */
        !            58: 
        !            59: - write:(NXTypedStream *)stream;
        !            60: - read:(NXTypedStream *)stream;
        !            61: 
        !            62: @end
        !            63: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.