intarsys FreeType library

de.intarsys.cwt.freetype.nativec
Class FTFace

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.FTFace
All Implemented Interfaces:
de.intarsys.nativec.type.INativeObject

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

FreeType root face class structure. A face object models the resolution and point-size independent data found in a font file.

  typedef struct  FT_FaceRec_
  {
  FT_Long           num_faces;
  FT_Long           face_index;
 
  FT_Long           face_flags;
  FT_Long           style_flags;
 
  FT_Long           num_glyphs;
 
  FT_String*        family_name;
  FT_String*        style_name;
 
  FT_Int            num_fixed_sizes;
  FT_Bitmap_Size*   available_sizes;
 
  FT_Int            num_charmaps;
  FT_CharMap*       charmaps;
 
  FT_Generic        generic;
 
  FT_BBox           bbox;
 
  FT_UShort         units_per_EM;
  FT_Short          ascender;
  FT_Short          descender;
  FT_Short          height;
 
  FT_Short          max_advance_width;
  FT_Short          max_advance_height;
 
  FT_Short          underline_position;
  FT_Short          underline_thickness;
 
  FT_GlyphSlot      glyph;
  FT_Size           size;
  FT_CharMap        charmap;
 
  FT_Driver         driver;
  FT_Memory         memory;
  FT_Stream         stream;
 
  FT_ListRec        sizes_list;
 
  FT_Generic        autohint;
  void*             extensions;
 
  FT_Face_Internal  internal;
  } FT_FaceRec;
 


Nested Class Summary
static class FTFace.MetaClass
          The meta class implementation
 
Field Summary
static FTFace.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
FTFace()
           
 
Method Summary
 short getAscender()
           
 FTBBox getBBox()
           
 FTCharMap getCharMap()
           
 de.intarsys.nativec.type.NativeArray getCharMaps()
           
 short getDescender()
           
 de.intarsys.nativec.type.NativeBuffer getFaceBuffer()
           
 long getFaceFlags()
           
 long getFaceIndex()
           
 String getFamilyName()
           
 FTGlyphSlot getGlyphSlot()
           
 short getHeight()
           
 de.intarsys.nativec.type.INativeType getNativeType()
           
 int getNumCharMaps()
           
 long getNumFaces()
           
 long getNumGlyphs()
           
 long getStyleFlags()
           
 String getStyleName()
           
 short getUnderlinePosition()
           
 short getUnderlineThickness()
           
 short getUnitsPerEM()
           
 void setCharMap(_FTNI ftni, FTCharMap charMap)
           
 void setFaceBuffer(de.intarsys.nativec.type.NativeBuffer faceBuffer)
           
 
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 FTFace.MetaClass META
The meta class instance

Constructor Detail

FTFace

public FTFace()
Method Detail

getAscender

public short getAscender()

getBBox

public FTBBox getBBox()

getCharMap

public FTCharMap getCharMap()

getCharMaps

public de.intarsys.nativec.type.NativeArray getCharMaps()

getDescender

public short getDescender()

getFaceBuffer

public de.intarsys.nativec.type.NativeBuffer getFaceBuffer()

getFaceFlags

public long getFaceFlags()

getFaceIndex

public long getFaceIndex()

getFamilyName

public String getFamilyName()

getGlyphSlot

public FTGlyphSlot getGlyphSlot()

getHeight

public short getHeight()

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

getNumCharMaps

public int getNumCharMaps()

getNumFaces

public long getNumFaces()

getNumGlyphs

public long getNumGlyphs()

getStyleFlags

public long getStyleFlags()

getStyleName

public String getStyleName()

getUnderlinePosition

public short getUnderlinePosition()

getUnderlineThickness

public short getUnderlineThickness()

getUnitsPerEM

public short getUnitsPerEM()

setCharMap

public void setCharMap(_FTNI ftni,
                       FTCharMap charMap)

setFaceBuffer

public void setFaceBuffer(de.intarsys.nativec.type.NativeBuffer faceBuffer)

intarsys FreeType library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.