home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NeXTSTEP 3.0
/
NeXTSTEP3.0.iso
/
NextDeveloper
/
Examples
/
AppKit
/
Draw
/
Image.h
< prev
next >
Wrap
Text File
|
1992-07-19
|
1KB
|
61 lines
@interface Image : Graphic
{
NXImage *image; /* an NXImage object */
NXSize originalSize; /* the original size */
NXDataLink *link;
BOOL dontCache, amLinkButton, amIcon;
}
+ initialize;
/* Creation methods */
+ (BOOL)canInitFromPasteboard:(Pasteboard *)pboard;
- init;
- initWithLinkButton;
- initFromImage:(NXImage *)anImage;
- initFromStream:(NXStream *)stream;
- initFromPasteboard:(Pasteboard *)pboard;
- initFromFile:(const char *)file;
- initFromIcon:(NXImage *)anImage;
- (NXRect)reinitFromPasteboard:(Pasteboard *)pboard;
- (NXRect)reinitFromFile:(const char *)file;
- free;
/* Link methods */
- setLink:(NXDataLink *)aLink;
- (NXDataLink *)link;
/* Methods overridden from superclass to support liRW*/
- (int)cornerMask;
- (NXRect *)getExtendedBounds:(NXRect *)theRect;
- (BOOL)constrainByDefault;
/* Overridden from superclass */
- (BOOL)isValid;
- (BOOL)isOpaque;
- (float)naturalAspectRatio;
- draw;
- (BOOL)canEmitEPS;
- writeEPSToStream:(NXStream *)stream;
- (BOOL)canEmitTIFF;
- writeTIFFToStream:(NXStream *)stream;
- setCacheable:(BOOL)flag;
- (BOOL)isCacheable;
/* Archiving methods */
- write:(NXTypedStream *)stream;
- read:(NXTypedStream *)stream;
@end