[Previous] [Up] [Next]

NSImageRep

Authors

Richard Frith-Macdonald

Version: 0.1

Date: 28 February, 2000

NSImageRep

NSImageRep

Declared in: Gui/NSImageRep.h

Inherits from: NSObject

Conforms to: NSCoding



canInitWithData:

+ (BOOL) canInitWithData: (NSData*)data

canInitWithPasteboard:

+ (BOOL) canInitWithPasteboard: (NSPasteboard*)pasteboard

imageFileTypes

+ (NSArray*) imageFileTypes

imagePasteboardTypes

+ (NSArray*) imagePasteboardTypes

imageRepClassForData:

+ (Class) imageRepClassForData: (NSData*)data

imageRepClassForFileType:

+ (Class) imageRepClassForFileType: (NSString*)type

imageRepClassForPasteboardType:

+ (Class) imageRepClassForPasteboardType: (NSString*)type

imageRepWithContentsOfFile:

+ (id) imageRepWithContentsOfFile: (NSString*)filename

imageRepWithPasteboard:

+ (id) imageRepWithPasteboard: (NSPasteboard*)pasteboard

imageRepsWithContentsOfFile:

+ (NSArray*) imageRepsWithContentsOfFile: (NSString*)filename

imageRepsWithPasteboard:

+ (NSArray*) imageRepsWithPasteboard: (NSPasteboard*)pasteboard

imageUnfilteredFileTypes

+ (NSArray*) imageUnfilteredFileTypes

imageUnfilteredPasteboardTypes

+ (NSArray*) imageUnfilteredPasteboardTypes

registerImageRepClass:

+ (void) registerImageRepClass: (Class)imageRepClass

registeredImageRepClasses

+ (NSArray*) registeredImageRepClasses

unregisterImageRepClass:

+ (void) unregisterImageRepClass: (Class)imageRepClass

bitsPerSample

- (int) bitsPerSample

colorSpaceName

- (NSString*) colorSpaceName

draw

- (BOOL) draw

drawAtPoint:

- (BOOL) drawAtPoint: (NSPoint)aPoint

drawInRect:

- (BOOL) drawInRect: (NSRect)rect

hasAlpha

- (BOOL) hasAlpha

isOpaque

- (BOOL) isOpaque

pixelsHigh

- (int) pixelsHigh

pixelsWide

- (int) pixelsWide

setAlpha:

- (void) setAlpha: (BOOL)flag

setBitsPerSample:

- (void) setBitsPerSample: (int)anInt

setColorSpaceName:

- (void) setColorSpaceName: (NSString*)string

setOpaque:

- (void) setOpaque: (BOOL)flag

setPixelsHigh:

- (void) setPixelsHigh: (int)anInt

setPixelsWide:

- (void) setPixelsWide: (int)anInt

setSize:

- (void) setSize: (NSSize)aSize

size

- (NSSize) size