|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rococoa.cocoa.foundation.NSObject
org.rococoa.cocoa.appkit.NSImageRep
org.rococoa.cocoa.appkit.NSBitmapImageRep
public abstract class NSBitmapImageRep
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.
| Nested Class Summary | |
|---|---|
static class |
NSBitmapImageRep.__bitmapRepFlags
|
static class |
NSBitmapImageRep._class_
|
| Nested classes/interfaces inherited from class org.rococoa.cocoa.appkit.NSImageRep |
|---|
NSImageRep.__repFlags |
| Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCopying |
|---|
NSCopying._static_ |
| Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding |
|---|
NSCoding._static_ |
| Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject |
|---|
NSObject._static_ |
| Constructor Summary | |
|---|---|
NSBitmapImageRep()
|
|
| Method Summary | |
|---|---|
static NSBitmapImageRep |
alloc()
|
NSBitmapImageFileTypeExtensions |
as_NSBitmapImageRep_NSBitmapImageFileTypeExtensions()
|
abstract Pointer |
bitmapData()
Original signature : -(unsigned char*)bitmapDatanative declaration : NSBitmapImageRep.h:115 |
abstract int |
bitmapFormat()
Original signature : -(NSBitmapFormat)bitmapFormatnative declaration : NSBitmapImageRep.h:124 |
abstract NSBitmapImageRep |
bitmapImageRepByRetaggingWithColorSpace(NSColorSpace newSpace)
Original signature : -(NSBitmapImageRep*)bitmapImageRepByRetaggingWithColorSpace:(NSColorSpace*)native declaration : NSBitmapImageRep.h:167 |
abstract NSInteger |
bitsPerPixel()
Original signature : -(NSInteger)bitsPerPixelnative declaration : NSBitmapImageRep.h:119 |
abstract NSInteger |
bytesPerPlane()
Original signature : -(NSInteger)bytesPerPlanenative declaration : NSBitmapImageRep.h:121 |
abstract NSInteger |
bytesPerRow()
Original signature : -(NSInteger)bytesPerRownative declaration : NSBitmapImageRep.h:120 |
abstract boolean |
canBeCompressedUsing(int compression)
Original signature : -(BOOL)canBeCompressedUsing:(NSTIFFCompression)native declaration : NSBitmapImageRep.h:138 |
abstract NSObject |
CGImage()
Original signature : -(id)CGImagenative declaration : NSBitmapImageRep.h:160 |
abstract NSColor |
colorAtX_y(NSInteger x,
NSInteger y)
Original signature : -(NSColor*)colorAtX:(NSInteger) y:(NSInteger)native declaration : NSBitmapImageRep.h:153 |
abstract void |
colorizeByMappingGray_toColor_blackMapping_whiteMapping(org.rococoa.cocoa.CGFloat midPoint,
NSColor midPointColor,
NSColor shadowColor,
NSColor lightColor)
Support for colorization of grayscale images. |
abstract NSColorSpace |
colorSpace()
Original signature : -(NSColorSpace*)colorSpacenative declaration : NSBitmapImageRep.h:164 |
static NSBitmapImageRep |
createForIncrementalLoad()
Factory method |
static NSBitmapImageRep |
createWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bitmapFormat_bytesPerRow_bitsPerPixel(PointerByReference planes,
NSInteger width,
NSInteger height,
NSInteger bps,
NSInteger spp,
boolean alpha,
boolean isPlanar,
NSString colorSpaceName,
int bitmapFormat,
NSInteger rBytes,
NSInteger pBits)
Factory method |
static NSBitmapImageRep |
createWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bytesPerRow_bitsPerPixel(PointerByReference planes,
NSInteger width,
NSInteger height,
NSInteger bps,
NSInteger spp,
boolean alpha,
boolean isPlanar,
NSString colorSpaceName,
NSInteger rBytes,
NSInteger pBits)
Factory method |
static NSBitmapImageRep |
createWithCIImage(CIImage ciImage)
Factory method |
static NSBitmapImageRep |
createWithData(NSData data)
Factory method |
abstract void |
getBitmapDataPlanes(PointerByReference data)
Original signature : -(void)getBitmapDataPlanes:(unsigned char**)native declaration : NSBitmapImageRep.h:116 |
abstract void |
getCompression_factor(IntBuffer compression,
FloatBuffer factor)
Original signature : -(void)getCompression:(NSTIFFCompression*) factor:(float*)native declaration : NSBitmapImageRep.h:127 |
abstract void |
getCompression_factor(IntByReference compression,
FloatByReference factor)
Deprecated. use the safer methods getCompression_factor(java.nio.IntBuffer, java.nio.FloatBuffer) and getCompression_factor(com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.FloatByReference) instead |
static NSBitmapImageRep._class_ |
getNSClass()
|
abstract void |
getPixel_atX_y(NativeSizeByReference p,
NSInteger x,
NSInteger y)
Original signature : -(void)getPixel:(NSUInteger[]) atX:(NSInteger) y:(NSInteger)native declaration : NSBitmapImageRep.h:155 |
static void |
getTIFFCompressionTypes_count(PointerByReference list,
NativeSizeByReference numTypes)
Original signature : +(void)getTIFFCompressionTypes:(const NSTIFFCompression**) count:(NSInteger*)native declaration : NSBitmapImageRep.h:136 |
static NSArray |
imageRepsWithData(NSData data)
some file formats can contain multiple images Original signature : +(NSArray*)imageRepsWithData:(NSData*)native declaration : NSBitmapImageRep.h:110 |
static NSBitmapImageRep |
imageRepWithData(NSData data)
Convenience of initWithData: Original signature : +(id)imageRepWithData:(NSData*)native declaration : NSBitmapImageRep.h:112 |
abstract NSInteger |
incrementalLoadFromData_complete(NSData data,
boolean complete)
Original signature : -(NSInteger)incrementalLoadFromData:(NSData*) complete:(BOOL)native declaration : NSBitmapImageRep.h:148 |
abstract NSBitmapImageRep |
initForIncrementalLoad()
Original signature : -(id)initForIncrementalLoadnative declaration : NSBitmapImageRep.h:147 |
abstract NSBitmapImageRep |
initWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bitmapFormat_bytesPerRow_bitsPerPixel(PointerByReference planes,
NSInteger width,
NSInteger height,
NSInteger bps,
NSInteger spp,
boolean alpha,
boolean isPlanar,
NSString colorSpaceName,
int bitmapFormat,
NSInteger rBytes,
NSInteger pBits)
Original signature : -(id)initWithBitmapDataPlanes:(unsigned char**) pixelsWide:(NSInteger) pixelsHigh:(NSInteger) bitsPerSample:(NSInteger) samplesPerPixel:(NSInteger) hasAlpha:(BOOL) isPlanar:(BOOL) colorSpaceName:(NSString*) bitmapFormat:(NSBitmapFormat) bytesPerRow:(NSInteger) bitsPerPixel:(NSInteger)native declaration : NSBitmapImageRep.h:103 |
abstract NSBitmapImageRep |
initWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bytesPerRow_bitsPerPixel(PointerByReference planes,
NSInteger width,
NSInteger height,
NSInteger bps,
NSInteger spp,
boolean alpha,
boolean isPlanar,
NSString colorSpaceName,
NSInteger rBytes,
NSInteger pBits)
Original signature : -(id)initWithBitmapDataPlanes:(unsigned char**) pixelsWide:(NSInteger) pixelsHigh:(NSInteger) bitsPerSample:(NSInteger) samplesPerPixel:(NSInteger) hasAlpha:(BOOL) isPlanar:(BOOL) colorSpaceName:(NSString*) bytesPerRow:(NSInteger) bitsPerPixel:(NSInteger)native declaration : NSBitmapImageRep.h:101 |
abstract NSBitmapImageRep |
initWithCIImage(CIImage ciImage)
Original signature : -(id)initWithCIImage:(CIImage*)native declaration : NSBitmapImageRep.h:107 |
abstract NSBitmapImageRep |
initWithData(NSData data)
Original signature : -(id)initWithData:(NSData*)native declaration : NSBitmapImageRep.h:113 |
abstract boolean |
isPlanar()
Original signature : -(BOOL)isPlanarnative declaration : NSBitmapImageRep.h:117 |
static NSString |
localizedNameForTIFFCompressionType(int compression)
Original signature : +(NSString*)localizedNameForTIFFCompressionType:(NSTIFFCompression)native declaration : NSBitmapImageRep.h:137 |
static NSBitmapImageRep |
new_()
|
abstract NSInteger |
numberOfPlanes()
Original signature : -(NSInteger)numberOfPlanesnative declaration : NSBitmapImageRep.h:122 |
abstract NSInteger |
samplesPerPixel()
Original signature : -(NSInteger)samplesPerPixelnative declaration : NSBitmapImageRep.h:118 |
abstract void |
setColor_atX_y(NSColor color,
NSInteger x,
NSInteger y)
Original signature : -(void)setColor:(NSColor*) atX:(NSInteger) y:(NSInteger)native declaration : NSBitmapImageRep.h:152 |
abstract void |
setCompression_factor(int compression,
float factor)
Original signature : -(void)setCompression:(NSTIFFCompression) factor:(float)native declaration : NSBitmapImageRep.h:128 |
abstract void |
setPixel_atX_y(NativeSizeByReference p,
NSInteger x,
NSInteger y)
Original signature : -(void)setPixel:(NSUInteger[]) atX:(NSInteger) y:(NSInteger)native declaration : NSBitmapImageRep.h:156 |
abstract NSData |
TIFFRepresentation()
Original signature : -(NSData*)TIFFRepresentationnative declaration : NSBitmapImageRep.h:130 |
static NSData |
TIFFRepresentationOfImageRepsInArray_usingCompression_factor(NSArray array,
int comp,
float factor)
Original signature : +(NSData*)TIFFRepresentationOfImageRepsInArray:(NSArray*) usingCompression:(NSTIFFCompression) factor:(float)native declaration : NSBitmapImageRep.h:134 |
static NSData |
TIFFRepresentationOfImageRepsInArray(NSArray array)
Original signature : +(NSData*)TIFFRepresentationOfImageRepsInArray:(NSArray*)native declaration : NSBitmapImageRep.h:133 |
abstract NSData |
TIFFRepresentationUsingCompression_factor(int comp,
float factor)
Original signature : -(NSData*)TIFFRepresentationUsingCompression:(NSTIFFCompression) factor:(float)native declaration : NSBitmapImageRep.h:131 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSCopying |
|---|
copyWithZone |
| Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding |
|---|
encodeWithCoder, initWithCoder |
| Methods inherited from interface org.rococoa.ObjCObject |
|---|
id |
| Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject |
|---|
autorelease, class_, conformsToProtocol, hash, isEqual, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone |
| Constructor Detail |
|---|
public NSBitmapImageRep()
| Method Detail |
|---|
public NSBitmapImageFileTypeExtensions as_NSBitmapImageRep_NSBitmapImageFileTypeExtensions()
public abstract NSBitmapImageRep initWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bytesPerRow_bitsPerPixel(PointerByReference planes,
NSInteger width,
NSInteger height,
NSInteger bps,
NSInteger spp,
boolean alpha,
boolean isPlanar,
NSString colorSpaceName,
NSInteger rBytes,
NSInteger pBits)
-(id)initWithBitmapDataPlanes:(unsigned char**) pixelsWide:(NSInteger) pixelsHigh:(NSInteger) bitsPerSample:(NSInteger) samplesPerPixel:(NSInteger) hasAlpha:(BOOL) isPlanar:(BOOL) colorSpaceName:(NSString*) bytesPerRow:(NSInteger) bitsPerPixel:(NSInteger)
public static NSBitmapImageRep createWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bytesPerRow_bitsPerPixel(PointerByReference planes,
NSInteger width,
NSInteger height,
NSInteger bps,
NSInteger spp,
boolean alpha,
boolean isPlanar,
NSString colorSpaceName,
NSInteger rBytes,
NSInteger pBits)
initWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bytesPerRow_bitsPerPixel(com.sun.jna.ptr.PointerByReference, org.rococoa.cocoa.foundation.NSInteger, org.rococoa.cocoa.foundation.NSInteger, org.rococoa.cocoa.foundation.NSInteger, org.rococoa.cocoa.foundation.NSInteger, boolean, boolean, org.rococoa.cocoa.foundation.NSString, org.rococoa.cocoa.foundation.NSInteger, org.rococoa.cocoa.foundation.NSInteger)
public abstract NSBitmapImageRep initWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bitmapFormat_bytesPerRow_bitsPerPixel(PointerByReference planes,
NSInteger width,
NSInteger height,
NSInteger bps,
NSInteger spp,
boolean alpha,
boolean isPlanar,
NSString colorSpaceName,
int bitmapFormat,
NSInteger rBytes,
NSInteger pBits)
-(id)initWithBitmapDataPlanes:(unsigned char**) pixelsWide:(NSInteger) pixelsHigh:(NSInteger) bitsPerSample:(NSInteger) samplesPerPixel:(NSInteger) hasAlpha:(BOOL) isPlanar:(BOOL) colorSpaceName:(NSString*) bitmapFormat:(NSBitmapFormat) bytesPerRow:(NSInteger) bitsPerPixel:(NSInteger)
bitmapFormat - @see org.rococoa.cocoa.appkit.AppKitLibrary#NSBitmapFormat
public static NSBitmapImageRep createWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bitmapFormat_bytesPerRow_bitsPerPixel(PointerByReference planes,
NSInteger width,
NSInteger height,
NSInteger bps,
NSInteger spp,
boolean alpha,
boolean isPlanar,
NSString colorSpaceName,
int bitmapFormat,
NSInteger rBytes,
NSInteger pBits)
initWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bitmapFormat_bytesPerRow_bitsPerPixel(com.sun.jna.ptr.PointerByReference, org.rococoa.cocoa.foundation.NSInteger, org.rococoa.cocoa.foundation.NSInteger, org.rococoa.cocoa.foundation.NSInteger, org.rococoa.cocoa.foundation.NSInteger, boolean, boolean, org.rococoa.cocoa.foundation.NSString, int, org.rococoa.cocoa.foundation.NSInteger, org.rococoa.cocoa.foundation.NSInteger)public abstract NSBitmapImageRep initWithCIImage(CIImage ciImage)
-(id)initWithCIImage:(CIImage*)
public static NSBitmapImageRep createWithCIImage(CIImage ciImage)
initWithCIImage(org.rococoa.cocoa.quartzcore.CIImage)public static NSArray imageRepsWithData(NSData data)
+(NSArray*)imageRepsWithData:(NSData*)
public static NSBitmapImageRep imageRepWithData(NSData data)
+(id)imageRepWithData:(NSData*)
public abstract NSBitmapImageRep initWithData(NSData data)
-(id)initWithData:(NSData*)
public static NSBitmapImageRep createWithData(NSData data)
initWithData(org.rococoa.cocoa.foundation.NSData)public abstract Pointer bitmapData()
-(unsigned char*)bitmapData
public abstract void getBitmapDataPlanes(PointerByReference data)
-(void)getBitmapDataPlanes:(unsigned char**)
public abstract boolean isPlanar()
-(BOOL)isPlanar
public abstract NSInteger samplesPerPixel()
-(NSInteger)samplesPerPixel
public abstract NSInteger bitsPerPixel()
-(NSInteger)bitsPerPixel
public abstract NSInteger bytesPerRow()
-(NSInteger)bytesPerRow
public abstract NSInteger bytesPerPlane()
-(NSInteger)bytesPerPlane
public abstract NSInteger numberOfPlanes()
-(NSInteger)numberOfPlanes
public abstract int bitmapFormat()
-(NSBitmapFormat)bitmapFormat
@Deprecated
public abstract void getCompression_factor(IntByReference compression,
FloatByReference factor)
getCompression_factor(java.nio.IntBuffer, java.nio.FloatBuffer) and getCompression_factor(com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.FloatByReference) instead
-(void)getCompression:(NSTIFFCompression*) factor:(float*)
compression - @see org.rococoa.cocoa.appkit.AppKitLibrary#NSTIFFCompression
public abstract void getCompression_factor(IntBuffer compression,
FloatBuffer factor)
-(void)getCompression:(NSTIFFCompression*) factor:(float*)
public abstract void setCompression_factor(int compression,
float factor)
-(void)setCompression:(NSTIFFCompression) factor:(float)
compression - @see org.rococoa.cocoa.appkit.AppKitLibrary#NSTIFFCompressionpublic abstract NSData TIFFRepresentation()
-(NSData*)TIFFRepresentation
public abstract NSData TIFFRepresentationUsingCompression_factor(int comp,
float factor)
-(NSData*)TIFFRepresentationUsingCompression:(NSTIFFCompression) factor:(float)
comp - @see org.rococoa.cocoa.appkit.AppKitLibrary#NSTIFFCompressionpublic static NSData TIFFRepresentationOfImageRepsInArray(NSArray array)
+(NSData*)TIFFRepresentationOfImageRepsInArray:(NSArray*)
public static NSData TIFFRepresentationOfImageRepsInArray_usingCompression_factor(NSArray array,
int comp,
float factor)
+(NSData*)TIFFRepresentationOfImageRepsInArray:(NSArray*) usingCompression:(NSTIFFCompression) factor:(float)
comp - @see org.rococoa.cocoa.appkit.AppKitLibrary#NSTIFFCompression
public static void getTIFFCompressionTypes_count(PointerByReference list,
NativeSizeByReference numTypes)
+(void)getTIFFCompressionTypes:(const NSTIFFCompression**) count:(NSInteger*)
public static NSString localizedNameForTIFFCompressionType(int compression)
+(NSString*)localizedNameForTIFFCompressionType:(NSTIFFCompression)
compression - @see org.rococoa.cocoa.appkit.AppKitLibrary#NSTIFFCompressionpublic abstract boolean canBeCompressedUsing(int compression)
-(BOOL)canBeCompressedUsing:(NSTIFFCompression)
compression - @see org.rococoa.cocoa.appkit.AppKitLibrary#NSTIFFCompression
public abstract void colorizeByMappingGray_toColor_blackMapping_whiteMapping(org.rococoa.cocoa.CGFloat midPoint,
NSColor midPointColor,
NSColor shadowColor,
NSColor lightColor)
-(void)colorizeByMappingGray:(CGFloat) toColor:(NSColor*) blackMapping:(NSColor*) whiteMapping:(NSColor*)
public abstract NSBitmapImageRep initForIncrementalLoad()
-(id)initForIncrementalLoad
public static NSBitmapImageRep createForIncrementalLoad()
initForIncrementalLoad()
public abstract NSInteger incrementalLoadFromData_complete(NSData data,
boolean complete)
-(NSInteger)incrementalLoadFromData:(NSData*) complete:(BOOL)
public abstract void setColor_atX_y(NSColor color,
NSInteger x,
NSInteger y)
-(void)setColor:(NSColor*) atX:(NSInteger) y:(NSInteger)
public abstract NSColor colorAtX_y(NSInteger x,
NSInteger y)
-(NSColor*)colorAtX:(NSInteger) y:(NSInteger)
public abstract void getPixel_atX_y(NativeSizeByReference p,
NSInteger x,
NSInteger y)
-(void)getPixel:(NSUInteger[]) atX:(NSInteger) y:(NSInteger)
public abstract void setPixel_atX_y(NativeSizeByReference p,
NSInteger x,
NSInteger y)
-(void)setPixel:(NSUInteger[]) atX:(NSInteger) y:(NSInteger)
public abstract NSObject CGImage()
-(id)CGImage
public abstract NSColorSpace colorSpace()
-(NSColorSpace*)colorSpace
public abstract NSBitmapImageRep bitmapImageRepByRetaggingWithColorSpace(NSColorSpace newSpace)
-(NSBitmapImageRep*)bitmapImageRepByRetaggingWithColorSpace:(NSColorSpace*)
public static NSBitmapImageRep alloc()
public static NSBitmapImageRep new_()
public static NSBitmapImageRep._class_ getNSClass()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||