@Properties(inherit=leptonica.class) public abstract class AbstractDPIX extends Pointer implements Indexable
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractDPIX.DestroyDeallocator |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
AbstractDPIX(Pointer p) |
Modifier and Type | Method and Description |
---|---|
DPIX |
clone()
Calls dpixClone(), and registers a deallocator.
|
static DPIX |
create(int width,
int height)
Calls dpixCreate(), and registers a deallocator.
|
DoubleBuffer |
createBuffer() |
DoubleBuffer |
createBuffer(int index) |
DoubleIndexer |
createIndexer() |
DoubleIndexer |
createIndexer(boolean direct) |
static DPIX |
createTemplate(DPIX dpixs)
Calls dpixCreateTemplate(), and registers a deallocator.
|
void |
destroy()
Calls the deallocator, if registered, otherwise has no effect.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public AbstractDPIX(Pointer p)
public static DPIX create(int width, int height)
public static DPIX createTemplate(DPIX dpixs)
public DPIX clone()
public DoubleBuffer createBuffer()
createBuffer(0)
public DoubleBuffer createBuffer(int index)
DPIX.data()
wrapped in a DoubleBuffer
starting at given byte index.public DoubleIndexer createIndexer()
createIndexer(true)
public DoubleIndexer createIndexer(boolean direct)
createIndexer
in interface Indexable
public void destroy()
Copyright © 2024. All rights reserved.