Up
Authors
- Adam Fedor (
fedor@colorado.edu
)
-
Load, manipulate and display images
Copyright: (C) 1996, 2005 Free Software Foundation, Inc.
- Declared in:
- AppKit/NSImage.h
- Conforms to:
- NSCoding
- NSCopying
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
Instance Variables
Method summary
+ (NSImage*) _standardImageWithName: (NSString*)name;
Availability: Gui 0.0
Warning the underscore at the start of the
name of this method indicates that it is
private, for internal use only, and you should not
use the method in your code.
+ (BOOL) canInitWithPasteboard: (NSPasteboard*)pasteboard;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
+ (NSArray*) imageFileTypes;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
+ (id) imageNamed: (NSString*)aName;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
+ (NSArray*) imagePasteboardTypes;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
+ (NSArray*) imageUnfilteredFileTypes;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
+ (NSArray*) imageUnfilteredPasteboardTypes;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSData*) TIFFRepresentation;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSData*) TIFFRepresentationUsingCompression: (NSTIFFCompression)comp factor: (float)aFloat;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) addRepresentation: (NSImageRep*)imageRep;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) addRepresentations: (NSArray*)imageRepArray;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSColor*) backgroundColor;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSImageRep*) bestRepresentationForDevice: (NSDictionary*)deviceDescription;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (BOOL) cacheDepthMatchesImageDepth;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSImageCacheMode) cacheMode;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) compositeToPoint: (NSPoint)aPoint fromRect: (NSRect)aRect operation: (NSCompositingOperation)op;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) compositeToPoint: (NSPoint)aPoint fromRect: (NSRect)aRect operation: (NSCompositingOperation)op fraction: (float)delta;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) compositeToPoint: (NSPoint)aPoint operation: (NSCompositingOperation)op;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) compositeToPoint: (NSPoint)aPoint operation: (NSCompositingOperation)op fraction: (float)delta;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (id) delegate;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) dissolveToPoint: (NSPoint)aPoint fraction: (float)aFloat;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) dissolveToPoint: (NSPoint)aPoint fromRect: (NSRect)aRect fraction: (float)aFloat;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) drawAtPoint: (NSPoint)point fromRect: (NSRect)srcRect operation: (NSCompositingOperation)op fraction: (float)delta;
Availability: Not in OpenStep/MacOS-X
Calls
-drawAtPoint:fromRect:operation:fraction:
with dstRect
given by point
and the size of srcRect
.
- (void) drawInRect: (NSRect)dstRect fromRect: (NSRect)srcRect operation: (NSCompositingOperation)op fraction: (float)fraction;
Availability: Not in OpenStep/MacOS-X
Takes the part of the receiver given by
srcRect
and draws it in
dstRect
in the current
coordinate system, transforming the image as
necessary.
The image is drawn as if it was drawn to a cleared
window, then dissolved using the
fraction delta
to another
cleared window, and finally composited using
op
to the destination.
Note that compositing and dissolving doesn't work on
all devices (printers, in particular).
- (BOOL) drawRepresentation: (NSImageRep*)imageRep inRect: (NSRect)aRect;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (id) initByReferencingFile: (NSString*)fileName;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (id) initWithBitmapHandle: (void*)bitmap;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (id) initWithContentsOfFile: (NSString*)fileName;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (id) initWithContentsOfURL: (NSURL*)anURL;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (id) initWithData: (NSData*)data;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (id) initWithIconHandle: (void*)icon;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (id) initWithPasteboard: (NSPasteboard*)pasteboard;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (id) initWithSize: (NSSize)aSize;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (BOOL) isCachedSeparately;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (BOOL) isDataRetained;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (BOOL) isFlipped;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (BOOL) isValid;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) lockFocus;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) lockFocusOnRepresentation: (NSImageRep*)imageRep;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (BOOL) matchesOnMultipleResolution;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSString*) name;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (BOOL) prefersColorMatch;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) recache;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) removeRepresentation: (NSImageRep*)imageRep;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSArray*) representations;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (BOOL) scalesWhenResized;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) setBackgroundColor: (NSColor*)aColor;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) setCacheDepthMatchesImageDepth: (BOOL)flag;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) setCacheMode: (NSImageCacheMode)mode;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) setCachedSeparately: (BOOL)flag;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) setDataRetained: (BOOL)flag;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) setDelegate: (id)anObject;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) setFlipped: (BOOL)flag;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) setMatchesOnMultipleResolution: (BOOL)flag;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (BOOL) setName: (NSString*)aName;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) setPrefersColorMatch: (BOOL)flag;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) setScalesWhenResized: (BOOL)flag;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) setSize: (NSSize)aSize;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) setUsesEPSOnResolutionMismatch: (BOOL)flag;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSSize) size;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void) unlockFocus;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (BOOL) usesEPSOnResolutionMismatch;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
Instance Variables for NSImage Class
@protected NSImageCacheMode _cacheMode;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSColor* _color;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected id _delegate;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSString* _fileName;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected struct __imageFlags _flags;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSView* _lockedView;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSString* _name;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSMutableArray* _reps;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSSize _size;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
- Declared in:
- AppKit/NSImage.h
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
Method summary
- (NSString*) pathForImageResource: (NSString*)name;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- Declared in:
- AppKit/NSImage.h
Availability: Gui 0.0
Description forthcoming.
Method summary
- (NSImage*) imageDidNotDraw: (id)sender inRect: (NSRect)aRect;
Availability: Gui 0.0
Description forthcoming.
Up