org.rococoa.cocoa.ats
Class KernOffsetTable

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.ochafik.lang.jnaerator.runtime.Structure<KernOffsetTable,KernOffsetTable.ByValue,KernOffsetTable.ByReference>
          extended by org.rococoa.cocoa.ats.KernOffsetTable
All Implemented Interfaces:
StructureType, StructureTypeDependent, Comparable<Structure<KernOffsetTable,KernOffsetTable.ByValue,KernOffsetTable.ByReference>>
Direct Known Subclasses:
KernOffsetTable.ByReference, KernOffsetTable.ByValue

public class KernOffsetTable
extends Structure<KernOffsetTable,KernOffsetTable.ByValue,KernOffsetTable.ByReference>

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.
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/ATS.framework/Headers/SFNTLayoutTypes.h:1256
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
          offset table starts here
C type : KernArrayOffset[1]
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE
 
Constructor Summary
KernOffsetTable()
           
KernOffsetTable(short firstGlyph, short nGlyphs, short[] offsetTable)
           
 
Method Summary
static KernOffsetTable[] newArray(int arrayLength)
           
 
Methods inherited from class com.ochafik.lang.jnaerator.runtime.Structure
byReference, byValue, castToArray, castToArray, castToArray, castToReferenceArray, castToReferenceArray, castToValueArray, castToValueArray, clone, compareTo, newArray, read, setDependency, toArray, toArray, toArray, toReferenceArray, toReferenceArray, toValueArray, toValueArray, use, use, use, use, write
 
Methods inherited from class com.sun.jna.Structure
autoRead, autoRead, autoWrite, autoWrite, clear, equals, getAutoRead, getAutoWrite, getPointer, hashCode, newInstance, readField, setAutoRead, setAutoSynch, setAutoWrite, size, toString, writeField, writeField
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ochafik.lang.jnaerator.runtime.StructureType
getPointer, size
 

Field Detail

firstGlyph

public short firstGlyph

nGlyphs

public short nGlyphs

offsetTable

public short[] offsetTable
offset table starts here
C type : KernArrayOffset[1]

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
C type : KernArrayOffset[1]
Method Detail

newArray

public static KernOffsetTable[] newArray(int arrayLength)


Copyright © 2009. All Rights Reserved.