intarsys FreeType library

de.intarsys.cwt.freetype.nativec
Class FTSfntName

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

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

  typedef struct  FT_SfntName_
  {
  FT_UShort  platform_id;
  FT_UShort  encoding_id;
  FT_UShort  language_id;
  FT_UShort  name_id;
 
  FT_Byte*   string;      // this string is *not* null-terminated! 
  FT_UInt    string_len;  // in bytes 
 
  } FT_SfntName;
 


Nested Class Summary
static class FTSfntName.MetaClass
          The meta class implementation
 
Field Summary
static FTSfntName.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
FTSfntName()
           
 
Method Summary
 de.intarsys.nativec.type.NativeBuffer getBuffer()
           
 int getEncodingId()
           
 int getLanguageId()
           
 int getLength()
           
 String getName()
           
 String getName(String encoding)
           
 int getNameId()
           
 de.intarsys.nativec.type.INativeType getNativeType()
           
 int getPlatformId()
           
 
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 FTSfntName.MetaClass META
The meta class instance

Constructor Detail

FTSfntName

public FTSfntName()
Method Detail

getBuffer

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

getEncodingId

public int getEncodingId()

getLanguageId

public int getLanguageId()

getLength

public int getLength()

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

getName

public String getName()

getName

public String getName(String encoding)

getNameId

public int getNameId()

getPlatformId

public int getPlatformId()

intarsys FreeType library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.