[Previous]
[Up]
[Next]
NSImage
Authors
- Richard Frith-Macdonald
-
Version: $Revision$
Date: $Date$
Declared in: Gui/NSImage.h
Inherits from: NSObject
Conforms to: NSCoding
Instance Variables
Methods
Class Methods
+ (BOOL) canInitWithPasteboard: (NSPasteboard*)pasteboard;
+ (NSArray*) imageFileTypes;
+ (id) imageNamed: (NSString*)name;
+ (NSArray*) imagePasteboardTypes;
+ (NSArray*) imageUnfilteredFileTypes;
+ (NSArray*) imageUnfilteredPasteboardTypes;
Instances Methods
- (void) addRepresentation: (NSImageRep*)imageRep;
- (void) addRepresentations: (NSArray*)imageReps;
- (NSColor*) backgroundColor;
- (NSImageRep*) bestRepresentationForDevice: (NSDictionary*)deviceDescription;
- (BOOL) cacheDepthMatchesImageDepth;
- (void) compositeToPoint: (NSPoint)aPoint fromRect: (NSRect)aRect operation: (NSCompositingOperation)op;
- (void) compositeToPoint: (NSPoint)aPoint operation: (NSCompositingOperation)op;
- (id) delegate;
- (void) dissolveToPoint: (NSPoint)aPoint fraction: (float)aFloat;
- (void) dissolveToPoint: (NSPoint)aPoint fromRect: (NSRect)aRect fraction: (float)aFloat;
- (BOOL) drawRepresentation: (NSImageRep*)imageRep;
- (id) initByReferencingFile: (NSString*)filename;
- (id) initWithBitmapHandle: (void*)bitmap;
- (id) initWithContentsOfFile: (NSString*)filename;
- (id) initWithData: (NSData*)data;
- (id) initWithIconHandle: (void*)icon;
- (id) initWithPasteboard: (NSPasteboard*)pasteboard;
- (id) initWithSize: (NSSize)aSize;
- (BOOL) isCachedSeparately;
- (BOOL) isDataRetained;
- (BOOL) isFlipped;
- (BOOL) isValid;
- (void) lockFocus;
- (void) lockFocusOnRepresentation: (NSImageRep*)imageRepresentation;
- (BOOL) matchesOnMultipleResolution;
- (NSString*) name;
- (BOOL) prefersColorMatch;
- (void) recache;
- (void) removeRepresentation: (NSImageRep*)imageRep;
- (NSArray*) representations;
- (BOOL) scalesWhenResized;
- (void) setBackgroundColor: (NSColor*)aColor;
- (void) setCacheDepthMatchesImageDepth: (BOOL)flag;
- (void) setCachedSeparately: (BOOL)flag;
- (void) setDataRetained: (BOOL)flag;
- (void) setDelegate: (id)anObject;
- (void) setFlipped: (BOOL)flag;
- (void) setMatchesOnMultipleResolution: (BOOL)flag;
- (BOOL) setName: (NSString*)aString;
- (void) setPrefersColorMatch: (BOOL)flag;
- (void) setScalesWhenResized: (BOOL)flag;
- (void) setSize: (NSSize)aSize;
- (void) setUsesEPSOnResolutionMismatch: (BOOL)flag;
- (NSSize) size;
- (NSData*) TIFFRepresentation;
- (NSData*) TIFFRepresentationUsingCompression: (NSTIFFCompression)comp factor: (float)aFloat;
- (void) unlockFocus;
- (BOOL) usesEPSOnResolutionMismatch;
- (NSImage*) imageDidNotDraw: (id)sender;