Class FTVector

java.lang.Object
de.intarsys.nativec.type.NativeObject
de.intarsys.nativec.type.NativeSimple
de.intarsys.cwt.freetype.nativec.FTVector
All Implemented Interfaces:
de.intarsys.nativec.type.INativeObject

public class FTVector extends de.intarsys.nativec.type.NativeSimple

This is moved to primitive for performance reasons.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    The meta class implementation
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final FTVector.MetaClass
    The meta class instance
    static final int
     

    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

    Constructors
    Modifier
    Constructor
    Description
     
     
    protected
    FTVector(de.intarsys.nativec.api.INativeHandle handle)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    de.intarsys.nativec.type.INativeType
     
     
    int
     
    int
     
    void
     

    Methods inherited from class de.intarsys.nativec.type.NativeSimple

    getByteCount

    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, toNestedString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • META

      public static final FTVector.MetaClass META
      The meta class instance
    • SHIFT_VECTOR

      public static final int SHIFT_VECTOR
  • Constructor Details

    • FTVector

      public FTVector()
    • FTVector

      protected FTVector(de.intarsys.nativec.api.INativeHandle handle)
  • Method Details

    • 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
    • getValue

      public Object getValue()
    • getX

      public int getX()
    • getY

      public int getY()
    • setValue

      public void setValue(Object value)