@Name(value="Pix") public static class lept.PIX extends lept.AbstractPIX
lept.AbstractPIX.DestroyDeallocatorPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocatorpointer| 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 |
|---|---|
lept.PIXCMAP |
colormap()
colormap (may be null)
|
lept.PIX |
colormap(lept.PIXCMAP colormap) |
int |
d()
depth in bits (bpp)
|
lept.PIX |
d(int d) |
IntPointer |
data()
the image data
|
lept.PIX |
data(IntPointer data) |
int |
h()
height in pixels
|
lept.PIX |
h(int h) |
int |
informat()
input file format, IFF_*
|
lept.PIX |
informat(int informat) |
lept.PIX |
position(long position) |
int |
refcount()
reference count (1 if no clones)
|
lept.PIX |
refcount(int refcount) |
int |
special()
special instructions for I/O, etc
|
lept.PIX |
special(int special) |
int |
spp()
number of samples per pixel
|
lept.PIX |
spp(int spp) |
BytePointer |
text()
text string associated with pix
|
lept.PIX |
text(BytePointer text) |
int |
w()
width in pixels
|
lept.PIX |
w(int w) |
int |
wpl()
32-bit words/line
|
lept.PIX |
wpl(int wpl) |
int |
xres()
(use 0 if unknown)
|
lept.PIX |
xres(int xres) |
int |
yres()
(use 0 if unknown)
|
lept.PIX |
yres(int yres) |
clone, create, create, createBuffer, createBuffer, createHeader, createIndexer, createIndexer, createNoInit, createTemplate, createTemplateNoInit, destroyaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic PIX()
public PIX(long size)
Pointer.position(long).public PIX(Pointer p)
Pointer.Pointer(Pointer).public lept.PIX w(int w)
public lept.PIX h(int h)
public lept.PIX d(int d)
public lept.PIX spp(int spp)
public lept.PIX wpl(int wpl)
public lept.PIX refcount(int refcount)
public lept.PIX xres(int xres)
public lept.PIX yres(int yres)
public lept.PIX informat(int informat)
public lept.PIX special(int special)
@Cast(value="char*") public BytePointer text()
public lept.PIX text(BytePointer text)
public lept.PIXCMAP colormap()
public lept.PIX colormap(lept.PIXCMAP colormap)
@Cast(value="l_uint32*") public IntPointer data()
public lept.PIX data(IntPointer data)
Copyright © 2019. All rights reserved.