NSImageRep
Authors
- Adam Fedor(
fedor@colorado.edu
)
-
Abstract representation of an image.
Copyright: (C) 1996 Free Software Foundation, Inc.
Software documentation for the NSImageRep class
Declared: AppKit/NSImageRep.h
Conform: NSCoding
Conform: NSCopying
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;
imageRepWithContentsOfURL:
+ (id) imageRepWithContentsOfURL: (NSURL*)anURL;
imageRepWithPasteboard:
+ (id) imageRepWithPasteboard: (NSPasteboard*)pasteboard;
imageRepsWithContentsOfFile:
+ (NSArray*) imageRepsWithContentsOfFile: (NSString*)filename;
imageRepsWithContentsOfURL:
+ (NSArray*) imageRepsWithContentsOfURL: (NSURL*)anURL;
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)aRect;
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*)aString;
setOpaque:
- (void) setOpaque: (BOOL)flag;
setPixelsHigh:
- (void) setPixelsHigh: (int)anInt;
setPixelsWide:
- (void) setPixelsWide: (int)anInt;
setSize:
- (void) setSize: (NSSize)aSize;
size
- (NSSize) size;