org.rococoa.cocoa.ats
Class KernIndexArrayHeader

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

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

Index Array
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/ATS.framework/Headers/SFNTLayoutTypes.h:1291
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
          contains indicies into kernValue
C type : UInt8[1]
 short[] kernValue
          actual kerning values reference by index in kernIndex
C type : SInt16[1]
 byte kernValueCount
           
 byte[] leftClass
          maps left glyph to offset into kern index
C type : UInt8[1]
 byte leftClassCount
           
 byte[] rightClass
          maps right glyph to offset into kern index
C type : UInt8[1]
 byte rightClassCount
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE
 
Constructor Summary
KernIndexArrayHeader()
           
KernIndexArrayHeader(short glyphCount, byte kernValueCount, byte leftClassCount, byte rightClassCount, byte flags, short[] kernValue, byte[] leftClass, byte[] rightClass, byte[] kernIndex)
           
 
Method Summary
static KernIndexArrayHeader[] 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

glyphCount

public short glyphCount

kernValueCount

public byte kernValueCount

leftClassCount

public byte leftClassCount

rightClassCount

public byte rightClassCount

flags

public byte flags

kernValue

public short[] kernValue
actual kerning values reference by index in kernIndex
C type : SInt16[1]


leftClass

public byte[] leftClass
maps left glyph to offset into kern index
C type : UInt8[1]


rightClass

public byte[] rightClass
maps right glyph to offset into kern index
C type : UInt8[1]


kernIndex

public byte[] kernIndex
contains indicies into kernValue
C type : UInt8[1]

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
C type : SInt16[1]
leftClass - maps left glyph to offset into kern index
C type : UInt8[1]
rightClass - maps right glyph to offset into kern index
C type : UInt8[1]
kernIndex - contains indicies into kernValue
C type : UInt8[1]
Method Detail

newArray

public static KernIndexArrayHeader[] newArray(int arrayLength)


Copyright © 2009. All Rights Reserved.