![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /proc/self/root/usr/share/GNUstep/Documentation/Developer/Gui/Reference/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>NSImage</title> </head> <body> <font face="serif"> <a href="Gui.html">Up</a> <br /> <h1><a name="title$NSImage">NSImage</a></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><b>Copyright:</b> (C) 1996-2016 Free Software Foundation, Inc.</p> <div> <hr width="50%" align="left" /> <h3>Contents -</h3> <ol> <li> <a href="#001000000000">Software documentation for the NSImage class</a> </li> <li> <a href="#002000000000">Software documentation for the NSBundle(NSImageAdditions) category</a> </li> <li> <a href="#003000000000">Software documentation for the NSImage(GSQuartz) category</a> </li> <li> <a href="#004000000000">Software documentation for the GSImageDelegateProtocol protocol</a> </li> </ol> <hr width="50%" align="left" /> </div> <h1><a name="001000000000"> Software documentation for the NSImage class </a></h1> <h2><a name="class$NSImage">NSImage</a> : <a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSObject.html#class$NSObject">NSObject</a></h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>AppKit/NSImage.h</dd> </dl> </blockquote> <blockquote> <dl> <dt><b>Conforms to:</b></dt> <dd><a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSObject.html#protocol$(NSCoding)">NSCoding</a></dd> <dd><a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSObject.html#protocol$(NSCopying)">NSCopying</a></dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="50%" align="left" /> <a href="#_NSImage_ivars">Instance Variables</a> <br/><br/> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="NSImage.html#method$NSImage(GSQuartz)-CGImageForProposedRect$context$hints$">-CGImageForProposedRect:context:hints:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage+_standardImageWithName$">+_standardImageWithName:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage+canInitWithPasteboard$">+canInitWithPasteboard:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage+imageFileTypes">+imageFileTypes</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage+imageNamed$">+imageNamed:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage+imagePasteboardTypes">+imagePasteboardTypes</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage+imageUnfilteredFileTypes">+imageUnfilteredFileTypes</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage+imageUnfilteredPasteboardTypes">+imageUnfilteredPasteboardTypes</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-TIFFRepresentation">-TIFFRepresentation</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-TIFFRepresentationUsingCompression$factor$">-TIFFRepresentationUsingCompression:factor:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-addRepresentation$">-addRepresentation:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-addRepresentations$">-addRepresentations:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-backgroundColor">-backgroundColor</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-bestRepresentationForDevice$">-bestRepresentationForDevice:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-bestRepresentationForRect$context$hints$">-bestRepresentationForRect:context:hints:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-cacheDepthMatchesImageDepth">-cacheDepthMatchesImageDepth</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-cacheMode">-cacheMode</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-compositeToPoint$fromRect$operation$">-compositeToPoint:fromRect:operation:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-compositeToPoint$fromRect$operation$fraction$">-compositeToPoint:fromRect:operation:fraction:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-compositeToPoint$operation$">-compositeToPoint:operation:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-compositeToPoint$operation$fraction$">-compositeToPoint:operation:fraction:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-delegate">-delegate</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-dissolveToPoint$fraction$">-dissolveToPoint:fraction:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-dissolveToPoint$fromRect$fraction$">-dissolveToPoint:fromRect:fraction:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-drawAtPoint$fromRect$operation$fraction$">-drawAtPoint:fromRect:operation:fraction:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-drawInRect$">-drawInRect:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-drawInRect$fromRect$operation$fraction$">-drawInRect:fromRect:operation:fraction:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-drawInRect$fromRect$operation$fraction$respectFlipped$hints$">-drawInRect:fromRect:operation:fraction:respectFlipped:hints:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-drawRepresentation$inRect$">-drawRepresentation:inRect:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-initByReferencingFile$">-initByReferencingFile:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-initWithBitmapHandle$">-initWithBitmapHandle:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-initWithContentsOfFile$">-initWithContentsOfFile:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-initWithContentsOfURL$">-initWithContentsOfURL:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-initWithData$">-initWithData:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-initWithIconHandle$">-initWithIconHandle:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-initWithPasteboard$">-initWithPasteboard:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-initWithSize$">-initWithSize:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-isCachedSeparately">-isCachedSeparately</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-isDataRetained">-isDataRetained</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-isFlipped">-isFlipped</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-isValid">-isValid</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-lockFocus">-lockFocus</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-lockFocusOnRepresentation$">-lockFocusOnRepresentation:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-matchesOnMultipleResolution">-matchesOnMultipleResolution</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-name">-name</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-prefersColorMatch">-prefersColorMatch</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-recache">-recache</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-removeRepresentation$">-removeRepresentation:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-representations">-representations</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-scalesWhenResized">-scalesWhenResized</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-setBackgroundColor$">-setBackgroundColor:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-setCacheDepthMatchesImageDepth$">-setCacheDepthMatchesImageDepth:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-setCacheMode$">-setCacheMode:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-setCachedSeparately$">-setCachedSeparately:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-setDataRetained$">-setDataRetained:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-setDelegate$">-setDelegate:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-setFlipped$">-setFlipped:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-setMatchesOnMultipleResolution$">-setMatchesOnMultipleResolution:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-setName$">-setName:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-setPrefersColorMatch$">-setPrefersColorMatch:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-setScalesWhenResized$">-setScalesWhenResized:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-setSize$">-setSize:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-setUsesEPSOnResolutionMismatch$">-setUsesEPSOnResolutionMismatch:</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-size">-size</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-unlockFocus">-unlockFocus</a></li> <li><a rel="gsdoc" href="NSImage.html#method$NSImage-usesEPSOnResolutionMismatch">-usesEPSOnResolutionMismatch</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$NSImage+_standardImageWithName$">_standardImageWithName: </a></h3> + (<a rel="gsdoc" href="#class$NSImage">NSImage</a>*) <b>_standardImageWithName:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)name;<br /> <div class="availability"> <b>Availability:</b> Not in OpenStep/MacOS-X</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the <var>name</var> of this method indicates that it is private, for internal use only, and you should not use the method in your code. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage+canInitWithPasteboard$">canInitWithPasteboard: </a></h3> + (BOOL) <b>canInitWithPasteboard:</b> (<a rel="gsdoc" href="NSPasteboard.html#class$NSPasteboard">NSPasteboard</a>*)pasteboard;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage+imageFileTypes">imageFileTypes </a></h3> + (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*) <b>imageFileTypes</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage+imageNamed$">imageNamed: </a></h3> + (id) <b>imageNamed:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)aName;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns the NSImage named <var>aName</var>. The search is done in the main bundle first and then in the usual images directories. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage+imagePasteboardTypes">imagePasteboardTypes </a></h3> + (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*) <b>imagePasteboardTypes</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage+imageUnfilteredFileTypes">imageUnfilteredFileTypes </a></h3> + (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*) <b>imageUnfilteredFileTypes</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage+imageUnfilteredPasteboardTypes">imageUnfilteredPasteboardTypes </a></h3> + (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*) <b>imageUnfilteredPasteboardTypes</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-TIFFRepresentation">TIFFRepresentation </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSData.html#class$NSData">NSData</a>*) <b>TIFFRepresentation</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-TIFFRepresentationUsingCompression$factor$">TIFFRepresentationUsingCompression: factor: </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSData.html#class$NSData">NSData</a>*) <b>TIFFRepresentationUsingCompression:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSTIFFCompression">NSTIFFCompression</a>)comp<b> factor:</b> (float)aFloat;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-addRepresentation$">addRepresentation: </a></h3> - (void) <b>addRepresentation:</b> (<a rel="gsdoc" href="NSImageRep.html#class$NSImageRep">NSImageRep</a>*)imageRep;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Adds the NSImageRep <var>imageRep</var> to the NSImage's representations array. </p> <p> See Also: </p> <p> <ul> <li> <a rel="gsdoc" href="#method$NSImage-addRepresentations$"> -addRepresentations: </a> </li> <li> <a rel="gsdoc" href="#method$NSImage-removeRepresentation$"> -removeRepresentation: </a> </li> </ul> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-addRepresentations$">addRepresentations: </a></h3> - (void) <b>addRepresentations:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*)imageRepArray;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Adds the NSImageRep array <var>imageRepArray</var> to the NSImage's representations array. </p> <p> See Also: </p> <p> <ul> <li> <a rel="gsdoc" href="#method$NSImage-addRepresentation$"> -addRepresentation: </a> </li> <li> <a rel="gsdoc" href="#method$NSImage-removeRepresentation$"> -removeRepresentation: </a> </li> </ul> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-backgroundColor">backgroundColor </a></h3> - (<a rel="gsdoc" href="NSColor.html#class$NSColor">NSColor</a>*) <b>backgroundColor</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns the color of the NSImage's background. </p> <p> See Also: </p> <p> <ul> <li> <a rel="gsdoc" href="#method$NSImage-setBackgroundColor$"> -setBackgroundColor: </a> </li> </ul> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-bestRepresentationForDevice$">bestRepresentationForDevice: </a></h3> - (<a rel="gsdoc" href="NSImageRep.html#class$NSImageRep">NSImageRep</a>*) <b>bestRepresentationForDevice:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSDictionary.html#class$NSDictionary">NSDictionary</a>*)deviceDescription;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Finds the best representation for <var>deviceDescription</var>. If <var>deviceDescription</var> is <code>nil</code>, it guesses where drawing is taking place and finds the best representation. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-bestRepresentationForRect$context$hints$">bestRepresentationForRect: context: hints: </a></h3> - (<a rel="gsdoc" href="NSImageRep.html#class$NSImageRep">NSImageRep</a>*) <b>bestRepresentationForRect:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSRect">NSRect</a>)rect<b> context:</b> (<a rel="gsdoc" href="NSGraphicsContext.html#class$NSGraphicsContext">NSGraphicsContext</a>*)context<b> hints:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSDictionary.html#class$NSDictionary">NSDictionary</a>*)deviceDescription;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.6.0</div> <br /> <div class="desc"> Finds the best representation for drawing in the specified <var>rect</var>. <var>context</var> and hints are currently ignored. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-cacheDepthMatchesImageDepth">cacheDepthMatchesImageDepth </a></h3> - (BOOL) <b>cacheDepthMatchesImageDepth</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-cacheMode">cacheMode </a></h3> - (<a rel="gsdoc" href="TypesAndConstants.html#type$NSImageCacheMode">NSImageCacheMode</a>) <b>cacheMode</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-compositeToPoint$fromRect$operation$">compositeToPoint: fromRect: operation: </a></h3> - (void) <b>compositeToPoint:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSPoint">NSPoint</a>)aPoint<b> fromRect:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSRect">NSRect</a>)aRect<b> operation:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSCompositingOperation">NSCompositingOperation</a>)op;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-compositeToPoint$fromRect$operation$fraction$">compositeToPoint: fromRect: operation: fraction: </a></h3> - (void) <b>compositeToPoint:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSPoint">NSPoint</a>)aPoint<b> fromRect:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSRect">NSRect</a>)srcRect<b> operation:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSCompositingOperation">NSCompositingOperation</a>)op<b> fraction:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$CGFloat">CGFloat</a>)delta;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-compositeToPoint$operation$">compositeToPoint: operation: </a></h3> - (void) <b>compositeToPoint:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSPoint">NSPoint</a>)aPoint<b> operation:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSCompositingOperation">NSCompositingOperation</a>)op;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-compositeToPoint$operation$fraction$">compositeToPoint: operation: fraction: </a></h3> - (void) <b>compositeToPoint:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSPoint">NSPoint</a>)aPoint<b> operation:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSCompositingOperation">NSCompositingOperation</a>)op<b> fraction:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$CGFloat">CGFloat</a>)delta;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-delegate">delegate </a></h3> - (id) <b>delegate</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-dissolveToPoint$fraction$">dissolveToPoint: fraction: </a></h3> - (void) <b>dissolveToPoint:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSPoint">NSPoint</a>)aPoint<b> fraction:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$CGFloat">CGFloat</a>)aFloat;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-dissolveToPoint$fromRect$fraction$">dissolveToPoint: fromRect: fraction: </a></h3> - (void) <b>dissolveToPoint:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSPoint">NSPoint</a>)aPoint<b> fromRect:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSRect">NSRect</a>)aRect<b> fraction:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$CGFloat">CGFloat</a>)aFloat;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-drawAtPoint$fromRect$operation$fraction$">drawAtPoint: fromRect: operation: fraction: </a></h3> - (void) <b>drawAtPoint:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSPoint">NSPoint</a>)point<b> fromRect:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSRect">NSRect</a>)srcRect<b> operation:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSCompositingOperation">NSCompositingOperation</a>)op<b> fraction:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$CGFloat">CGFloat</a>)delta;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> Calls <a rel="gsdoc" href="#method$NSImage-drawAtPoint$fromRect$operation$fraction$">-drawAtPoint:fromRect:operation:fraction:</a> with <code>dstRect</code> given by <code><var>point</var></code> and the size of <code><var>srcRect</var></code>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-drawInRect$">drawInRect: </a></h3> - (void) <b>drawInRect:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSRect">NSRect</a>)rect;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.6.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-drawInRect$fromRect$operation$fraction$">drawInRect: fromRect: operation: fraction: </a></h3> - (void) <b>drawInRect:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSRect">NSRect</a>)dstRect<b> fromRect:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSRect">NSRect</a>)srcRect<b> operation:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSCompositingOperation">NSCompositingOperation</a>)op<b> fraction:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$CGFloat">CGFloat</a>)delta;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> </p> <p> Takes the part of the receiver given by <code><var>srcRect</var></code> and draws it in <code><var>dstRect</var></code> in the current coordinate system, transforming the image as necessary. </p> <p> </p> <p> The image is drawn as if it was drawn to a cleared window, then dissolved using the fraction <code><var>delta</var></code> to another cleared window, and finally composited using <code><var>op</var></code> to the destination. </p> <p> </p> <p> Note that compositing and dissolving doesn't work on all devices (printers, in particular). </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-drawInRect$fromRect$operation$fraction$respectFlipped$hints$">drawInRect: fromRect: operation: fraction: respectFlipped: hints: </a></h3> - (void) <b>drawInRect:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSRect">NSRect</a>)dstRect<b> fromRect:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSRect">NSRect</a>)srcRect<b> operation:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSCompositingOperation">NSCompositingOperation</a>)op<b> fraction:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$CGFloat">CGFloat</a>)delta<b> respectFlipped:</b> (BOOL)respectFlipped<b> hints:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSDictionary.html#class$NSDictionary">NSDictionary</a>*)hints;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.6.0</div> <br /> <div class="desc"> Base drawing method in NSImage; all other draw methods call this one <br /> We only use caching on backends that can efficiently draw a rect from the cache onto the current graphics context respecting the CTM, which is currently cairo. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-drawRepresentation$inRect$">drawRepresentation: inRect: </a></h3> - (BOOL) <b>drawRepresentation:</b> (<a rel="gsdoc" href="NSImageRep.html#class$NSImageRep">NSImageRep</a>*)imageRep<b> inRect:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSRect">NSRect</a>)aRect;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-initByReferencingFile$">initByReferencingFile: </a></h3> - (id) <b>initByReferencingFile:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)fileName;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Initializes and returns a NSImage from the NSString <var>fileName</var>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-initWithBitmapHandle$">initWithBitmapHandle: </a></h3> - (id) <b>initWithBitmapHandle:</b> (void*)bitmap;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-initWithContentsOfFile$">initWithContentsOfFile: </a></h3> - (id) <b>initWithContentsOfFile:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)fileName;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Initializes and returns a new NSImage from the file <var>fileName</var>. <var>fileName</var> should be an absolute path. </p> <p> See Also: </p> <p> <ul> <li> <a rel="gsdoc" href="NSImageRep.html#method$NSImageRep+imageRepsWithContentsOfFile$">[NSImageRep +imageRepsWithContentsOfFile:]</a> </li> </ul> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-initWithContentsOfURL$">initWithContentsOfURL: </a></h3> - (id) <b>initWithContentsOfURL:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSURL.html#class$NSURL">NSURL</a>*)anURL;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-initWithData$">initWithData: </a></h3> - (id) <b>initWithData:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSData.html#class$NSData">NSData</a>*)data;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Initializes and returns a new NSImage from the NSData <var>data</var>. </p> <p> See Also: </p> <p> <ul> <li> <a rel="gsdoc" href="NSBitmapImageRep.html#method$NSBitmapImageRep+imageRepWithData$">[NSBitmapImageRep +imageRepWithData:]</a> </li> <li> <a rel="gsdoc" href="NSEPSImageRep.html#method$NSEPSImageRep+imageRepWithData$">[NSEPSImageRep +imageRepWithData:]</a> </li> </ul> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-initWithIconHandle$">initWithIconHandle: </a></h3> - (id) <b>initWithIconHandle:</b> (void*)icon;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-initWithPasteboard$">initWithPasteboard: </a></h3> - (id) <b>initWithPasteboard:</b> (<a rel="gsdoc" href="NSPasteboard.html#class$NSPasteboard">NSPasteboard</a>*)pasteboard;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Initializes and returns a new NSImage from the data in <var>pasteboard</var>. The <var>pasteboard</var> types can be whose defined in <a rel="gsdoc" href="NSImageRep.html#method$NSImageRep+imagePasteboardTypes">[NSImageRep +imagePasteboardTypes]</a> or NSFilenamesPboardType </p> <p> See Also: </p> <p> <ul> <li> <a rel="gsdoc" href="NSImageRep.html#method$NSImageRep+imageRepsWithPasteboard$">[NSImageRep +imageRepsWithPasteboard:]</a> </li> </ul> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-initWithSize$">initWithSize: </a></h3> - (id) <b>initWithSize:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSSize">NSSize</a>)aSize;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Initialize and returns a new NSImage with <var>aSize</var> as specified size. </p> <p> See Also: </p> <p> <ul> <li> <a rel="gsdoc" href="#method$NSImage-setSize$"> -setSize: </a> </li> <li> <a rel="gsdoc" href="#method$NSImage-size"> -size </a> </li> </ul> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-isCachedSeparately">isCachedSeparately </a></h3> - (BOOL) <b>isCachedSeparately</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-isDataRetained">isDataRetained </a></h3> - (BOOL) <b>isDataRetained</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-isFlipped">isFlipped </a></h3> - (BOOL) <b>isFlipped</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-isValid">isValid </a></h3> - (BOOL) <b>isValid</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-lockFocus">lockFocus </a></h3> - (void) <b>lockFocus</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Locks the focus on the best representation. </p> <p> See Also: </p> <p> <ul> <li> <a rel="gsdoc" href="#method$NSImage-lockFocusOnRepresentation$"> -lockFocusOnRepresentation: </a> </li> </ul> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-lockFocusOnRepresentation$">lockFocusOnRepresentation: </a></h3> - (void) <b>lockFocusOnRepresentation:</b> (<a rel="gsdoc" href="NSImageRep.html#class$NSImageRep">NSImageRep</a>*)imageRep;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Locks the focus in the <var>imageRep</var>. If <var>imageRep</var> is <code>nil</code> this method locks the focus on the best representation. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-matchesOnMultipleResolution">matchesOnMultipleResolution </a></h3> - (BOOL) <b>matchesOnMultipleResolution</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-name">name </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*) <b>name</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns the name of the receiver. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-prefersColorMatch">prefersColorMatch </a></h3> - (BOOL) <b>prefersColorMatch</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns <code>YES</code> if color matching is the preferred representation and <code>NO</code> otherwise. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-recache">recache </a></h3> - (void) <b>recache</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-removeRepresentation$">removeRepresentation: </a></h3> - (void) <b>removeRepresentation:</b> (<a rel="gsdoc" href="NSImageRep.html#class$NSImageRep">NSImageRep</a>*)imageRep;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Remove the NSImageRep <var>imageRep</var> from the NSImage's representations array </p> <p> See Also: </p> <p> <ul> <li> <a rel="gsdoc" href="#method$NSImage-addRepresentations$"> -addRepresentations: </a> </li> <li> <a rel="gsdoc" href="#method$NSImage-addRepresentation$"> -addRepresentation: </a> </li> </ul> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-representations">representations </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*) <b>representations</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-scalesWhenResized">scalesWhenResized </a></h3> - (BOOL) <b>scalesWhenResized</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-setBackgroundColor$">setBackgroundColor: </a></h3> - (void) <b>setBackgroundColor:</b> (<a rel="gsdoc" href="NSColor.html#class$NSColor">NSColor</a>*)aColor;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Sets the color of the NSImage's background to <var>aColor</var>. </p> <p> See Also: </p> <p> <ul> <li> <a rel="gsdoc" href="#method$NSImage-backgroundColor"> -backgroundColor </a> </li> </ul> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-setCacheDepthMatchesImageDepth$">setCacheDepthMatchesImageDepth: </a></h3> - (void) <b>setCacheDepthMatchesImageDepth:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-setCacheMode$">setCacheMode: </a></h3> - (void) <b>setCacheMode:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSImageCacheMode">NSImageCacheMode</a>)mode;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-setCachedSeparately$">setCachedSeparately: </a></h3> - (void) <b>setCachedSeparately:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-setDataRetained$">setDataRetained: </a></h3> - (void) <b>setDataRetained:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-setDelegate$">setDelegate: </a></h3> - (void) <b>setDelegate:</b> (id)anObject;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-setFlipped$">setFlipped: </a></h3> - (void) <b>setFlipped:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-setMatchesOnMultipleResolution$">setMatchesOnMultipleResolution: </a></h3> - (void) <b>setMatchesOnMultipleResolution:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-setName$">setName: </a></h3> - (BOOL) <b>setName:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)aName;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Sets <var>aName</var> as the name of the receiver. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-setPrefersColorMatch$">setPrefersColorMatch: </a></h3> - (void) <b>setPrefersColorMatch:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Sets the preferred representation of a NSImage. </p> <p> See Also: </p> <p> <ul> <li> <a rel="gsdoc" href="#method$NSImage-prefersColorMatch"> -prefersColorMatch </a> </li> <li> <a rel="gsdoc" href="#method$NSImage-bestRepresentationForDevice$"> -bestRepresentationForDevice: </a> </li> </ul> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-setScalesWhenResized$">setScalesWhenResized: </a></h3> - (void) <b>setScalesWhenResized:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-setSize$">setSize: </a></h3> - (void) <b>setSize:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSSize">NSSize</a>)aSize;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Sets the NSImage size to <var>aSize</var>. Changing the size recreate the cache. </p> <p> See Also: </p> <p> <ul> <li> <a rel="gsdoc" href="#method$NSImage-size"> -size </a> </li> <li> <a rel="gsdoc" href="#method$NSImage-initWithSize$"> -initWithSize: </a> </li> </ul> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-setUsesEPSOnResolutionMismatch$">setUsesEPSOnResolutionMismatch: </a></h3> - (void) <b>setUsesEPSOnResolutionMismatch:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-size">size </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSSize">NSSize</a>) <b>size</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns NSImage size if the size have been set. Returns the size of the best representation otherwise. </p> <p> See Also: </p> <p> <ul> <li> <a rel="gsdoc" href="#method$NSImage-setSize$"> -setSize: </a> </li> <li> <a rel="gsdoc" href="#method$NSImage-initWithSize$"> -initWithSize: </a> </li> </ul> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-unlockFocus">unlockFocus </a></h3> - (void) <b>unlockFocus</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Unlocks the focus on the receiver. </p> <p> See Also: </p> <p> <ul> <li> <a rel="gsdoc" href="#method$NSImage-lockFocus"> -lockFocus </a> </li> </ul> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImage-usesEPSOnResolutionMismatch">usesEPSOnResolutionMismatch </a></h3> - (BOOL) <b>usesEPSOnResolutionMismatch</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <a name="_NSImage_ivars"/> <br/><hr width="50%" align="left" /> <h2>Instance Variables for NSImage Class</h2> <h3><a name="ivariable$NSImage*_cacheMode">_cacheMode</a></h3> @protected NSImageCacheMode <b>_cacheMode</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSImage*_color">_color</a></h3> @protected NSColor* <b>_color</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSImage*_delegate">_delegate</a></h3> @protected id <b>_delegate</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSImage*_fileName">_fileName</a></h3> @protected NSString* <b>_fileName</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSImage*_lockedView">_lockedView</a></h3> @protected NSView* <b>_lockedView</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSImage*_name">_name</a></h3> @protected NSString* <b>_name</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSImage*_reps">_reps</a></h3> @protected NSMutableArray* <b>_reps</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSImage*_size">_size</a></h3> @protected NSSize <b>_size</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSImage*struct __imageFlags">struct __imageFlags</a></h3> @protected struct __imageFlags <b>struct __imageFlags</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> <br/><hr width="50%" align="left" /><br/> <h1><a name="002000000000"> Software documentation for the NSBundle(NSImageAdditions) category </a></h1> <h2><a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSBundle.html#class$NSBundle">NSBundle</a>(<a name="category$NSBundle(NSImageAdditions)">NSImageAdditions</a>)</h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>AppKit/NSImage.h</dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="NSImage.html#method$NSBundle(NSImageAdditions)-pathForImageResource$">-pathForImageResource:</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$NSBundle(NSImageAdditions)-pathForImageResource$">pathForImageResource: </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*) <b>pathForImageResource:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)name;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <h1><a name="003000000000"> Software documentation for the NSImage(GSQuartz) category </a></h1> <h2><a rel="gsdoc" href="#class$NSImage">NSImage</a>(<a name="category$NSImage(GSQuartz)">GSQuartz</a>)</h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>AppKit/NSImage.h</dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="NSImage.html#method$NSImage(GSQuartz)-CGImageForProposedRect$context$hints$">-CGImageForProposedRect:context:hints:</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$NSImage(GSQuartz)-CGImageForProposedRect$context$hints$">CGImageForProposedRect: context: hints: </a></h3> - (<a rel="gsdoc" href="TypesAndConstants.html#type$CGImageRef">CGImageRef</a>) <b>CGImageForProposedRect:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSRect">NSRect</a>*)proposedDestRect<b> context:</b> (<a rel="gsdoc" href="NSGraphicsContext.html#class$NSGraphicsContext">NSGraphicsContext</a>*)referenceContext<b> hints:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSDictionary.html#class$NSDictionary">NSDictionary</a>*)hints;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.6.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <h1><a name="004000000000"> Software documentation for the GSImageDelegateProtocol protocol </a></h1> <h2><a name="protocol$(GSImageDelegateProtocol)">GSImageDelegateProtocol</a></h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>AppKit/NSImage.h</dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> Not in OpenStep/MacOS-X</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="NSImage.html#method$(GSImageDelegateProtocol)-imageDidNotDraw$inRect$">-imageDidNotDraw:inRect:</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$(GSImageDelegateProtocol)-imageDidNotDraw$inRect$">imageDidNotDraw: inRect: </a></h3> - (<a rel="gsdoc" href="#class$NSImage">NSImage</a>*) <b>imageDidNotDraw:</b> (id)sender<b> inRect:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSRect">NSRect</a>)aRect;<br /> <div class="availability"> <b>Availability:</b> Not in OpenStep/MacOS-X</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <br /> <a href="Gui.html">Up</a> </font> </body> </html>