Пример #1
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("clone", swigMethodTypes0))
     {
         swigDelegate0 = new SwigDelegateMgComposite_0(SwigDirectorclone);
     }
     if (SwigDerivedClassHasMethod("copy", swigMethodTypes1))
     {
         swigDelegate1 = new SwigDelegateMgComposite_1(SwigDirectorcopy);
     }
     if (SwigDerivedClassHasMethod("release", swigMethodTypes2))
     {
         swigDelegate2 = new SwigDelegateMgComposite_2(SwigDirectorrelease);
     }
     if (SwigDerivedClassHasMethod("addRef", swigMethodTypes3))
     {
         swigDelegate3 = new SwigDelegateMgComposite_3(SwigDirectoraddRef);
     }
     if (SwigDerivedClassHasMethod("equals", swigMethodTypes4))
     {
         swigDelegate4 = new SwigDelegateMgComposite_4(SwigDirectorequals);
     }
     if (SwigDerivedClassHasMethod("getType", swigMethodTypes5))
     {
         swigDelegate5 = new SwigDelegateMgComposite_5(SwigDirectorgetType);
     }
     if (SwigDerivedClassHasMethod("isKindOf", swigMethodTypes6))
     {
         swigDelegate6 = new SwigDelegateMgComposite_6(SwigDirectorisKindOf);
     }
     if (SwigDerivedClassHasMethod("setOwner", swigMethodTypes7))
     {
         swigDelegate7 = new SwigDelegateMgComposite_7(SwigDirectorsetOwner);
     }
     if (SwigDerivedClassHasMethod("getExtent", swigMethodTypes8))
     {
         swigDelegate8 = new SwigDelegateMgComposite_8(SwigDirectorgetExtent);
     }
     if (SwigDerivedClassHasMethod("getChangeCount", swigMethodTypes9))
     {
         swigDelegate9 = new SwigDelegateMgComposite_9(SwigDirectorgetChangeCount);
     }
     if (SwigDerivedClassHasMethod("resetChangeCount", swigMethodTypes10))
     {
         swigDelegate10 = new SwigDelegateMgComposite_10(SwigDirectorresetChangeCount);
     }
     if (SwigDerivedClassHasMethod("afterChanged", swigMethodTypes11))
     {
         swigDelegate11 = new SwigDelegateMgComposite_11(SwigDirectorafterChanged);
     }
     if (SwigDerivedClassHasMethod("update", swigMethodTypes12))
     {
         swigDelegate12 = new SwigDelegateMgComposite_12(SwigDirectorupdate);
     }
     if (SwigDerivedClassHasMethod("transform", swigMethodTypes13))
     {
         swigDelegate13 = new SwigDelegateMgComposite_13(SwigDirectortransform);
     }
     if (SwigDerivedClassHasMethod("clear", swigMethodTypes14))
     {
         swigDelegate14 = new SwigDelegateMgComposite_14(SwigDirectorclear);
     }
     if (SwigDerivedClassHasMethod("clearCachedData", swigMethodTypes15))
     {
         swigDelegate15 = new SwigDelegateMgComposite_15(SwigDirectorclearCachedData);
     }
     if (SwigDerivedClassHasMethod("getPointCount", swigMethodTypes16))
     {
         swigDelegate16 = new SwigDelegateMgComposite_16(SwigDirectorgetPointCount);
     }
     if (SwigDerivedClassHasMethod("getPoint", swigMethodTypes17))
     {
         swigDelegate17 = new SwigDelegateMgComposite_17(SwigDirectorgetPoint);
     }
     if (SwigDerivedClassHasMethod("setPoint", swigMethodTypes18))
     {
         swigDelegate18 = new SwigDelegateMgComposite_18(SwigDirectorsetPoint);
     }
     if (SwigDerivedClassHasMethod("isClosed", swigMethodTypes19))
     {
         swigDelegate19 = new SwigDelegateMgComposite_19(SwigDirectorisClosed);
     }
     if (SwigDerivedClassHasMethod("isCurve", swigMethodTypes20))
     {
         swigDelegate20 = new SwigDelegateMgComposite_20(SwigDirectorisCurve);
     }
     if (SwigDerivedClassHasMethod("hitTest", swigMethodTypes21))
     {
         swigDelegate21 = new SwigDelegateMgComposite_21(SwigDirectorhitTest);
     }
     if (SwigDerivedClassHasMethod("hitTestBox", swigMethodTypes22))
     {
         swigDelegate22 = new SwigDelegateMgComposite_22(SwigDirectorhitTestBox);
     }
     if (SwigDerivedClassHasMethod("draw", swigMethodTypes23))
     {
         swigDelegate23 = new SwigDelegateMgComposite_23(SwigDirectordraw);
     }
     if (SwigDerivedClassHasMethod("save", swigMethodTypes24))
     {
         swigDelegate24 = new SwigDelegateMgComposite_24(SwigDirectorsave);
     }
     if (SwigDerivedClassHasMethod("load", swigMethodTypes25))
     {
         swigDelegate25 = new SwigDelegateMgComposite_25(SwigDirectorload);
     }
     if (SwigDerivedClassHasMethod("getHandleCount", swigMethodTypes26))
     {
         swigDelegate26 = new SwigDelegateMgComposite_26(SwigDirectorgetHandleCount);
     }
     if (SwigDerivedClassHasMethod("getHandlePoint", swigMethodTypes27))
     {
         swigDelegate27 = new SwigDelegateMgComposite_27(SwigDirectorgetHandlePoint);
     }
     if (SwigDerivedClassHasMethod("setHandlePoint", swigMethodTypes28))
     {
         swigDelegate28 = new SwigDelegateMgComposite_28(SwigDirectorsetHandlePoint);
     }
     if (SwigDerivedClassHasMethod("isHandleFixed", swigMethodTypes29))
     {
         swigDelegate29 = new SwigDelegateMgComposite_29(SwigDirectorisHandleFixed);
     }
     if (SwigDerivedClassHasMethod("getHandleType", swigMethodTypes30))
     {
         swigDelegate30 = new SwigDelegateMgComposite_30(SwigDirectorgetHandleType);
     }
     if (SwigDerivedClassHasMethod("offset", swigMethodTypes31))
     {
         swigDelegate31 = new SwigDelegateMgComposite_31(SwigDirectoroffset);
     }
     if (SwigDerivedClassHasMethod("setFlag", swigMethodTypes32))
     {
         swigDelegate32 = new SwigDelegateMgComposite_32(SwigDirectorsetFlag);
     }
     if (SwigDerivedClassHasMethod("canOffsetShapeAlone", swigMethodTypes33))
     {
         swigDelegate33 = new SwigDelegateMgComposite_33(SwigDirectorcanOffsetShapeAlone);
     }
     touchvgPINVOKE.MgComposite_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);
 }
Пример #2
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("clone", swigMethodTypes0))
       swigDelegate0 = new SwigDelegateMgComposite_0(SwigDirectorclone);
     if (SwigDerivedClassHasMethod("copy", swigMethodTypes1))
       swigDelegate1 = new SwigDelegateMgComposite_1(SwigDirectorcopy);
     if (SwigDerivedClassHasMethod("release", swigMethodTypes2))
       swigDelegate2 = new SwigDelegateMgComposite_2(SwigDirectorrelease);
     if (SwigDerivedClassHasMethod("addRef", swigMethodTypes3))
       swigDelegate3 = new SwigDelegateMgComposite_3(SwigDirectoraddRef);
     if (SwigDerivedClassHasMethod("equals", swigMethodTypes4))
       swigDelegate4 = new SwigDelegateMgComposite_4(SwigDirectorequals);
     if (SwigDerivedClassHasMethod("getType", swigMethodTypes5))
       swigDelegate5 = new SwigDelegateMgComposite_5(SwigDirectorgetType);
     if (SwigDerivedClassHasMethod("isKindOf", swigMethodTypes6))
       swigDelegate6 = new SwigDelegateMgComposite_6(SwigDirectorisKindOf);
     if (SwigDerivedClassHasMethod("setOwner", swigMethodTypes7))
       swigDelegate7 = new SwigDelegateMgComposite_7(SwigDirectorsetOwner);
     if (SwigDerivedClassHasMethod("getExtent", swigMethodTypes8))
       swigDelegate8 = new SwigDelegateMgComposite_8(SwigDirectorgetExtent);
     if (SwigDerivedClassHasMethod("getChangeCount", swigMethodTypes9))
       swigDelegate9 = new SwigDelegateMgComposite_9(SwigDirectorgetChangeCount);
     if (SwigDerivedClassHasMethod("resetChangeCount", swigMethodTypes10))
       swigDelegate10 = new SwigDelegateMgComposite_10(SwigDirectorresetChangeCount);
     if (SwigDerivedClassHasMethod("afterChanged", swigMethodTypes11))
       swigDelegate11 = new SwigDelegateMgComposite_11(SwigDirectorafterChanged);
     if (SwigDerivedClassHasMethod("update", swigMethodTypes12))
       swigDelegate12 = new SwigDelegateMgComposite_12(SwigDirectorupdate);
     if (SwigDerivedClassHasMethod("transform", swigMethodTypes13))
       swigDelegate13 = new SwigDelegateMgComposite_13(SwigDirectortransform);
     if (SwigDerivedClassHasMethod("clear", swigMethodTypes14))
       swigDelegate14 = new SwigDelegateMgComposite_14(SwigDirectorclear);
     if (SwigDerivedClassHasMethod("clearCachedData", swigMethodTypes15))
       swigDelegate15 = new SwigDelegateMgComposite_15(SwigDirectorclearCachedData);
     if (SwigDerivedClassHasMethod("getPointCount", swigMethodTypes16))
       swigDelegate16 = new SwigDelegateMgComposite_16(SwigDirectorgetPointCount);
     if (SwigDerivedClassHasMethod("getPoint", swigMethodTypes17))
       swigDelegate17 = new SwigDelegateMgComposite_17(SwigDirectorgetPoint);
     if (SwigDerivedClassHasMethod("setPoint", swigMethodTypes18))
       swigDelegate18 = new SwigDelegateMgComposite_18(SwigDirectorsetPoint);
     if (SwigDerivedClassHasMethod("isClosed", swigMethodTypes19))
       swigDelegate19 = new SwigDelegateMgComposite_19(SwigDirectorisClosed);
     if (SwigDerivedClassHasMethod("isCurve", swigMethodTypes20))
       swigDelegate20 = new SwigDelegateMgComposite_20(SwigDirectorisCurve);
     if (SwigDerivedClassHasMethod("hitTest", swigMethodTypes21))
       swigDelegate21 = new SwigDelegateMgComposite_21(SwigDirectorhitTest);
     if (SwigDerivedClassHasMethod("hitTestBox", swigMethodTypes22))
       swigDelegate22 = new SwigDelegateMgComposite_22(SwigDirectorhitTestBox);
     if (SwigDerivedClassHasMethod("draw", swigMethodTypes23))
       swigDelegate23 = new SwigDelegateMgComposite_23(SwigDirectordraw);
     if (SwigDerivedClassHasMethod("save", swigMethodTypes24))
       swigDelegate24 = new SwigDelegateMgComposite_24(SwigDirectorsave);
     if (SwigDerivedClassHasMethod("load", swigMethodTypes25))
       swigDelegate25 = new SwigDelegateMgComposite_25(SwigDirectorload);
     if (SwigDerivedClassHasMethod("getHandleCount", swigMethodTypes26))
       swigDelegate26 = new SwigDelegateMgComposite_26(SwigDirectorgetHandleCount);
     if (SwigDerivedClassHasMethod("getHandlePoint", swigMethodTypes27))
       swigDelegate27 = new SwigDelegateMgComposite_27(SwigDirectorgetHandlePoint);
     if (SwigDerivedClassHasMethod("setHandlePoint", swigMethodTypes28))
       swigDelegate28 = new SwigDelegateMgComposite_28(SwigDirectorsetHandlePoint);
     if (SwigDerivedClassHasMethod("isHandleFixed", swigMethodTypes29))
       swigDelegate29 = new SwigDelegateMgComposite_29(SwigDirectorisHandleFixed);
     if (SwigDerivedClassHasMethod("getHandleType", swigMethodTypes30))
       swigDelegate30 = new SwigDelegateMgComposite_30(SwigDirectorgetHandleType);
     if (SwigDerivedClassHasMethod("offset", swigMethodTypes31))
       swigDelegate31 = new SwigDelegateMgComposite_31(SwigDirectoroffset);
     if (SwigDerivedClassHasMethod("setFlag", swigMethodTypes32))
       swigDelegate32 = new SwigDelegateMgComposite_32(SwigDirectorsetFlag);
     if (SwigDerivedClassHasMethod("canOffsetShapeAlone", swigMethodTypes33))
       swigDelegate33 = new SwigDelegateMgComposite_33(SwigDirectorcanOffsetShapeAlone);
     touchvgPINVOKE.MgComposite_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);
 }