org.rococoa.cocoa.qd
Class FMetricRec

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.ochafik.lang.jnaerator.runtime.Structure<FMetricRec,FMetricRec.ByValue,FMetricRec.ByReference>
          extended by org.rococoa.cocoa.qd.FMetricRec
All Implemented Interfaces:
StructureType, StructureTypeDependent, Comparable<Structure<FMetricRec,FMetricRec.ByValue,FMetricRec.ByReference>>
Direct Known Subclasses:
FMetricRec.ByReference, FMetricRec.ByValue

public class FMetricRec
extends Structure<FMetricRec,FMetricRec.ByValue,FMetricRec.ByReference>

native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/QD.framework/Headers/Fonts.h:226
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 FMetricRec.ByReference
           
static class FMetricRec.ByValue
           
 
Field Summary
 int ascent
          base line to top
C type : Fixed
 int descent
          base line to bottom
C type : Fixed
 int leading
          leading between lines
C type : Fixed
 int widMax
          maximum character width
C type : Fixed
 PointerByReference wTabHandle
          handle to font width table
C type : Handle
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE
 
Constructor Summary
FMetricRec()
           
FMetricRec(int ascent, int descent, int leading, int widMax, PointerByReference wTabHandle)
           
 
Method Summary
static FMetricRec[] 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

ascent

public int ascent
base line to top
C type : Fixed


descent

public int descent
base line to bottom
C type : Fixed


leading

public int leading
leading between lines
C type : Fixed


widMax

public int widMax
maximum character width
C type : Fixed


wTabHandle

public PointerByReference wTabHandle
handle to font width table
C type : Handle

Constructor Detail

FMetricRec

public FMetricRec()

FMetricRec

public FMetricRec(int ascent,
                  int descent,
                  int leading,
                  int widMax,
                  PointerByReference wTabHandle)
Parameters:
ascent - base line to top
C type : Fixed
descent - base line to bottom
C type : Fixed
leading - leading between lines
C type : Fixed
widMax - maximum character width
C type : Fixed
wTabHandle - handle to font width table
C type : Handle
Method Detail

newArray

public static FMetricRec[] newArray(int arrayLength)


Copyright © 2009. All Rights Reserved.