[Previous] [Up] [Next]

NSImage

Authors

Richard Frith-Macdonald

Version: 0.1

Date: 28 February, 2000

NSImage

NSImage

Declared in: Gui/NSImage.h

Inherits from: NSObject

Conforms to: NSCoding



canInitWithPasteboard:

+ (BOOL) canInitWithPasteboard: (NSPasteboard*)pasteboard

imageFileTypes

+ (NSArray*) imageFileTypes

imageNamed:

+ (id) imageNamed: (NSString*)name

imagePasteboardTypes

+ (NSArray*) imagePasteboardTypes

imageUnfilteredFileTypes

+ (NSArray*) imageUnfilteredFileTypes

imageUnfilteredPasteboardTypes

+ (NSArray*) imageUnfilteredPasteboardTypes

addRepresentation:

- (void) addRepresentation: (NSImageRep*)imageRep

addRepresentations:

- (void) addRepresentations: (NSArray*)imageReps

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:operation:

- (void) compositeToPoint: (NSPoint)aPoint operation: (NSCompositingOperation)op

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

drawRepresentation:

- (BOOL) drawRepresentation: (NSImageRep*)imageRep

initByReferencingFile:

- (id) initByReferencingFile: (NSString*)filename

initWithBitmapHandle:

- (id) initWithBitmapHandle: (void*)bitmap

initWithContentsOfFile:

- (id) initWithContentsOfFile: (NSString*)filename

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*)imageRepresentation

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*)aString

setPrefersColorMatch:

- (void) setPrefersColorMatch: (BOOL)flag

setScalesWhenResized:

- (void) setScalesWhenResized: (BOOL)flag

setSize:

- (void) setSize: (NSSize)aSize

setUsesEPSOnResolutionMismatch:

- (void) setUsesEPSOnResolutionMismatch: (BOOL)flag

size

- (NSSize) size

TIFFRepresentation

- (NSData*) TIFFRepresentation

TIFFRepresentationUsingCompression:factor:

- (NSData*) TIFFRepresentationUsingCompression: (NSTIFFCompression)comp factor: (float)aFloat

unlockFocus

- (void) unlockFocus

usesEPSOnResolutionMismatch

- (BOOL) usesEPSOnResolutionMismatch

imageDidNotDraw:

- (NSImage*) imageDidNotDraw: (id)sender