org.rococoa.cocoa.ats
Class KernOffsetTable
java.lang.Object
com.sun.jna.Structure
com.ochafik.lang.jnaerator.runtime.Structure<KernOffsetTable,KernOffsetTable.ByValue,KernOffsetTable.ByReference>
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.
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 |
firstGlyph
public short firstGlyph
nGlyphs
public short nGlyphs
offsetTable
public short[] offsetTable
- offset table starts here
C type : KernArrayOffset[1]
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]
newArray
public static KernOffsetTable[] newArray(int arrayLength)
Copyright © 2009. All Rights Reserved.