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/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
-
Field Summary
Modifier and TypeFieldDescriptionint
baseline offset for ascii 33 - 57
C type : l_int32int
baseline offset for ascii 58 - 91
C type : l_int32int
baseline offset for ascii 93 - 126
C type : l_int32com.sun.jna.ptr.IntByReference
table mapping ascii --> baseline offset
C type : l_int32*com.sun.jna.Pointer
directory containing font bitmaps
C type : char*com.sun.jna.ptr.IntByReference
table mapping ascii --> font index
C type : l_int32*int
pixel dist between char bitmaps
C type : l_int32int
max height of line of chars
C type : l_int32pixa of bitmaps for 93 characters
C type : Pixa*int
font size (in points at 300 ppi)
C type : l_int32int
pixel dist between word bitmaps
C type : l_int32int
extra vertical space between text lines
C type : l_int32com.sun.jna.ptr.IntByReference
table mapping ascii --> char width
C type : l_int32*Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets 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
-
L_Bmf
public L_Bmf() -
L_Bmf
public L_Bmf(com.sun.jna.Pointer peer)
-
-
Method Details
-
getFieldOrder
Gets this Structure's field names in their proper order.- Overrides:
getFieldOrder
in classcom.sun.jna.Structure
- Returns:
- list of ordered field names
-