org.rococoa.cocoa.qd
Class FontSpec

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.ochafik.lang.jnaerator.runtime.Structure
          extended by org.rococoa.cocoa.qd.FontSpec
Direct Known Subclasses:
FontSpec.ByReference, FontSpec.ByValue

public class FontSpec
extends com.ochafik.lang.jnaerator.runtime.Structure

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
           
 short style
           
 short sysFontID
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
FontSpec()
           
FontSpec(short pictFontID, short sysFontID, NativeLong[] size, short style, NativeLong nameOffset)
           
 
Method Summary
 FontSpec.ByReference byReference()
           
 FontSpec.ByValue byValue()
           
 FontSpec 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

pictFontID

public short pictFontID

sysFontID

public short sysFontID

size

public NativeLong[] size

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)
style - combined style of all occurrances of the font
nameOffset - offset into the fontNamesHdl handle for the fontŐs name
Method Detail

byReference

public FontSpec.ByReference byReference()

byValue

public FontSpec.ByValue byValue()

clone

public FontSpec clone()
Overrides:
clone in class Object