org.rococoa.cocoa.ats
Class ATSLayoutRecord
java.lang.Object
com.sun.jna.Structure
com.ochafik.lang.jnaerator.runtime.Structure
org.rococoa.cocoa.ats.ATSLayoutRecord
- Direct Known Subclasses:
- ATSLayoutRecord.ByReference, ATSLayoutRecord.ByValue
public class ATSLayoutRecord
- extends com.ochafik.lang.jnaerator.runtime.Structure
ATSLayoutRecord
Summary:
The ATSLayoutRecord structure defines all the needed info for a
single glyph during the layout process. This struct must be
declared as the first element of an enclosing glyph record struct
defined by ATSUI DirectAccess clients.
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 |
glyphID
public short glyphID
flags
public int flags
realPos
public int realPos
ATSLayoutRecord
public ATSLayoutRecord()
ATSLayoutRecord
public ATSLayoutRecord(short glyphID,
int flags,
int realPos)
- Parameters:
glyphID
- The glyph ID reference.
flags
- These flags describe the individual state of the glyph (see above).
realPos
- This is the real position that the glyph sits.
byReference
public ATSLayoutRecord.ByReference byReference()
byValue
public ATSLayoutRecord.ByValue byValue()
clone
public ATSLayoutRecord clone()
- Overrides:
clone
in class Object