org.rococoa.cocoa.qd
Class FontSpec

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


Nested Class Summary
static class FontSpec.ByReference
           
static class FontSpec.ByValue
           
 
Field Summary
 NativeLong nameOffset
           
 short pictFontID
           
 NativeLong[] size
          bit array of all the sizes found (1..127) (bit 0 means > 127)
C type : long[4]
 short style
           
 short sysFontID
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE
 
Constructor Summary
FontSpec()
           
FontSpec(short pictFontID, short sysFontID, NativeLong[] size, short style, NativeLong nameOffset)
           
 
Method Summary
static FontSpec[] newArray(int arrayLength)
           
 
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
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ochafik.lang.jnaerator.runtime.StructureType
getPointer, size
 

Field Detail

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
Constructor Detail

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

newArray

public static FontSpec[] newArray(int arrayLength)


Copyright © 2009. All Rights Reserved.