@Name(value="PixComp") public static class lept.PIXC extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
PIXC()
Default native constructor.
|
PIXC(long size)
Native array allocator.
|
PIXC(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
cmapflag()
flag (1 for cmap, 0 otherwise)
|
lept.PIXC |
cmapflag(int cmapflag) |
int |
comptype()
IFF_PNG, IFF_JFIF_JPEG)
|
lept.PIXC |
comptype(int comptype) |
int |
d()
depth in bits
|
lept.PIXC |
d(int d) |
BytePointer |
data()
the compressed image data
|
lept.PIXC |
data(BytePointer data) |
int |
h()
height in pixels
|
lept.PIXC |
h(int h) |
lept.PIXC |
position(long position) |
long |
size()
size of the data array
|
lept.PIXC |
size(long size) |
BytePointer |
text()
text string associated with pix
|
lept.PIXC |
text(BytePointer text) |
int |
w()
width in pixels
|
lept.PIXC |
w(int w) |
int |
xres()
(use 0 if unknown)
|
lept.PIXC |
xres(int xres) |
int |
yres()
(use 0 if unknown)
|
lept.PIXC |
yres(int yres) |
address, 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 PIXC()
public PIXC(long size)
Pointer.position(long).public PIXC(Pointer p)
Pointer.Pointer(Pointer).public lept.PIXC w(int w)
public lept.PIXC h(int h)
public lept.PIXC d(int d)
public lept.PIXC xres(int xres)
public lept.PIXC yres(int yres)
public lept.PIXC comptype(int comptype)
@Cast(value="char*") public BytePointer text()
public lept.PIXC text(BytePointer text)
public lept.PIXC cmapflag(int cmapflag)
@Cast(value="l_uint8*") public BytePointer data()
public lept.PIXC data(BytePointer data)
public lept.PIXC size(long size)
Copyright © 2019. All rights reserved.