mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 18:11:13 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11788 72102866-910b-0410-8b05-ffd578937521
217 lines
6.3 KiB
HTML
217 lines
6.3 KiB
HTML
<html>
|
|
<head>
|
|
<title>NSBitmapImageRep.m</title>
|
|
</head>
|
|
<body>
|
|
<h1>NSBitmapImageRep.m</h1>
|
|
<h3>Authors</h3>
|
|
<dl>
|
|
<dt>Adam Fedor(<a href="mailto:fedor@gnu.org"><code>
|
|
fedor@gnu.org
|
|
</code></a>)</dt>
|
|
<dd>
|
|
</dd>
|
|
</dl>
|
|
<blockquote>
|
|
Bitmap image representation. </blockquote>
|
|
<p>Copyright: (C) 1996 Free Software Foundation, Inc.</p>
|
|
<h1>
|
|
Software documentation for the NSBitmapImageRep class
|
|
</h1>
|
|
<h2><a name="class$NSBitmapImageRep">NSBitmapImageRep</a> : <a href="NSImageRep.html#class$NSImageRep">NSImageRep</a></h2>
|
|
Declared: AppKit/NSBitmapImageRep.h<br />
|
|
<p>
|
|
|
|
</p>
|
|
<h3>TIFFRepresentationOfImageRepsInArray:</a></h3>
|
|
+ (NSData*) <b>TIFFRepresentationOfImageRepsInArray:</b> (NSArray*)anArray;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>TIFFRepresentationOfImageRepsInArray:usingCompression:factor:</a></h3>
|
|
+ (NSData*) <b>TIFFRepresentationOfImageRepsInArray:</b> (NSArray*)anArray<b> usingCompression:</b> (NSTIFFCompression)type<b> factor:</b> (float)factor;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>getTIFFCompressionTypes:count:</a></h3>
|
|
+ (void) <b>getTIFFCompressionTypes:</b> (const NSTIFFCompression**)list<b> count:</b> (int*)numTypes;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>imageRepWithData:</a></h3>
|
|
+ (id) <b>imageRepWithData:</b> (NSData*)tiffData;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>imageRepsWithData:</a></h3>
|
|
+ (NSArray*) <b>imageRepsWithData:</b> (NSData*)tiffData;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>localizedNameForTIFFCompressionType:</a></h3>
|
|
+ (NSString*) <b>localizedNameForTIFFCompressionType:</b> (NSTIFFCompression)type;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>representationOfImageRepsInArray:usingType:properties:</a></h3>
|
|
+ (NSData*) <b>representationOfImageRepsInArray:</b> (NSArray*)imageReps<b> usingType:</b> (NSBitmapImageFileType)storageType<b> properties:</b> (NSDictionary*)properties;<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)type<b> factor:</b> (float)factor;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>bitmapData</a></h3>
|
|
- (unsigned char*) <b>bitmapData</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>bitsPerPixel</a></h3>
|
|
- (int) <b>bitsPerPixel</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>bytesPerPlane</a></h3>
|
|
- (int) <b>bytesPerPlane</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>bytesPerRow</a></h3>
|
|
- (int) <b>bytesPerRow</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>canBeCompressedUsing:</a></h3>
|
|
- (BOOL) <b>canBeCompressedUsing:</b> (NSTIFFCompression)type;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>colorizeByMappingGray:toColor:blackMapping:whiteMapping:</a></h3>
|
|
- (void) <b>colorizeByMappingGray:</b> (float)midPoint<b> toColor:</b> (<a href="NSColor.html#class$NSColor">NSColor</a>*)midPointColor<b> blackMapping:</b> (<a href="NSColor.html#class$NSColor">NSColor</a>*)shadowColor<b> whiteMapping:</b> (<a href="NSColor.html#class$NSColor">NSColor</a>*)lightColor;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>getBitmapDataPlanes:</a></h3>
|
|
- (void) <b>getBitmapDataPlanes:</b> (unsigned char**)data;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>getCompression:factor:</a></h3>
|
|
- (void) <b>getCompression:</b> (NSTIFFCompression*)type<b> factor:</b> (float*)factor;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>initWithBitmapDataPlanes:pixelsWide:pixelsHigh:bitsPerSample:samplesPerPixel:hasAlpha:isPlanar:colorSpaceName:bytesPerRow:bitsPerPixel:</a></h3>
|
|
- (id) <b>initWithBitmapDataPlanes:</b> (unsigned char**)planes<b> pixelsWide:</b> (int)width<b> pixelsHigh:</b> (int)height<b> bitsPerSample:</b> (int)bps<b> samplesPerPixel:</b> (int)spp<b> hasAlpha:</b> (BOOL)alpha<b> isPlanar:</b> (BOOL)isPlanar<b> colorSpaceName:</b> (NSString*)colorSpaceName<b> bytesPerRow:</b> (int)rowBytes<b> bitsPerPixel:</b> (int)pixelBits;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>initWithBitmapHandle:</a></h3>
|
|
- (id) <b>initWithBitmapHandle:</b> (void*)bitmap;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>initWithData:</a></h3>
|
|
- (id) <b>initWithData:</b> (NSData*)tiffData;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>initWithFocusedViewRect:</a></h3>
|
|
- (id) <b>initWithFocusedViewRect:</b> (NSRect)rect;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>initWithIconHandle:</a></h3>
|
|
- (id) <b>initWithIconHandle:</b> (void*)icon;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>isPlanar</a></h3>
|
|
- (BOOL) <b>isPlanar</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>numberOfPlanes</a></h3>
|
|
- (int) <b>numberOfPlanes</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>representationUsingType:properties:</a></h3>
|
|
- (NSData*) <b>representationUsingType:</b> (NSBitmapImageFileType)storageType<b> properties:</b> (NSDictionary*)properties;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>samplesPerPixel</a></h3>
|
|
- (int) <b>samplesPerPixel</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>setCompression:factor:</a></h3>
|
|
- (void) <b>setCompression:</b> (NSTIFFCompression)type<b> factor:</b> (float)factor;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>setProperty:withValue:</a></h3>
|
|
- (void) <b>setProperty:</b> (NSString*)property<b> withValue:</b> (id)value;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>valueForProperty:</a></h3>
|
|
- (id) <b>valueForProperty:</b> (NSString*)property;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h1>
|
|
Software documentation for the
|
|
NSBitmapImageRep(GNUstepExtension)
|
|
category
|
|
</h1>
|
|
<h2><a href="#class$NSBitmapImageRep">NSBitmapImageRep</a>(<a name="category$NSBitmapImageRep(GNUstepExtension)">GNUstepExtension</a>)</h2>
|
|
Declared: AppKit/NSBitmapImageRep.h<br />
|
|
<p>
|
|
|
|
</p>
|
|
<h3>imageRepsWithFile:</a></h3>
|
|
+ (NSArray*) <b>imageRepsWithFile:</b> (NSString*)filename;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
</body>
|
|
</html>
|