Package de.intarsys.cwt.freetype.nativec
Class FTGlyphMetrics
java.lang.Object
de.intarsys.nativec.type.NativeObject
de.intarsys.nativec.type.NativeStruct
de.intarsys.nativec.type.NativeStaticStruct
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
Nested ClassesModifier and TypeClassDescriptionstatic class
The meta class implementation -
Field Summary
FieldsFields inherited from class de.intarsys.nativec.type.NativeStruct
values
Fields inherited from class de.intarsys.nativec.type.NativeObject
DEBUG, handle, SHIFT_INT, SHIFT_LONG, SHIFT_LONGLONG, SIZE_BYTE, SIZE_INT, SIZE_LONG, SIZE_LONGLONG, SIZE_PTR, SIZE_SHORT
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
FTGlyphMetrics
(de.intarsys.nativec.api.INativeHandle handle) -
Method Summary
Modifier and TypeMethodDescriptionlong
long
de.intarsys.nativec.type.INativeType
long
long
getWidth()
Methods inherited from class de.intarsys.nativec.type.NativeStruct
getByteCount, getNativeObject, getStructField, getStructType, getValue, setValue, toNestedString, toString
Methods inherited from class de.intarsys.nativec.type.NativeObject
allocate, cast, createReference, getByte, getByteArray, getBytes, getCLong, getInt, getNativeHandle, getNativeHandle, getShort, getString, getWideString, isNull, setByte, setByteArray, setCLong, setInt, setNativeHandle, setShort, setString, setWideString
-
Field Details
-
META
The meta class instance
-
-
Constructor Details
-
FTGlyphMetrics
public FTGlyphMetrics() -
FTGlyphMetrics
protected FTGlyphMetrics(de.intarsys.nativec.api.INativeHandle handle)
-
-
Method Details
-
getHeight
public long getHeight() -
getHoriAdvance
public long getHoriAdvance() -
getNativeType
public de.intarsys.nativec.type.INativeType getNativeType()- Specified by:
getNativeType
in interfacede.intarsys.nativec.type.INativeObject
- Specified by:
getNativeType
in classde.intarsys.nativec.type.NativeObject
-
getVeriAdvance
public long getVeriAdvance() -
getWidth
public long getWidth()
-