org.rococoa.cocoa.ats
Class ATSLayoutRecord
java.lang.Object
com.sun.jna.Structure
com.ochafik.lang.jnaerator.runtime.Structure<ATSLayoutRecord,ATSLayoutRecord.ByValue,ATSLayoutRecord.ByReference>
org.rococoa.cocoa.ats.ATSLayoutRecord
- All Implemented Interfaces:
- StructureType, StructureTypeDependent, Comparable<Structure<ATSLayoutRecord,ATSLayoutRecord.ByValue,ATSLayoutRecord.ByReference>>
- Direct Known Subclasses:
- ATSLayoutRecord.ByReference, ATSLayoutRecord.ByValue
public class ATSLayoutRecord
- extends Structure<ATSLayoutRecord,ATSLayoutRecord.ByValue,ATSLayoutRecord.ByReference>
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.
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h:460
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.
Field Summary |
int |
flags
These flags describe the individual state of the glyph (see above). |
short |
glyphID
The glyph ID reference. |
int |
realPos
This is the real position that the glyph sits. |
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 |
glyphID
public short glyphID
- The glyph ID reference.
C type : ATSGlyphRef
flags
public int flags
- These flags describe the individual state of the glyph (see above).
C type : ATSGlyphInfoFlags
realPos
public int realPos
- This is the real position that the glyph sits.
C type : Fixed
ATSLayoutRecord
public ATSLayoutRecord()
ATSLayoutRecord
public ATSLayoutRecord(short glyphID,
int flags,
int realPos)
- Parameters:
glyphID
- The glyph ID reference.
C type : ATSGlyphRef
flags
- These flags describe the individual state of the glyph (see above).
C type : ATSGlyphInfoFlags
realPos
- This is the real position that the glyph sits.
C type : Fixed
newArray
public static ATSLayoutRecord[] newArray(int arrayLength)
Copyright © 2009. All Rights Reserved.