org.rococoa.cocoa.ats
Class KernIndexArrayHeader

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.ochafik.lang.jnaerator.runtime.Structure
          extended by org.rococoa.cocoa.ats.KernIndexArrayHeader
Direct Known Subclasses:
KernIndexArrayHeader.ByReference, KernIndexArrayHeader.ByValue

public class KernIndexArrayHeader
extends com.ochafik.lang.jnaerator.runtime.Structure

Index Array
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static class KernIndexArrayHeader.ByReference
           
static class KernIndexArrayHeader.ByValue
           
 
Field Summary
 byte flags
           
 short glyphCount
           
 byte[] kernIndex
           
 short[] kernValue
           
 byte kernValueCount
           
 byte[] leftClass
           
 byte leftClassCount
           
 byte[] rightClass
           
 byte rightClassCount
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
KernIndexArrayHeader()
           
KernIndexArrayHeader(short glyphCount, byte kernValueCount, byte leftClassCount, byte rightClassCount, byte flags, short[] kernValue, byte[] leftClass, byte[] rightClass, byte[] kernIndex)
           
 
Method Summary
 KernIndexArrayHeader.ByReference byReference()
           
 KernIndexArrayHeader.ByValue byValue()
           
 KernIndexArrayHeader clone()
           
 
Methods inherited from class com.ochafik.lang.jnaerator.runtime.Structure
setupClone
 
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, cacheTypeInfo, clear, ensureAllocated, equals, getAutoRead, getAutoWrite, getFieldOrder, getNativeAlignment, getPointer, getStructAlignment, hashCode, newInstance, read, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setTypeMapper, size, sortFields, toArray, toArray, toString, useMemory, useMemory, write, writeField, writeField
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

glyphCount

public short glyphCount

kernValueCount

public byte kernValueCount

leftClassCount

public byte leftClassCount

rightClassCount

public byte rightClassCount

flags

public byte flags

kernValue

public short[] kernValue

leftClass

public byte[] leftClass

rightClass

public byte[] rightClass

kernIndex

public byte[] kernIndex
Constructor Detail

KernIndexArrayHeader

public KernIndexArrayHeader()

KernIndexArrayHeader

public KernIndexArrayHeader(short glyphCount,
                            byte kernValueCount,
                            byte leftClassCount,
                            byte rightClassCount,
                            byte flags,
                            short[] kernValue,
                            byte[] leftClass,
                            byte[] rightClass,
                            byte[] kernIndex)
Parameters:
flags - set to 0 for now
kernValue - actual kerning values reference by index in kernIndex
leftClass - maps left glyph to offset into kern index
rightClass - maps right glyph to offset into kern index
kernIndex - contains indicies into kernValue
Method Detail

byReference

public KernIndexArrayHeader.ByReference byReference()

byValue

public KernIndexArrayHeader.ByValue byValue()

clone

public KernIndexArrayHeader clone()
Overrides:
clone in class Object