org.rococoa.cocoa.ats
Class KernOffsetTable
java.lang.Object
com.sun.jna.Structure
com.ochafik.lang.jnaerator.runtime.Structure
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.
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 |
firstGlyph
public short firstGlyph
nGlyphs
public short nGlyphs
offsetTable
public short[] offsetTable
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
byReference
public KernOffsetTable.ByReference byReference()
byValue
public KernOffsetTable.ByValue byValue()
clone
public KernOffsetTable clone()
- Overrides:
clone
in class Object