NSImage
Authors
- Adam Fedor(
fedor@colorado.edu
)
-
Load, manipulate and display images
Copyright: (C) 1996 Free Software Foundation, Inc.
Software documentation for the NSImage class
Declared: AppKit/NSImage.h
Conform: NSCoding
Conform: NSCopying
canInitWithPasteboard:
+ (BOOL) canInitWithPasteboard: (NSPasteboard*)pasteboard;
imageFileTypes
+ (NSArray*) imageFileTypes;
imageNamed:
+ (id) imageNamed: (NSString*)aName;
imagePasteboardTypes
+ (NSArray*) imagePasteboardTypes;
imageUnfilteredFileTypes
+ (NSArray*) imageUnfilteredFileTypes;
imageUnfilteredPasteboardTypes
+ (NSArray*) imageUnfilteredPasteboardTypes;
TIFFRepresentation
- (NSData*) TIFFRepresentation;
TIFFRepresentationUsingCompression:factor:
- (NSData*) TIFFRepresentationUsingCompression: (NSTIFFCompression)comp factor: (float)aFloat;
addRepresentation:
- (void) addRepresentation: (NSImageRep*)imageRep;
addRepresentations:
- (void) addRepresentations: (NSArray*)imageRepArray;
backgroundColor
- (NSColor*) backgroundColor;
bestRepresentationForDevice:
- (NSImageRep*) bestRepresentationForDevice: (NSDictionary*)deviceDescription;
cacheDepthMatchesImageDepth
- (BOOL) cacheDepthMatchesImageDepth;
compositeToPoint:fromRect:operation:
- (void) compositeToPoint: (NSPoint)aPoint fromRect: (NSRect)aRect operation: (NSCompositingOperation)op;
compositeToPoint:fromRect:operation:fraction:
- (void) compositeToPoint: (NSPoint)aPoint fromRect: (NSRect)srcRect operation: (NSCompositingOperation)op fraction: (float)delta;
compositeToPoint:operation:
- (void) compositeToPoint: (NSPoint)aPoint operation: (NSCompositingOperation)op;
compositeToPoint:operation:fraction:
- (void) compositeToPoint: (NSPoint)aPoint operation: (NSCompositingOperation)op fraction: (float)delta;
delegate
- (id) delegate;
dissolveToPoint:fraction:
- (void) dissolveToPoint: (NSPoint)aPoint fraction: (float)aFloat;
dissolveToPoint:fromRect:fraction:
- (void) dissolveToPoint: (NSPoint)aPoint fromRect: (NSRect)aRect fraction: (float)aFloat;
drawAtPoint:fromRect:operation:fraction:
- (void) drawAtPoint: (NSPoint)point fromRect: (NSRect)srcRect operation: (NSCompositingOperation)op fraction: (float)delta;
drawInRect:fromRect:operation:fraction:
- (void) drawInRect: (NSRect)dstRect fromRect: (NSRect)srcRect operation: (NSCompositingOperation)op fraction: (float)delta;
drawRepresentation:inRect:
- (BOOL) drawRepresentation: (NSImageRep*)imageRep inRect: (NSRect)aRect;
initByReferencingFile:
- (id) initByReferencingFile: (NSString*)fileName;
initWithBitmapHandle:
- (id) initWithBitmapHandle: (void*)bitmap;
initWithContentsOfFile:
- (id) initWithContentsOfFile: (NSString*)fileName;
initWithContentsOfURL:
- (id) initWithContentsOfURL: (NSURL*)anURL;
initWithData:
- (id) initWithData: (NSData*)data;
initWithIconHandle:
- (id) initWithIconHandle: (void*)icon;
initWithPasteboard:
- (id) initWithPasteboard: (NSPasteboard*)pasteboard;
initWithSize:
- (id) initWithSize: (NSSize)aSize;
isCachedSeparately
- (BOOL) isCachedSeparately;
isDataRetained
- (BOOL) isDataRetained;
isFlipped
- (BOOL) isFlipped;
isValid
- (BOOL) isValid;
lockFocus
- (void) lockFocus;
lockFocusOnRepresentation:
- (void) lockFocusOnRepresentation: (NSImageRep*)imageRep;
matchesOnMultipleResolution
- (BOOL) matchesOnMultipleResolution;
name
- (NSString*) name;
prefersColorMatch
- (BOOL) prefersColorMatch;
recache
- (void) recache;
removeRepresentation:
- (void) removeRepresentation: (NSImageRep*)imageRep;
representations
- (NSArray*) representations;
scalesWhenResized
- (BOOL) scalesWhenResized;
setBackgroundColor:
- (void) setBackgroundColor: (NSColor*)aColor;
setCacheDepthMatchesImageDepth:
- (void) setCacheDepthMatchesImageDepth: (BOOL)flag;
setCachedSeparately:
- (void) setCachedSeparately: (BOOL)flag;
setDataRetained:
- (void) setDataRetained: (BOOL)flag;
setDelegate:
- (void) setDelegate: (id)anObject;
setFlipped:
- (void) setFlipped: (BOOL)flag;
setMatchesOnMultipleResolution:
- (void) setMatchesOnMultipleResolution: (BOOL)flag;
setName:
- (BOOL) setName: (NSString*)string;
setPrefersColorMatch:
- (void) setPrefersColorMatch: (BOOL)flag;
setScalesWhenResized:
- (void) setScalesWhenResized: (BOOL)flag;
setSize:
- (void) setSize: (NSSize)aSize;
setUsesEPSOnResolutionMismatch:
- (void) setUsesEPSOnResolutionMismatch: (BOOL)flag;
size
- (NSSize) size;
unlockFocus
- (void) unlockFocus;
usesEPSOnResolutionMismatch
- (BOOL) usesEPSOnResolutionMismatch;
Software documentation for the
NSBundle(NSImageAdditions) category
Declared: AppKit/NSImage.h
pathForImageResource:
- (NSString*) pathForImageResource: (NSString*)name;
Software documentation for the GSImageDelegateProtocol
protocol
Declared: AppKit/NSImage.h
imageDidNotDraw:inRect:
- (NSImage*) imageDidNotDraw: (id)sender inRect: (NSRect)aRect;