Package net.sourceforge.lept4j
Class L_Bmf
java.lang.Object
com.sun.jna.Structure
net.sourceforge.lept4j.L_Bmf
- Direct Known Subclasses:
L_Bmf.ByReference
,L_Bmf.ByValue
public class L_Bmf
extends com.sun.jna.Structure
Data structure to hold bitmap fonts and related data
native declaration : bmf.h:19
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java or JNA.
native declaration : bmf.h:19
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java or JNA.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
L_Bmf.ByReference
static class
L_Bmf.ByValue
-
Field Summary
Fields Modifier and Type Field Description int
baseline1
baseline offset for ascii 33 - 57
C type : l_int32int
baseline2
baseline offset for ascii 58 - 91
C type : l_int32int
baseline3
baseline offset for ascii 93 - 126
C type : l_int32com.sun.jna.ptr.IntByReference
baselinetab
table mapping ascii --> baseline offset
C type : l_int32*com.sun.jna.Pointer
directory
directory containing font bitmaps
C type : char*com.sun.jna.ptr.IntByReference
fonttab
table mapping ascii --> font index
C type : l_int32*int
kernwidth
pixel dist between char bitmaps
C type : l_int32int
lineheight
max height of line of chars
C type : l_int32Pixa.ByReference
pixa
pixa of bitmaps for 93 characters
C type : Pixa*int
size
font size (in points at 300 ppi)
C type : l_int32int
spacewidth
pixel dist between word bitmaps
C type : l_int32int
vertlinesep
extra vertical space between text lines
C type : l_int32com.sun.jna.ptr.IntByReference
widthtab
table mapping ascii --> char width
C type : l_int32* -
Constructor Summary
-
Method Summary
Modifier and Type Method Description protected java.util.List<java.lang.String>
getFieldOrder()
Gets this Structure's field names in their proper order.Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
Field Details
-
pixa
pixa of bitmaps for 93 characters
C type : Pixa* -
size
public int sizefont size (in points at 300 ppi)
C type : l_int32 -
directory
public com.sun.jna.Pointer directorydirectory containing font bitmaps
C type : char* -
baseline1
public int baseline1baseline offset for ascii 33 - 57
C type : l_int32 -
baseline2
public int baseline2baseline offset for ascii 58 - 91
C type : l_int32 -
baseline3
public int baseline3baseline offset for ascii 93 - 126
C type : l_int32 -
lineheight
public int lineheightmax height of line of chars
C type : l_int32 -
kernwidth
public int kernwidthpixel dist between char bitmaps
C type : l_int32 -
spacewidth
public int spacewidthpixel dist between word bitmaps
C type : l_int32 -
vertlinesep
public int vertlinesepextra vertical space between text lines
C type : l_int32 -
fonttab
public com.sun.jna.ptr.IntByReference fonttabtable mapping ascii --> font index
C type : l_int32* -
baselinetab
public com.sun.jna.ptr.IntByReference baselinetabtable mapping ascii --> baseline offset
C type : l_int32* -
widthtab
public com.sun.jna.ptr.IntByReference widthtabtable mapping ascii --> char width
C type : l_int32*
-
-
Constructor Details
-
Method Details
-
getFieldOrder
protected java.util.List<java.lang.String> getFieldOrder()Gets this Structure's field names in their proper order.- Overrides:
getFieldOrder
in classcom.sun.jna.Structure
- Returns:
- list of ordered field names
-