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.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     

    Nested classes/interfaces inherited from class com.sun.jna.Structure

    com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    baseline offset for ascii 33 - 57
    C type : l_int32
    int
    baseline offset for ascii 58 - 91
    C type : l_int32
    int
    baseline offset for ascii 93 - 126
    C type : l_int32
    com.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_int32
    int
    max height of line of chars
    C type : l_int32
    pixa of bitmaps for 93 characters
    C type : Pixa*
    int
    font size (in points at 300 ppi)
    C type : l_int32
    int
    pixel dist between word bitmaps
    C type : l_int32
    int
    extra vertical space between text lines
    C type : l_int32
    com.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

    Constructors
    Constructor
    Description
     
    L_Bmf(com.sun.jna.Pointer peer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected List<String>
    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • pixa

      public Pixa.ByReference pixa
      pixa of bitmaps for 93 characters
      C type : Pixa*
    • size

      public int size
      font size (in points at 300 ppi)
      C type : l_int32
    • directory

      public com.sun.jna.Pointer directory
      directory containing font bitmaps
      C type : char*
    • baseline1

      public int baseline1
      baseline offset for ascii 33 - 57
      C type : l_int32
    • baseline2

      public int baseline2
      baseline offset for ascii 58 - 91
      C type : l_int32
    • baseline3

      public int baseline3
      baseline offset for ascii 93 - 126
      C type : l_int32
    • lineheight

      public int lineheight
      max height of line of chars
      C type : l_int32
    • kernwidth

      public int kernwidth
      pixel dist between char bitmaps
      C type : l_int32
    • spacewidth

      public int spacewidth
      pixel dist between word bitmaps
      C type : l_int32
    • vertlinesep

      public int vertlinesep
      extra vertical space between text lines
      C type : l_int32
    • fonttab

      public com.sun.jna.ptr.IntByReference fonttab
      table mapping ascii --> font index
      C type : l_int32*
    • baselinetab

      public com.sun.jna.ptr.IntByReference baselinetab
      table mapping ascii --> baseline offset
      C type : l_int32*
    • widthtab

      public com.sun.jna.ptr.IntByReference widthtab
      table 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

      protected List<String> getFieldOrder()
      Gets this Structure's field names in their proper order.
      Overrides:
      getFieldOrder in class com.sun.jna.Structure
      Returns:
      list of ordered field names