org.rococoa.cocoa.qd
Class FontSpec
java.lang.Object
com.sun.jna.Structure
com.ochafik.lang.jnaerator.runtime.Structure<FontSpec,FontSpec.ByValue,FontSpec.ByReference>
org.rococoa.cocoa.qd.FontSpec
- All Implemented Interfaces:
- StructureType, StructureTypeDependent, Comparable<Structure<FontSpec,FontSpec.ByValue,FontSpec.ByReference>>
- Direct Known Subclasses:
- FontSpec.ByReference, FontSpec.ByValue
public class FontSpec
- extends Structure<FontSpec,FontSpec.ByValue,FontSpec.ByReference>
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/QD.framework/Headers/PictUtils.h:65
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 |
pictFontID
public short pictFontID
sysFontID
public short sysFontID
size
public NativeLong[] size
- bit array of all the sizes found (1..127) (bit 0 means > 127)
C type : long[4]
style
public short style
nameOffset
public NativeLong nameOffset
FontSpec
public FontSpec()
FontSpec
public FontSpec(short pictFontID,
short sysFontID,
NativeLong[] size,
short style,
NativeLong nameOffset)
- Parameters:
pictFontID
- ID of the font in the picture
sysFontID
- ID of the same font in the current system file
size
- bit array of all the sizes found (1..127) (bit 0 means > 127)
C type : long[4]
style
- combined style of all occurrances of the font
nameOffset
- offset into the fontNamesHdl handle for the font’s name
newArray
public static FontSpec[] newArray(int arrayLength)
Copyright © 2009. All Rights Reserved.