libs-gui/Documentation/gsdoc/NSImage.html
Adam Fedor d47e202fbe Markup for autogsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11788 72102866-910b-0410-8b05-ffd578937521
2001-12-17 16:51:51 +00:00

413 lines
10 KiB
HTML

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