mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 21:50:54 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9283 72102866-910b-0410-8b05-ffd578937521
233 lines
6.8 KiB
HTML
233 lines
6.8 KiB
HTML
<html><head>
|
|
<title>NSImageRep</title>
|
|
</head>
|
|
<body>
|
|
<a href ="NSImageCell.html">[Previous]</a>
|
|
<a href ="Gui.html">[Up]</a>
|
|
<a href ="NSImageView.html">[Next]</a>
|
|
<h1>NSImageRep</h1>
|
|
<h3>Authors </h3>
|
|
<dl>
|
|
<dt><a href ="http://www.gnustep.org/developers/whoiswho.html">Richard Frith-Macdonald</a>
|
|
<dd>
|
|
</dl>
|
|
<p>Version: $Revision$</p>
|
|
<p>Date: $Date$</p>
|
|
<h2><a name ="cont-0">NSImageRep</a></h2>
|
|
<h2><a name ="NSImageRep">NSImageRep</a></h2>
|
|
<p><b>Declared in: </b> Gui/NSImageRep.h</p>
|
|
<p><b>Inherits from: </b> NSObject</p>
|
|
<p><b>Conforms to: </b> NSCoding
|
|
</p>
|
|
<hr>
|
|
|
|
|
|
<h2>Instance Variables </h2>
|
|
<ul>
|
|
</ul>
|
|
<h2>Methods </h2>
|
|
<ul>
|
|
<li><a href ="NSImageRep.html#method-0">+canInitWithData:</a>
|
|
<li><a href ="NSImageRep.html#method-1">+canInitWithPasteboard:</a>
|
|
<li><a href ="NSImageRep.html#method-2">+imageFileTypes</a>
|
|
<li><a href ="NSImageRep.html#method-3">+imagePasteboardTypes</a>
|
|
<li><a href ="NSImageRep.html#method-4">+imageRepClassForData:</a>
|
|
<li><a href ="NSImageRep.html#method-5">+imageRepClassForFileType:</a>
|
|
<li><a href ="NSImageRep.html#method-6">+imageRepClassForPasteboardType:</a>
|
|
<li><a href ="NSImageRep.html#method-7">+imageRepWithContentsOfFile:</a>
|
|
<li><a href ="NSImageRep.html#method-8">+imageRepWithPasteboard:</a>
|
|
<li><a href ="NSImageRep.html#method-9">+imageRepsWithContentsOfFile:</a>
|
|
<li><a href ="NSImageRep.html#method-10">+imageRepsWithPasteboard:</a>
|
|
<li><a href ="NSImageRep.html#method-11">+imageUnfilteredFileTypes</a>
|
|
<li><a href ="NSImageRep.html#method-12">+imageUnfilteredPasteboardTypes</a>
|
|
<li><a href ="NSImageRep.html#method-13">+registerImageRepClass:</a>
|
|
<li><a href ="NSImageRep.html#method-14">+registeredImageRepClasses</a>
|
|
<li><a href ="NSImageRep.html#method-15">+unregisterImageRepClass:</a>
|
|
<li><a href ="NSImageRep.html#method-16">-bitsPerSample</a>
|
|
<li><a href ="NSImageRep.html#method-17">-colorSpaceName</a>
|
|
<li><a href ="NSImageRep.html#method-18">-draw</a>
|
|
<li><a href ="NSImageRep.html#method-19">-drawAtPoint:</a>
|
|
<li><a href ="NSImageRep.html#method-20">-drawInRect:</a>
|
|
<li><a href ="NSImageRep.html#method-21">-hasAlpha</a>
|
|
<li><a href ="NSImageRep.html#method-22">-isOpaque</a>
|
|
<li><a href ="NSImageRep.html#method-23">-pixelsHigh</a>
|
|
<li><a href ="NSImageRep.html#method-24">-pixelsWide</a>
|
|
<li><a href ="NSImageRep.html#method-25">-setAlpha:</a>
|
|
<li><a href ="NSImageRep.html#method-26">-setBitsPerSample:</a>
|
|
<li><a href ="NSImageRep.html#method-27">-setColorSpaceName:</a>
|
|
<li><a href ="NSImageRep.html#method-28">-setOpaque:</a>
|
|
<li><a href ="NSImageRep.html#method-29">-setPixelsHigh:</a>
|
|
<li><a href ="NSImageRep.html#method-30">-setPixelsWide:</a>
|
|
<li><a href ="NSImageRep.html#method-31">-setSize:</a>
|
|
<li><a href ="NSImageRep.html#method-32">-size</a>
|
|
</ul>
|
|
<hr><h2>Class Methods </h2>
|
|
<h3><a name ="method-0">canInitWithData:</a></h3>
|
|
+ (BOOL) <b>canInitWithData:</b> (NSData*)data;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-1">canInitWithPasteboard:</a></h3>
|
|
+ (BOOL) <b>canInitWithPasteboard:</b> (NSPasteboard*)pasteboard;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-2">imageFileTypes</a></h3>
|
|
+ (NSArray*) <b>imageFileTypes</b>;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-3">imagePasteboardTypes</a></h3>
|
|
+ (NSArray*) <b>imagePasteboardTypes</b>;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-4">imageRepClassForData:</a></h3>
|
|
+ (Class) <b>imageRepClassForData:</b> (NSData*)data;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-5">imageRepClassForFileType:</a></h3>
|
|
+ (Class) <b>imageRepClassForFileType:</b> (NSString*)type;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-6">imageRepClassForPasteboardType:</a></h3>
|
|
+ (Class) <b>imageRepClassForPasteboardType:</b> (NSString*)type;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-7">imageRepWithContentsOfFile:</a></h3>
|
|
+ (id) <b>imageRepWithContentsOfFile:</b> (NSString*)filename;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-8">imageRepWithPasteboard:</a></h3>
|
|
+ (id) <b>imageRepWithPasteboard:</b> (NSPasteboard*)pasteboard;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-9">imageRepsWithContentsOfFile:</a></h3>
|
|
+ (NSArray*) <b>imageRepsWithContentsOfFile:</b> (NSString*)filename;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-10">imageRepsWithPasteboard:</a></h3>
|
|
+ (NSArray*) <b>imageRepsWithPasteboard:</b> (NSPasteboard*)pasteboard;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-11">imageUnfilteredFileTypes</a></h3>
|
|
+ (NSArray*) <b>imageUnfilteredFileTypes</b>;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-12">imageUnfilteredPasteboardTypes</a></h3>
|
|
+ (NSArray*) <b>imageUnfilteredPasteboardTypes</b>;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-13">registerImageRepClass:</a></h3>
|
|
+ (void) <b>registerImageRepClass:</b> (Class)imageRepClass;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-14">registeredImageRepClasses</a></h3>
|
|
+ (NSArray*) <b>registeredImageRepClasses</b>;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-15">unregisterImageRepClass:</a></h3>
|
|
+ (void) <b>unregisterImageRepClass:</b> (Class)imageRepClass;<br>
|
|
|
|
|
|
<hr>
|
|
<hr><h2>Instances Methods </h2>
|
|
<h3><a name ="method-16">bitsPerSample</a></h3>
|
|
- (int) <b>bitsPerSample</b>;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-17">colorSpaceName</a></h3>
|
|
- (NSString*) <b>colorSpaceName</b>;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-18">draw</a></h3>
|
|
- (BOOL) <b>draw</b>;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-19">drawAtPoint:</a></h3>
|
|
- (BOOL) <b>drawAtPoint:</b> (NSPoint)aPoint;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-20">drawInRect:</a></h3>
|
|
- (BOOL) <b>drawInRect:</b> (NSRect)rect;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-21">hasAlpha</a></h3>
|
|
- (BOOL) <b>hasAlpha</b>;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-22">isOpaque</a></h3>
|
|
- (BOOL) <b>isOpaque</b>;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-23">pixelsHigh</a></h3>
|
|
- (int) <b>pixelsHigh</b>;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-24">pixelsWide</a></h3>
|
|
- (int) <b>pixelsWide</b>;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-25">setAlpha:</a></h3>
|
|
- (void) <b>setAlpha:</b> (BOOL)flag;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-26">setBitsPerSample:</a></h3>
|
|
- (void) <b>setBitsPerSample:</b> (int)anInt;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-27">setColorSpaceName:</a></h3>
|
|
- (void) <b>setColorSpaceName:</b> (NSString*)string;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-28">setOpaque:</a></h3>
|
|
- (void) <b>setOpaque:</b> (BOOL)flag;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-29">setPixelsHigh:</a></h3>
|
|
- (void) <b>setPixelsHigh:</b> (int)anInt;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-30">setPixelsWide:</a></h3>
|
|
- (void) <b>setPixelsWide:</b> (int)anInt;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-31">setSize:</a></h3>
|
|
- (void) <b>setSize:</b> (NSSize)aSize;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-32">size</a></h3>
|
|
- (NSSize) <b>size</b>;<br>
|
|
|
|
|
|
<hr>
|
|
</body>
|
|
|
|
</html>
|