org.rococoa.cocoa.ats
Class KernOffsetTable

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

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

Kern offset table header.
The offset table is a trimmed array from firstGlyph to limitGlyph.
Glyphs outside of this range should get zero for right-hand glyphs
and the offset of the beginning of the kerning array for left-hand glyphs.
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 KernOffsetTable.ByReference
           
static class KernOffsetTable.ByValue
           
 
Field Summary
 short firstGlyph
           
 short nGlyphs
           
 short[] offsetTable
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
KernOffsetTable()
           
KernOffsetTable(short firstGlyph, short nGlyphs, short[] offsetTable)
           
 
Method Summary
 KernOffsetTable.ByReference byReference()
           
 KernOffsetTable.ByValue byValue()
           
 KernOffsetTable 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

firstGlyph

public short firstGlyph

nGlyphs

public short nGlyphs

offsetTable

public short[] offsetTable
Constructor Detail

KernOffsetTable

public KernOffsetTable()

KernOffsetTable

public KernOffsetTable(short firstGlyph,
                       short nGlyphs,
                       short[] offsetTable)
Parameters:
firstGlyph - first glyph in class range
nGlyphs - number of glyphs in class range
offsetTable - offset table starts here
Method Detail

byReference

public KernOffsetTable.ByReference byReference()

byValue

public KernOffsetTable.ByValue byValue()

clone

public KernOffsetTable clone()
Overrides:
clone in class Object