@Name(value="Pix") @Properties(inherit=leptonica.class) public class PIX extends AbstractPIX
AbstractPIX.DestroyDeallocator
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
pointer
Constructor and Description |
---|
PIX()
Default native constructor.
|
PIX(long size)
Native array allocator.
|
PIX(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
PIXCMAP |
colormap()
colormap (may be null)
|
PIX |
colormap(PIXCMAP setter) |
int |
d()
depth in bits (bpp)
|
PIX |
d(int setter) |
IntPointer |
data()
the image data
|
PIX |
data(IntPointer setter) |
PIX |
getPointer(long i) |
int |
h()
height in pixels
|
PIX |
h(int setter) |
int |
informat()
input file format, IFF_*
|
PIX |
informat(int setter) |
PIX |
position(long position) |
int |
refcount()
reference count (1 if no clones)
|
PIX |
refcount(int setter) |
int |
special()
special instructions for I/O, etc
|
PIX |
special(int setter) |
int |
spp()
number of samples per pixel
|
PIX |
spp(int setter) |
BytePointer |
text()
text string associated with pix
|
PIX |
text(BytePointer setter) |
int |
w()
width in pixels
|
PIX |
w(int setter) |
int |
wpl()
32-bit words/line
|
PIX |
wpl(int setter) |
int |
xres()
(use 0 if unknown)
|
PIX |
xres(int setter) |
int |
yres()
(use 0 if unknown)
|
PIX |
yres(int setter) |
clone, create, create, createBuffer, createBuffer, createHeader, createIndexer, createIndexer, createNoInit, createTemplate, createTemplateNoInit, destroy
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public PIX()
public PIX(long size)
Pointer.position(long)
.public PIX(Pointer p)
Pointer(Pointer)
.public PIX getPointer(long i)
getPointer
in class Pointer
public PIX w(int setter)
public PIX h(int setter)
public PIX d(int setter)
public PIX spp(int setter)
public PIX wpl(int setter)
public PIX refcount(int setter)
public PIX xres(int setter)
public PIX yres(int setter)
public PIX informat(int setter)
public PIX special(int setter)
@Cast(value="char*") public BytePointer text()
public PIX text(BytePointer setter)
public PIXCMAP colormap()
@Cast(value="l_uint32*") public IntPointer data()
public PIX data(IntPointer setter)
Copyright © 2024. All rights reserved.