Exemplo n.º 1
0
 private void SwigDirectorConnect() {
   if (SwigDerivedClassHasMethod("clone", swigMethodTypes0))
     swigDelegate0 = new SwigDelegateMgBaseRect_0(SwigDirectorclone);
   if (SwigDerivedClassHasMethod("copy", swigMethodTypes1))
     swigDelegate1 = new SwigDelegateMgBaseRect_1(SwigDirectorcopy);
   if (SwigDerivedClassHasMethod("release", swigMethodTypes2))
     swigDelegate2 = new SwigDelegateMgBaseRect_2(SwigDirectorrelease);
   if (SwigDerivedClassHasMethod("equals", swigMethodTypes3))
     swigDelegate3 = new SwigDelegateMgBaseRect_3(SwigDirectorequals);
   if (SwigDerivedClassHasMethod("getType", swigMethodTypes4))
     swigDelegate4 = new SwigDelegateMgBaseRect_4(SwigDirectorgetType);
   if (SwigDerivedClassHasMethod("isKindOf", swigMethodTypes5))
     swigDelegate5 = new SwigDelegateMgBaseRect_5(SwigDirectorisKindOf);
   if (SwigDerivedClassHasMethod("setOwner", swigMethodTypes6))
     swigDelegate6 = new SwigDelegateMgBaseRect_6(SwigDirectorsetOwner);
   if (SwigDerivedClassHasMethod("getExtent", swigMethodTypes7))
     swigDelegate7 = new SwigDelegateMgBaseRect_7(SwigDirectorgetExtent);
   if (SwigDerivedClassHasMethod("update", swigMethodTypes8))
     swigDelegate8 = new SwigDelegateMgBaseRect_8(SwigDirectorupdate);
   if (SwigDerivedClassHasMethod("transform", swigMethodTypes9))
     swigDelegate9 = new SwigDelegateMgBaseRect_9(SwigDirectortransform);
   if (SwigDerivedClassHasMethod("clear", swigMethodTypes10))
     swigDelegate10 = new SwigDelegateMgBaseRect_10(SwigDirectorclear);
   if (SwigDerivedClassHasMethod("clearCachedData", swigMethodTypes11))
     swigDelegate11 = new SwigDelegateMgBaseRect_11(SwigDirectorclearCachedData);
   if (SwigDerivedClassHasMethod("getPointCount", swigMethodTypes12))
     swigDelegate12 = new SwigDelegateMgBaseRect_12(SwigDirectorgetPointCount);
   if (SwigDerivedClassHasMethod("getPoint", swigMethodTypes13))
     swigDelegate13 = new SwigDelegateMgBaseRect_13(SwigDirectorgetPoint);
   if (SwigDerivedClassHasMethod("setPoint", swigMethodTypes14))
     swigDelegate14 = new SwigDelegateMgBaseRect_14(SwigDirectorsetPoint);
   if (SwigDerivedClassHasMethod("isClosed", swigMethodTypes15))
     swigDelegate15 = new SwigDelegateMgBaseRect_15(SwigDirectorisClosed);
   if (SwigDerivedClassHasMethod("isCurve", swigMethodTypes16))
     swigDelegate16 = new SwigDelegateMgBaseRect_16(SwigDirectorisCurve);
   if (SwigDerivedClassHasMethod("hitTest", swigMethodTypes17))
     swigDelegate17 = new SwigDelegateMgBaseRect_17(SwigDirectorhitTest);
   if (SwigDerivedClassHasMethod("hitTestBox", swigMethodTypes18))
     swigDelegate18 = new SwigDelegateMgBaseRect_18(SwigDirectorhitTestBox);
   if (SwigDerivedClassHasMethod("draw", swigMethodTypes19))
     swigDelegate19 = new SwigDelegateMgBaseRect_19(SwigDirectordraw);
   if (SwigDerivedClassHasMethod("save", swigMethodTypes20))
     swigDelegate20 = new SwigDelegateMgBaseRect_20(SwigDirectorsave);
   if (SwigDerivedClassHasMethod("load", swigMethodTypes21))
     swigDelegate21 = new SwigDelegateMgBaseRect_21(SwigDirectorload);
   if (SwigDerivedClassHasMethod("getHandleCount", swigMethodTypes22))
     swigDelegate22 = new SwigDelegateMgBaseRect_22(SwigDirectorgetHandleCount);
   if (SwigDerivedClassHasMethod("getHandlePoint", swigMethodTypes23))
     swigDelegate23 = new SwigDelegateMgBaseRect_23(SwigDirectorgetHandlePoint);
   if (SwigDerivedClassHasMethod("setHandlePoint", swigMethodTypes24))
     swigDelegate24 = new SwigDelegateMgBaseRect_24(SwigDirectorsetHandlePoint);
   if (SwigDerivedClassHasMethod("isHandleFixed", swigMethodTypes25))
     swigDelegate25 = new SwigDelegateMgBaseRect_25(SwigDirectorisHandleFixed);
   if (SwigDerivedClassHasMethod("getHandleType", swigMethodTypes26))
     swigDelegate26 = new SwigDelegateMgBaseRect_26(SwigDirectorgetHandleType);
   if (SwigDerivedClassHasMethod("offset", swigMethodTypes27))
     swigDelegate27 = new SwigDelegateMgBaseRect_27(SwigDirectoroffset);
   if (SwigDerivedClassHasMethod("setFlag", swigMethodTypes28))
     swigDelegate28 = new SwigDelegateMgBaseRect_28(SwigDirectorsetFlag);
   if (SwigDerivedClassHasMethod("getTypeName", swigMethodTypes29))
     swigDelegate29 = new SwigDelegateMgBaseRect_29(SwigDirectorgetTypeName);
   touchvgPINVOKE.MgBaseRect_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12, swigDelegate13, swigDelegate14, swigDelegate15, swigDelegate16, swigDelegate17, swigDelegate18, swigDelegate19, swigDelegate20, swigDelegate21, swigDelegate22, swigDelegate23, swigDelegate24, swigDelegate25, swigDelegate26, swigDelegate27, swigDelegate28, swigDelegate29);
 }
Exemplo n.º 2
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("clone", swigMethodTypes0))
     {
         swigDelegate0 = new SwigDelegateMgBaseRect_0(SwigDirectorclone);
     }
     if (SwigDerivedClassHasMethod("copy", swigMethodTypes1))
     {
         swigDelegate1 = new SwigDelegateMgBaseRect_1(SwigDirectorcopy);
     }
     if (SwigDerivedClassHasMethod("release", swigMethodTypes2))
     {
         swigDelegate2 = new SwigDelegateMgBaseRect_2(SwigDirectorrelease);
     }
     if (SwigDerivedClassHasMethod("addRef", swigMethodTypes3))
     {
         swigDelegate3 = new SwigDelegateMgBaseRect_3(SwigDirectoraddRef);
     }
     if (SwigDerivedClassHasMethod("equals", swigMethodTypes4))
     {
         swigDelegate4 = new SwigDelegateMgBaseRect_4(SwigDirectorequals);
     }
     if (SwigDerivedClassHasMethod("getType", swigMethodTypes5))
     {
         swigDelegate5 = new SwigDelegateMgBaseRect_5(SwigDirectorgetType);
     }
     if (SwigDerivedClassHasMethod("isKindOf", swigMethodTypes6))
     {
         swigDelegate6 = new SwigDelegateMgBaseRect_6(SwigDirectorisKindOf);
     }
     if (SwigDerivedClassHasMethod("getExtent", swigMethodTypes7))
     {
         swigDelegate7 = new SwigDelegateMgBaseRect_7(SwigDirectorgetExtent);
     }
     if (SwigDerivedClassHasMethod("getChangeCount", swigMethodTypes8))
     {
         swigDelegate8 = new SwigDelegateMgBaseRect_8(SwigDirectorgetChangeCount);
     }
     if (SwigDerivedClassHasMethod("resetChangeCount", swigMethodTypes9))
     {
         swigDelegate9 = new SwigDelegateMgBaseRect_9(SwigDirectorresetChangeCount);
     }
     if (SwigDerivedClassHasMethod("afterChanged", swigMethodTypes10))
     {
         swigDelegate10 = new SwigDelegateMgBaseRect_10(SwigDirectorafterChanged);
     }
     if (SwigDerivedClassHasMethod("update", swigMethodTypes11))
     {
         swigDelegate11 = new SwigDelegateMgBaseRect_11(SwigDirectorupdate);
     }
     if (SwigDerivedClassHasMethod("transform", swigMethodTypes12))
     {
         swigDelegate12 = new SwigDelegateMgBaseRect_12(SwigDirectortransform);
     }
     if (SwigDerivedClassHasMethod("clear", swigMethodTypes13))
     {
         swigDelegate13 = new SwigDelegateMgBaseRect_13(SwigDirectorclear);
     }
     if (SwigDerivedClassHasMethod("clearCachedData", swigMethodTypes14))
     {
         swigDelegate14 = new SwigDelegateMgBaseRect_14(SwigDirectorclearCachedData);
     }
     if (SwigDerivedClassHasMethod("getPointCount", swigMethodTypes15))
     {
         swigDelegate15 = new SwigDelegateMgBaseRect_15(SwigDirectorgetPointCount);
     }
     if (SwigDerivedClassHasMethod("getPoint", swigMethodTypes16))
     {
         swigDelegate16 = new SwigDelegateMgBaseRect_16(SwigDirectorgetPoint);
     }
     if (SwigDerivedClassHasMethod("setPoint", swigMethodTypes17))
     {
         swigDelegate17 = new SwigDelegateMgBaseRect_17(SwigDirectorsetPoint);
     }
     if (SwigDerivedClassHasMethod("isClosed", swigMethodTypes18))
     {
         swigDelegate18 = new SwigDelegateMgBaseRect_18(SwigDirectorisClosed);
     }
     if (SwigDerivedClassHasMethod("isCurve", swigMethodTypes19))
     {
         swigDelegate19 = new SwigDelegateMgBaseRect_19(SwigDirectorisCurve);
     }
     if (SwigDerivedClassHasMethod("hitTest", swigMethodTypes20))
     {
         swigDelegate20 = new SwigDelegateMgBaseRect_20(SwigDirectorhitTest);
     }
     if (SwigDerivedClassHasMethod("hitTestBox", swigMethodTypes21))
     {
         swigDelegate21 = new SwigDelegateMgBaseRect_21(SwigDirectorhitTestBox);
     }
     if (SwigDerivedClassHasMethod("draw", swigMethodTypes22))
     {
         swigDelegate22 = new SwigDelegateMgBaseRect_22(SwigDirectordraw);
     }
     if (SwigDerivedClassHasMethod("draw2", swigMethodTypes23))
     {
         swigDelegate23 = new SwigDelegateMgBaseRect_23(SwigDirectordraw2);
     }
     if (SwigDerivedClassHasMethod("output", swigMethodTypes24))
     {
         swigDelegate24 = new SwigDelegateMgBaseRect_24(SwigDirectoroutput);
     }
     if (SwigDerivedClassHasMethod("save", swigMethodTypes25))
     {
         swigDelegate25 = new SwigDelegateMgBaseRect_25(SwigDirectorsave);
     }
     if (SwigDerivedClassHasMethod("load", swigMethodTypes26))
     {
         swigDelegate26 = new SwigDelegateMgBaseRect_26(SwigDirectorload);
     }
     if (SwigDerivedClassHasMethod("getHandleCount", swigMethodTypes27))
     {
         swigDelegate27 = new SwigDelegateMgBaseRect_27(SwigDirectorgetHandleCount);
     }
     if (SwigDerivedClassHasMethod("getHandlePoint", swigMethodTypes28))
     {
         swigDelegate28 = new SwigDelegateMgBaseRect_28(SwigDirectorgetHandlePoint);
     }
     if (SwigDerivedClassHasMethod("setHandlePoint", swigMethodTypes29))
     {
         swigDelegate29 = new SwigDelegateMgBaseRect_29(SwigDirectorsetHandlePoint);
     }
     if (SwigDerivedClassHasMethod("isHandleFixed", swigMethodTypes30))
     {
         swigDelegate30 = new SwigDelegateMgBaseRect_30(SwigDirectorisHandleFixed);
     }
     if (SwigDerivedClassHasMethod("getHandleType", swigMethodTypes31))
     {
         swigDelegate31 = new SwigDelegateMgBaseRect_31(SwigDirectorgetHandleType);
     }
     if (SwigDerivedClassHasMethod("offset", swigMethodTypes32))
     {
         swigDelegate32 = new SwigDelegateMgBaseRect_32(SwigDirectoroffset);
     }
     if (SwigDerivedClassHasMethod("setFlag", swigMethodTypes33))
     {
         swigDelegate33 = new SwigDelegateMgBaseRect_33(SwigDirectorsetFlag);
     }
     if (SwigDerivedClassHasMethod("setOwner", swigMethodTypes34))
     {
         swigDelegate34 = new SwigDelegateMgBaseRect_34(SwigDirectorsetOwner);
     }
     if (SwigDerivedClassHasMethod("getSubType", swigMethodTypes35))
     {
         swigDelegate35 = new SwigDelegateMgBaseRect_35(SwigDirectorgetSubType);
     }
     touchvgPINVOKE.MgBaseRect_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12, swigDelegate13, swigDelegate14, swigDelegate15, swigDelegate16, swigDelegate17, swigDelegate18, swigDelegate19, swigDelegate20, swigDelegate21, swigDelegate22, swigDelegate23, swigDelegate24, swigDelegate25, swigDelegate26, swigDelegate27, swigDelegate28, swigDelegate29, swigDelegate30, swigDelegate31, swigDelegate32, swigDelegate33, swigDelegate34, swigDelegate35);
 }