Пример #1
0
 public boolean gatherShapes(MgMotion sender, MgShapes shapes) {
   return (getClass() == MgCommand.class)
       ? touchvgJNI.MgCommand_gatherShapes(
           swigCPtr, this, MgMotion.getCPtr(sender), sender, MgShapes.getCPtr(shapes), shapes)
       : touchvgJNI.MgCommand_gatherShapesSwigExplicitMgCommand(
           swigCPtr, this, MgMotion.getCPtr(sender), sender, MgShapes.getCPtr(shapes), shapes);
 }
Пример #2
0
 public synchronized void delete() {
   if (swigCPtr != 0) {
     if (swigCMemOwn) {
       swigCMemOwn = false;
       throw new UnsupportedOperationException("C++ destructor does not have public access");
     }
     swigCPtr = 0;
   }
   super.delete();
 }