intarsys FreeType library

de.intarsys.cwt.freetype.nativec
Class FTGlyphMetrics

java.lang.Object
  extended by de.intarsys.nativec.type.NativeObject
      extended by de.intarsys.nativec.type.NativeStruct
          extended by de.intarsys.nativec.type.NativeStaticStruct
              extended by de.intarsys.cwt.freetype.nativec.FTGlyphMetrics
All Implemented Interfaces:
de.intarsys.nativec.type.INativeObject

public class FTGlyphMetrics
extends de.intarsys.nativec.type.NativeStaticStruct

A structure used to model the metrics of a single glyph. The values are expressed in 26.6 fractional pixel format; if the flag FT_LOAD_NO_SCALE is used, values are returned in font units instead.


Nested Class Summary
static class FTGlyphMetrics.MetaClass
          The meta class implementation
 
Field Summary
static FTGlyphMetrics.MetaClass META
          The meta class instance
 
Fields inherited from class de.intarsys.nativec.type.NativeObject
DEBUG, SHIFT_INT, SHIFT_LONG, SHIFT_LONGLONG, SIZE_BYTE, SIZE_INT, SIZE_LONG, SIZE_LONGLONG, SIZE_SHORT
 
Constructor Summary
FTGlyphMetrics()
           
 
Method Summary
 long getHeight()
           
 long getHoriAdvance()
           
 de.intarsys.nativec.type.INativeType getNativeType()
           
 long getVeriAdvance()
           
 long getWidth()
           
 
Methods inherited from class de.intarsys.nativec.type.NativeStruct
getByteCount, getNativeObject, getStructType, getValue, setValue, toNestedString, toString
 
Methods inherited from class de.intarsys.nativec.type.NativeObject
cast, createReference, getByte, getByteArray, getBytes, getCLong, getInt, getNativeHandle, getNativeHandle, getShort, getString, getWideString, isNull, setByte, setByteArray, setCLong, setInt, setNativeHandle, setShort, setString, setWideString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

META

public static final FTGlyphMetrics.MetaClass META
The meta class instance

Constructor Detail

FTGlyphMetrics

public FTGlyphMetrics()
Method Detail

getHeight

public long getHeight()

getHoriAdvance

public long getHoriAdvance()

getNativeType

public de.intarsys.nativec.type.INativeType getNativeType()
Specified by:
getNativeType in interface de.intarsys.nativec.type.INativeObject
Specified by:
getNativeType in class de.intarsys.nativec.type.NativeObject

getVeriAdvance

public long getVeriAdvance()

getWidth

public long getWidth()

intarsys FreeType library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.