org.rococoa.cocoa.ats
Class sfntDirectory
java.lang.Object
com.sun.jna.Structure
com.ochafik.lang.jnaerator.runtime.Structure<sfntDirectory,sfntDirectory.ByValue,sfntDirectory.ByReference>
org.rococoa.cocoa.ats.sfntDirectory
- All Implemented Interfaces:
- StructureType, StructureTypeDependent, Comparable<Structure<sfntDirectory,sfntDirectory.ByValue,sfntDirectory.ByReference>>
- Direct Known Subclasses:
- sfntDirectory.ByReference, sfntDirectory.ByValue
public class sfntDirectory
- extends Structure<sfntDirectory,sfntDirectory.ByValue,sfntDirectory.ByReference>
The search fields limits numOffsets to 4096.
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/ATS.framework/Headers/SFNTTypes.h:44
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 |
format
public int format
numOffsets
public short numOffsets
searchRange
public short searchRange
entrySelector
public short entrySelector
rangeShift
public short rangeShift
table
public sfntDirectoryEntry[] table
- table[numOffsets]
C type : sfntDirectoryEntry[1]
sfntDirectory
public sfntDirectory()
sfntDirectory
public sfntDirectory(int format,
short numOffsets,
short searchRange,
short entrySelector,
short rangeShift,
sfntDirectoryEntry[] table)
- Parameters:
format
- C type : FourCharCode
numOffsets
- number of tables
searchRange
- (max2 <= numOffsets)*16
entrySelector
- log2(max2 <= numOffsets)
rangeShift
- numOffsets*16-searchRange
table
- table[numOffsets]
C type : sfntDirectoryEntry[1]
newArray
public static sfntDirectory[] newArray(int arrayLength)
Copyright © 2009. All Rights Reserved.