Package org.bytedeco.leptonica
Class L_BMF
java.lang.Object
org.bytedeco.javacpp.Pointer
org.bytedeco.leptonica.L_BMF
- All Implemented Interfaces:
AutoCloseable
Data structure to hold bitmap fonts and related data
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
baseline offset for ascii 33 - 57baseline1
(int setter) int
baseline offset for ascii 58 - 91baseline2
(int setter) int
baseline offset for ascii 93 - 126baseline3
(int setter) table mapping ascii --> baseline offsetbaselinetab
(IntPointer setter) directory containing font bitmapsdirectory
(BytePointer setter) fonttab()
table mapping ascii --> font indexfonttab
(IntPointer setter) getPointer
(long i) int
pixel dist between char bitmapskernwidth
(int setter) int
max height of line of charslineheight
(int setter) pixa()
pixa of bitmaps for 93 charactersposition
(long position) int
size()
font size (in points at 300 ppi)size
(int setter) int
pixel dist between word bitmapsspacewidth
(int setter) int
extra vertical space between text linesvertlinesep
(int setter) widthtab()
table mapping ascii --> char widthwidthtab
(IntPointer setter) Methods inherited from class org.bytedeco.javacpp.Pointer
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
-
Constructor Details
-
L_BMF
public L_BMF()Default native constructor. -
L_BMF
public L_BMF(long size) Native array allocator. Access withPointer.position(long)
. -
L_BMF
Pointer cast constructor. InvokesPointer(Pointer)
.
-
-
Method Details
-
position
-
getPointer
- Overrides:
getPointer
in classPointer
-
pixa
pixa of bitmaps for 93 characters -
pixa
-
size
font size (in points at 300 ppi) -
size
-
directory
directory containing font bitmaps -
directory
-
baseline1
baseline offset for ascii 33 - 57 -
baseline1
-
baseline2
baseline offset for ascii 58 - 91 -
baseline2
-
baseline3
baseline offset for ascii 93 - 126 -
baseline3
-
lineheight
max height of line of chars -
lineheight
-
kernwidth
pixel dist between char bitmaps -
kernwidth
-
spacewidth
pixel dist between word bitmaps -
spacewidth
-
vertlinesep
extra vertical space between text lines -
vertlinesep
-
fonttab
table mapping ascii --> font index -
fonttab
-
baselinetab
table mapping ascii --> baseline offset -
baselinetab
-
widthtab
table mapping ascii --> char width -
widthtab
-