Ejemplo n.º 1
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("clone", swigMethodTypes0))
       swigDelegate0 = new SwigDelegateMgBaseShape_0(SwigDirectorclone);
     if (SwigDerivedClassHasMethod("copy", swigMethodTypes1))
       swigDelegate1 = new SwigDelegateMgBaseShape_1(SwigDirectorcopy);
     if (SwigDerivedClassHasMethod("release", swigMethodTypes2))
       swigDelegate2 = new SwigDelegateMgBaseShape_2(SwigDirectorrelease);
     if (SwigDerivedClassHasMethod("addRef", swigMethodTypes3))
       swigDelegate3 = new SwigDelegateMgBaseShape_3(SwigDirectoraddRef);
     if (SwigDerivedClassHasMethod("equals", swigMethodTypes4))
       swigDelegate4 = new SwigDelegateMgBaseShape_4(SwigDirectorequals);
     if (SwigDerivedClassHasMethod("getType", swigMethodTypes5))
       swigDelegate5 = new SwigDelegateMgBaseShape_5(SwigDirectorgetType);
     if (SwigDerivedClassHasMethod("isKindOf", swigMethodTypes6))
       swigDelegate6 = new SwigDelegateMgBaseShape_6(SwigDirectorisKindOf);
     if (SwigDerivedClassHasMethod("getExtent", swigMethodTypes7))
       swigDelegate7 = new SwigDelegateMgBaseShape_7(SwigDirectorgetExtent);
     if (SwigDerivedClassHasMethod("getChangeCount", swigMethodTypes8))
       swigDelegate8 = new SwigDelegateMgBaseShape_8(SwigDirectorgetChangeCount);
     if (SwigDerivedClassHasMethod("resetChangeCount", swigMethodTypes9))
       swigDelegate9 = new SwigDelegateMgBaseShape_9(SwigDirectorresetChangeCount);
     if (SwigDerivedClassHasMethod("afterChanged", swigMethodTypes10))
       swigDelegate10 = new SwigDelegateMgBaseShape_10(SwigDirectorafterChanged);
     if (SwigDerivedClassHasMethod("update", swigMethodTypes11))
       swigDelegate11 = new SwigDelegateMgBaseShape_11(SwigDirectorupdate);
     if (SwigDerivedClassHasMethod("transform", swigMethodTypes12))
       swigDelegate12 = new SwigDelegateMgBaseShape_12(SwigDirectortransform);
     if (SwigDerivedClassHasMethod("clear", swigMethodTypes13))
       swigDelegate13 = new SwigDelegateMgBaseShape_13(SwigDirectorclear);
     if (SwigDerivedClassHasMethod("clearCachedData", swigMethodTypes14))
       swigDelegate14 = new SwigDelegateMgBaseShape_14(SwigDirectorclearCachedData);
     if (SwigDerivedClassHasMethod("getPointCount", swigMethodTypes15))
       swigDelegate15 = new SwigDelegateMgBaseShape_15(SwigDirectorgetPointCount);
     if (SwigDerivedClassHasMethod("getPoint", swigMethodTypes16))
       swigDelegate16 = new SwigDelegateMgBaseShape_16(SwigDirectorgetPoint);
     if (SwigDerivedClassHasMethod("setPoint", swigMethodTypes17))
       swigDelegate17 = new SwigDelegateMgBaseShape_17(SwigDirectorsetPoint);
     if (SwigDerivedClassHasMethod("isClosed", swigMethodTypes18))
       swigDelegate18 = new SwigDelegateMgBaseShape_18(SwigDirectorisClosed);
     if (SwigDerivedClassHasMethod("isCurve", swigMethodTypes19))
       swigDelegate19 = new SwigDelegateMgBaseShape_19(SwigDirectorisCurve);
     if (SwigDerivedClassHasMethod("hitTest", swigMethodTypes20))
       swigDelegate20 = new SwigDelegateMgBaseShape_20(SwigDirectorhitTest);
     if (SwigDerivedClassHasMethod("hitTestBox", swigMethodTypes21))
       swigDelegate21 = new SwigDelegateMgBaseShape_21(SwigDirectorhitTestBox);
     if (SwigDerivedClassHasMethod("draw", swigMethodTypes22))
       swigDelegate22 = new SwigDelegateMgBaseShape_22(SwigDirectordraw);
     if (SwigDerivedClassHasMethod("draw2", swigMethodTypes23))
       swigDelegate23 = new SwigDelegateMgBaseShape_23(SwigDirectordraw2);
     if (SwigDerivedClassHasMethod("output", swigMethodTypes24))
       swigDelegate24 = new SwigDelegateMgBaseShape_24(SwigDirectoroutput);
     if (SwigDerivedClassHasMethod("save", swigMethodTypes25))
       swigDelegate25 = new SwigDelegateMgBaseShape_25(SwigDirectorsave);
     if (SwigDerivedClassHasMethod("load", swigMethodTypes26))
       swigDelegate26 = new SwigDelegateMgBaseShape_26(SwigDirectorload);
     if (SwigDerivedClassHasMethod("getHandleCount", swigMethodTypes27))
       swigDelegate27 = new SwigDelegateMgBaseShape_27(SwigDirectorgetHandleCount);
     if (SwigDerivedClassHasMethod("getHandlePoint", swigMethodTypes28))
       swigDelegate28 = new SwigDelegateMgBaseShape_28(SwigDirectorgetHandlePoint);
     if (SwigDerivedClassHasMethod("setHandlePoint", swigMethodTypes29))
       swigDelegate29 = new SwigDelegateMgBaseShape_29(SwigDirectorsetHandlePoint);
     if (SwigDerivedClassHasMethod("isHandleFixed", swigMethodTypes30))
       swigDelegate30 = new SwigDelegateMgBaseShape_30(SwigDirectorisHandleFixed);
     if (SwigDerivedClassHasMethod("getHandleType", swigMethodTypes31))
       swigDelegate31 = new SwigDelegateMgBaseShape_31(SwigDirectorgetHandleType);
     if (SwigDerivedClassHasMethod("offset", swigMethodTypes32))
       swigDelegate32 = new SwigDelegateMgBaseShape_32(SwigDirectoroffset);
     if (SwigDerivedClassHasMethod("setFlag", swigMethodTypes33))
       swigDelegate33 = new SwigDelegateMgBaseShape_33(SwigDirectorsetFlag);
     if (SwigDerivedClassHasMethod("setOwner", swigMethodTypes34))
       swigDelegate34 = new SwigDelegateMgBaseShape_34(SwigDirectorsetOwner);
     if (SwigDerivedClassHasMethod("getSubType", swigMethodTypes35))
       swigDelegate35 = new SwigDelegateMgBaseShape_35(SwigDirectorgetSubType);
     touchvgPINVOKE.MgBaseShape_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);
 }
Ejemplo n.º 2
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("clone", swigMethodTypes0))
     {
         swigDelegate0 = new SwigDelegateMgBaseShape_0(SwigDirectorclone);
     }
     if (SwigDerivedClassHasMethod("copy", swigMethodTypes1))
     {
         swigDelegate1 = new SwigDelegateMgBaseShape_1(SwigDirectorcopy);
     }
     if (SwigDerivedClassHasMethod("release", swigMethodTypes2))
     {
         swigDelegate2 = new SwigDelegateMgBaseShape_2(SwigDirectorrelease);
     }
     if (SwigDerivedClassHasMethod("addRef", swigMethodTypes3))
     {
         swigDelegate3 = new SwigDelegateMgBaseShape_3(SwigDirectoraddRef);
     }
     if (SwigDerivedClassHasMethod("equals", swigMethodTypes4))
     {
         swigDelegate4 = new SwigDelegateMgBaseShape_4(SwigDirectorequals);
     }
     if (SwigDerivedClassHasMethod("getType", swigMethodTypes5))
     {
         swigDelegate5 = new SwigDelegateMgBaseShape_5(SwigDirectorgetType);
     }
     if (SwigDerivedClassHasMethod("isKindOf", swigMethodTypes6))
     {
         swigDelegate6 = new SwigDelegateMgBaseShape_6(SwigDirectorisKindOf);
     }
     if (SwigDerivedClassHasMethod("getExtent", swigMethodTypes7))
     {
         swigDelegate7 = new SwigDelegateMgBaseShape_7(SwigDirectorgetExtent);
     }
     if (SwigDerivedClassHasMethod("getChangeCount", swigMethodTypes8))
     {
         swigDelegate8 = new SwigDelegateMgBaseShape_8(SwigDirectorgetChangeCount);
     }
     if (SwigDerivedClassHasMethod("resetChangeCount", swigMethodTypes9))
     {
         swigDelegate9 = new SwigDelegateMgBaseShape_9(SwigDirectorresetChangeCount);
     }
     if (SwigDerivedClassHasMethod("afterChanged", swigMethodTypes10))
     {
         swigDelegate10 = new SwigDelegateMgBaseShape_10(SwigDirectorafterChanged);
     }
     if (SwigDerivedClassHasMethod("update", swigMethodTypes11))
     {
         swigDelegate11 = new SwigDelegateMgBaseShape_11(SwigDirectorupdate);
     }
     if (SwigDerivedClassHasMethod("transform", swigMethodTypes12))
     {
         swigDelegate12 = new SwigDelegateMgBaseShape_12(SwigDirectortransform);
     }
     if (SwigDerivedClassHasMethod("clear", swigMethodTypes13))
     {
         swigDelegate13 = new SwigDelegateMgBaseShape_13(SwigDirectorclear);
     }
     if (SwigDerivedClassHasMethod("clearCachedData", swigMethodTypes14))
     {
         swigDelegate14 = new SwigDelegateMgBaseShape_14(SwigDirectorclearCachedData);
     }
     if (SwigDerivedClassHasMethod("getPointCount", swigMethodTypes15))
     {
         swigDelegate15 = new SwigDelegateMgBaseShape_15(SwigDirectorgetPointCount);
     }
     if (SwigDerivedClassHasMethod("getPoint", swigMethodTypes16))
     {
         swigDelegate16 = new SwigDelegateMgBaseShape_16(SwigDirectorgetPoint);
     }
     if (SwigDerivedClassHasMethod("setPoint", swigMethodTypes17))
     {
         swigDelegate17 = new SwigDelegateMgBaseShape_17(SwigDirectorsetPoint);
     }
     if (SwigDerivedClassHasMethod("isClosed", swigMethodTypes18))
     {
         swigDelegate18 = new SwigDelegateMgBaseShape_18(SwigDirectorisClosed);
     }
     if (SwigDerivedClassHasMethod("isCurve", swigMethodTypes19))
     {
         swigDelegate19 = new SwigDelegateMgBaseShape_19(SwigDirectorisCurve);
     }
     if (SwigDerivedClassHasMethod("hitTest", swigMethodTypes20))
     {
         swigDelegate20 = new SwigDelegateMgBaseShape_20(SwigDirectorhitTest);
     }
     if (SwigDerivedClassHasMethod("hitTestBox", swigMethodTypes21))
     {
         swigDelegate21 = new SwigDelegateMgBaseShape_21(SwigDirectorhitTestBox);
     }
     if (SwigDerivedClassHasMethod("draw", swigMethodTypes22))
     {
         swigDelegate22 = new SwigDelegateMgBaseShape_22(SwigDirectordraw);
     }
     if (SwigDerivedClassHasMethod("draw2", swigMethodTypes23))
     {
         swigDelegate23 = new SwigDelegateMgBaseShape_23(SwigDirectordraw2);
     }
     if (SwigDerivedClassHasMethod("output", swigMethodTypes24))
     {
         swigDelegate24 = new SwigDelegateMgBaseShape_24(SwigDirectoroutput);
     }
     if (SwigDerivedClassHasMethod("save", swigMethodTypes25))
     {
         swigDelegate25 = new SwigDelegateMgBaseShape_25(SwigDirectorsave);
     }
     if (SwigDerivedClassHasMethod("load", swigMethodTypes26))
     {
         swigDelegate26 = new SwigDelegateMgBaseShape_26(SwigDirectorload);
     }
     if (SwigDerivedClassHasMethod("getHandleCount", swigMethodTypes27))
     {
         swigDelegate27 = new SwigDelegateMgBaseShape_27(SwigDirectorgetHandleCount);
     }
     if (SwigDerivedClassHasMethod("getHandlePoint", swigMethodTypes28))
     {
         swigDelegate28 = new SwigDelegateMgBaseShape_28(SwigDirectorgetHandlePoint);
     }
     if (SwigDerivedClassHasMethod("setHandlePoint", swigMethodTypes29))
     {
         swigDelegate29 = new SwigDelegateMgBaseShape_29(SwigDirectorsetHandlePoint);
     }
     if (SwigDerivedClassHasMethod("isHandleFixed", swigMethodTypes30))
     {
         swigDelegate30 = new SwigDelegateMgBaseShape_30(SwigDirectorisHandleFixed);
     }
     if (SwigDerivedClassHasMethod("getHandleType", swigMethodTypes31))
     {
         swigDelegate31 = new SwigDelegateMgBaseShape_31(SwigDirectorgetHandleType);
     }
     if (SwigDerivedClassHasMethod("offset", swigMethodTypes32))
     {
         swigDelegate32 = new SwigDelegateMgBaseShape_32(SwigDirectoroffset);
     }
     if (SwigDerivedClassHasMethod("setFlag", swigMethodTypes33))
     {
         swigDelegate33 = new SwigDelegateMgBaseShape_33(SwigDirectorsetFlag);
     }
     if (SwigDerivedClassHasMethod("setOwner", swigMethodTypes34))
     {
         swigDelegate34 = new SwigDelegateMgBaseShape_34(SwigDirectorsetOwner);
     }
     if (SwigDerivedClassHasMethod("getSubType", swigMethodTypes35))
     {
         swigDelegate35 = new SwigDelegateMgBaseShape_35(SwigDirectorgetSubType);
     }
     touchvgPINVOKE.MgBaseShape_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);
 }