org.rococoa.cocoa.ats
Class ATSLayoutRecord

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.ochafik.lang.jnaerator.runtime.Structure
          extended by 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.


Nested Class Summary
static class ATSLayoutRecord.ByReference
           
static class ATSLayoutRecord.ByValue
           
 
Field Summary
 int flags
           
 short glyphID
           
 int realPos
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
ATSLayoutRecord()
           
ATSLayoutRecord(short glyphID, int flags, int realPos)
           
 
Method Summary
 ATSLayoutRecord.ByReference byReference()
           
 ATSLayoutRecord.ByValue byValue()
           
 ATSLayoutRecord clone()
           
 
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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

glyphID

public short glyphID

flags

public int flags

realPos

public int realPos
Constructor Detail

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.
Method Detail

byReference

public ATSLayoutRecord.ByReference byReference()

byValue

public ATSLayoutRecord.ByValue byValue()

clone

public ATSLayoutRecord clone()
Overrides:
clone in class Object