![]() 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>NSImageRep</title> </head> <body> <font face="serif"> <a href="Gui.html">Up</a> <br /> <h1><a name="title$NSImageRep">NSImageRep</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> Abstract representation of an image. </blockquote> <p><b>Copyright:</b> (C) 1996 Free Software Foundation, Inc.</p> <div> <hr width="50%" align="left" /> <h3>Contents -</h3> <ol> <li> <a href="#001000000000">Software documentation for the NSImageRep class</a> </li> <li> <a href="#002000000000">Software documentation for the NSImageRep(GSQuartz) category</a> </li> </ol> <hr width="50%" align="left" /> </div> <h1><a name="001000000000"> Software documentation for the NSImageRep class </a></h1> <h2><a name="class$NSImageRep">NSImageRep</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/NSImageRep.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="#_NSImageRep_ivars">Instance Variables</a> <br/><br/> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep(GSQuartz)-CGImageForProposedRect$context$hints$">-CGImageForProposedRect:context:hints:</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep+canInitWithData$">+canInitWithData:</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep+canInitWithPasteboard$">+canInitWithPasteboard:</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep+imageFileTypes">+imageFileTypes</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep+imagePasteboardTypes">+imagePasteboardTypes</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep+imageRepClassForData$">+imageRepClassForData:</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep+imageRepClassForFileType$">+imageRepClassForFileType:</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep+imageRepClassForPasteboardType$">+imageRepClassForPasteboardType:</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep+imageRepWithContentsOfFile$">+imageRepWithContentsOfFile:</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep+imageRepWithContentsOfURL$">+imageRepWithContentsOfURL:</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep+imageRepWithPasteboard$">+imageRepWithPasteboard:</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep+imageRepsWithContentsOfFile$">+imageRepsWithContentsOfFile:</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep+imageRepsWithContentsOfURL$">+imageRepsWithContentsOfURL:</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep+imageRepsWithPasteboard$">+imageRepsWithPasteboard:</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep+imageUnfilteredFileTypes">+imageUnfilteredFileTypes</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep+imageUnfilteredPasteboardTypes">+imageUnfilteredPasteboardTypes</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep+registerImageRepClass$">+registerImageRepClass:</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep+registeredImageRepClasses">+registeredImageRepClasses</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep+unregisterImageRepClass$">+unregisterImageRepClass:</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep-bitsPerSample">-bitsPerSample</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep-colorSpaceName">-colorSpaceName</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep-draw">-draw</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep-drawAtPoint$">-drawAtPoint:</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep-drawInRect$">-drawInRect:</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep-drawInRect$fromRect$operation$fraction$respectFlipped$hints$">-drawInRect:fromRect:operation:fraction:respectFlipped:hints:</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep-hasAlpha">-hasAlpha</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep-isOpaque">-isOpaque</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep-pixelsHigh">-pixelsHigh</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep-pixelsWide">-pixelsWide</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep-setAlpha$">-setAlpha:</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep-setBitsPerSample$">-setBitsPerSample:</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep-setColorSpaceName$">-setColorSpaceName:</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep-setOpaque$">-setOpaque:</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep-setPixelsHigh$">-setPixelsHigh:</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep-setPixelsWide$">-setPixelsWide:</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep-setSize$">-setSize:</a></li> <li><a rel="gsdoc" href="NSImageRep.html#method$NSImageRep-size">-size</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$NSImageRep+canInitWithData$">canInitWithData: </a></h3> + (BOOL) <b>canInitWithData:</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"> Returns <code>NO</code>. It is the subclass' responsibility to implement this method. </p> <p> See Also: </p> <p> <ul> <li> <a rel="gsdoc" href="#method$NSImageRep+canInitWithData$">[NSBitmapImageRep +canInitWithData:]</a> </li> </ul> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImageRep+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$NSImageRep+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"> Returns array produced by calling -imageUnfilteredFileTypes . </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImageRep+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$NSImageRep+imageRepClassForData$">imageRepClassForData: </a></h3> + (Class) <b>imageRepClassForData:</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"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImageRep+imageRepClassForFileType$">imageRepClassForFileType: </a></h3> + (Class) <b>imageRepClassForFileType:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)type;<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$NSImageRep+imageRepClassForPasteboardType$">imageRepClassForPasteboardType: </a></h3> + (Class) <b>imageRepClassForPasteboardType:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)type;<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$NSImageRep+imageRepWithContentsOfFile$">imageRepWithContentsOfFile: </a></h3> + (id) <b>imageRepWithContentsOfFile:</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"> Returns a NSImageRep with the contents of <var>filename</var>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImageRep+imageRepWithContentsOfURL$">imageRepWithContentsOfURL: </a></h3> + (id) <b>imageRepWithContentsOfURL:</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$NSImageRep+imageRepWithPasteboard$">imageRepWithPasteboard: </a></h3> + (id) <b>imageRepWithPasteboard:</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$NSImageRep+imageRepsWithContentsOfFile$">imageRepsWithContentsOfFile: </a></h3> + (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*) <b>imageRepsWithContentsOfFile:</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"> Returns an array of newly allocated NSImageRep objects with the contents of <var>filename</var>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImageRep+imageRepsWithContentsOfURL$">imageRepsWithContentsOfURL: </a></h3> + (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*) <b>imageRepsWithContentsOfURL:</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$NSImageRep+imageRepsWithPasteboard$">imageRepsWithPasteboard: </a></h3> + (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*) <b>imageRepsWithPasteboard:</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$NSImageRep+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"> Returns <code>nil</code>. It is the subclass' responsibility to implement this method. </p> <p> See Also: </p> <p> <ul> <li> <a rel="gsdoc" href="#method$NSImageRep+imageUnfilteredFileTypes">[NSBitmapImageRep +imageUnfilteredFileTypes]</a> </li> </ul> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImageRep+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$NSImageRep+registerImageRepClass$">registerImageRepClass: </a></h3> + (void) <b>registerImageRepClass:</b> (Class)imageRepClass;<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$NSImageRep+registeredImageRepClasses">registeredImageRepClasses </a></h3> + (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*) <b>registeredImageRepClasses</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$NSImageRep+unregisterImageRepClass$">unregisterImageRepClass: </a></h3> + (void) <b>unregisterImageRepClass:</b> (Class)imageRepClass;<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$NSImageRep-bitsPerSample">bitsPerSample </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>) <b>bitsPerSample</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns the bits per sample of the receiver. </p> <p> See Also: </p> <p> <ul> <li> <a rel="gsdoc" href="#method$NSImageRep-setBitsPerSample$"> -setBitsPerSample: </a> </li> </ul> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImageRep-colorSpaceName">colorSpaceName </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*) <b>colorSpaceName</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$NSImageRep-draw">draw </a></h3> - (BOOL) <b>draw</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Primitive method which must be overridden by subclasses to perform their drawing. They should draw inside a rectangle with an origin at (0, 0) and a size equal to the receiver's size, and they should entirely fill this rectangle, overwriting the destination alpha as well. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImageRep-drawAtPoint$">drawAtPoint: </a></h3> - (BOOL) <b>drawAtPoint:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSPoint">NSPoint</a>)aPoint;<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$NSImageRep-drawInRect$">drawInRect: </a></h3> - (BOOL) <b>drawInRect:</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$NSImageRep-drawInRect$fromRect$operation$fraction$respectFlipped$hints$">drawInRect: fromRect: operation: fraction: respectFlipped: hints: </a></h3> - (BOOL) <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"> Fallback implementation for subclasses which don't implement their own direct drawing TODO: explain how <a rel="gsdoc" href="#method$NSImageRep-draw">-draw</a> , <a rel="gsdoc" href="#method$NSImageRep-drawInRect$"> -drawInRect: </a> , <a rel="gsdoc" href="#method$NSImageRep-drawAtPoint$"> -drawAtPoint: </a> clear their background </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImageRep-hasAlpha">hasAlpha </a></h3> - (BOOL) <b>hasAlpha</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$NSImageRep-isOpaque">isOpaque </a></h3> - (BOOL) <b>isOpaque</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$NSImageRep-pixelsHigh">pixelsHigh </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>) <b>pixelsHigh</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$NSImageRep-pixelsWide">pixelsWide </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>) <b>pixelsWide</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$NSImageRep-setAlpha$">setAlpha: </a></h3> - (void) <b>setAlpha:</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$NSImageRep-setBitsPerSample$">setBitsPerSample: </a></h3> - (void) <b>setBitsPerSample:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>)anInt;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Sets the number of bits for each component of a pixel. </p> <p> See Also: </p> <p> <ul> <li> <a rel="gsdoc" href="#method$NSImageRep-bitsPerSample"> -bitsPerSample </a> </li> </ul> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImageRep-setColorSpaceName$">setColorSpaceName: </a></h3> - (void) <b>setColorSpaceName:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)aString;<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$NSImageRep-setOpaque$">setOpaque: </a></h3> - (void) <b>setOpaque:</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$NSImageRep-setPixelsHigh$">setPixelsHigh: </a></h3> - (void) <b>setPixelsHigh:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>)anInt;<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$NSImageRep-setPixelsWide$">setPixelsWide: </a></h3> - (void) <b>setPixelsWide:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>)anInt;<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$NSImageRep-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 size of the image to <var>aSize</var>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSImageRep-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 the size of the image. </div> <hr width="25%" align="left" /> </div> <a name="_NSImageRep_ivars"/> <br/><hr width="50%" align="left" /> <h2>Instance Variables for NSImageRep Class</h2> <h3><a name="ivariable$NSImageRep*_bitsPerSample">_bitsPerSample</a></h3> @protected NSInteger <b>_bitsPerSample</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$NSImageRep*_colorSpace">_colorSpace</a></h3> @protected NSString* <b>_colorSpace</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$NSImageRep*_hasAlpha">_hasAlpha</a></h3> @protected BOOL <b>_hasAlpha</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$NSImageRep*_isOpaque">_isOpaque</a></h3> @protected BOOL <b>_isOpaque</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$NSImageRep*_pixelsHigh">_pixelsHigh</a></h3> @protected NSInteger <b>_pixelsHigh</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$NSImageRep*_pixelsWide">_pixelsWide</a></h3> @protected NSInteger <b>_pixelsWide</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$NSImageRep*_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" /> <br/><hr width="50%" align="left" /><br/> <h1><a name="002000000000"> Software documentation for the NSImageRep(GSQuartz) category </a></h1> <h2><a rel="gsdoc" href="#class$NSImageRep">NSImageRep</a>(<a name="category$NSImageRep(GSQuartz)">GSQuartz</a>)</h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>AppKit/NSImageRep.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="NSImageRep.html#method$NSImageRep(GSQuartz)-CGImageForProposedRect$context$hints$">-CGImageForProposedRect:context:hints:</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$NSImageRep(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> <br /> <a href="Gui.html">Up</a> </font> </body> </html>