コード例 #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("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);
 }
コード例 #2
0
ファイル: MgBaseRect.cs プロジェクト: vvhh2002/TouchVG
 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("setOwner", swigMethodTypes7))
       swigDelegate7 = new SwigDelegateMgBaseRect_7(SwigDirectorsetOwner);
     if (SwigDerivedClassHasMethod("getExtent", swigMethodTypes8))
       swigDelegate8 = new SwigDelegateMgBaseRect_8(SwigDirectorgetExtent);
     if (SwigDerivedClassHasMethod("getChangeCount", swigMethodTypes9))
       swigDelegate9 = new SwigDelegateMgBaseRect_9(SwigDirectorgetChangeCount);
     if (SwigDerivedClassHasMethod("resetChangeCount", swigMethodTypes10))
       swigDelegate10 = new SwigDelegateMgBaseRect_10(SwigDirectorresetChangeCount);
     if (SwigDerivedClassHasMethod("afterChanged", swigMethodTypes11))
       swigDelegate11 = new SwigDelegateMgBaseRect_11(SwigDirectorafterChanged);
     if (SwigDerivedClassHasMethod("update", swigMethodTypes12))
       swigDelegate12 = new SwigDelegateMgBaseRect_12(SwigDirectorupdate);
     if (SwigDerivedClassHasMethod("transform", swigMethodTypes13))
       swigDelegate13 = new SwigDelegateMgBaseRect_13(SwigDirectortransform);
     if (SwigDerivedClassHasMethod("clear", swigMethodTypes14))
       swigDelegate14 = new SwigDelegateMgBaseRect_14(SwigDirectorclear);
     if (SwigDerivedClassHasMethod("clearCachedData", swigMethodTypes15))
       swigDelegate15 = new SwigDelegateMgBaseRect_15(SwigDirectorclearCachedData);
     if (SwigDerivedClassHasMethod("getPointCount", swigMethodTypes16))
       swigDelegate16 = new SwigDelegateMgBaseRect_16(SwigDirectorgetPointCount);
     if (SwigDerivedClassHasMethod("getPoint", swigMethodTypes17))
       swigDelegate17 = new SwigDelegateMgBaseRect_17(SwigDirectorgetPoint);
     if (SwigDerivedClassHasMethod("setPoint", swigMethodTypes18))
       swigDelegate18 = new SwigDelegateMgBaseRect_18(SwigDirectorsetPoint);
     if (SwigDerivedClassHasMethod("isClosed", swigMethodTypes19))
       swigDelegate19 = new SwigDelegateMgBaseRect_19(SwigDirectorisClosed);
     if (SwigDerivedClassHasMethod("isCurve", swigMethodTypes20))
       swigDelegate20 = new SwigDelegateMgBaseRect_20(SwigDirectorisCurve);
     if (SwigDerivedClassHasMethod("hitTest", swigMethodTypes21))
       swigDelegate21 = new SwigDelegateMgBaseRect_21(SwigDirectorhitTest);
     if (SwigDerivedClassHasMethod("hitTestBox", swigMethodTypes22))
       swigDelegate22 = new SwigDelegateMgBaseRect_22(SwigDirectorhitTestBox);
     if (SwigDerivedClassHasMethod("draw", swigMethodTypes23))
       swigDelegate23 = new SwigDelegateMgBaseRect_23(SwigDirectordraw);
     if (SwigDerivedClassHasMethod("save", swigMethodTypes24))
       swigDelegate24 = new SwigDelegateMgBaseRect_24(SwigDirectorsave);
     if (SwigDerivedClassHasMethod("load", swigMethodTypes25))
       swigDelegate25 = new SwigDelegateMgBaseRect_25(SwigDirectorload);
     if (SwigDerivedClassHasMethod("getHandleCount", swigMethodTypes26))
       swigDelegate26 = new SwigDelegateMgBaseRect_26(SwigDirectorgetHandleCount);
     if (SwigDerivedClassHasMethod("getHandlePoint", swigMethodTypes27))
       swigDelegate27 = new SwigDelegateMgBaseRect_27(SwigDirectorgetHandlePoint);
     if (SwigDerivedClassHasMethod("setHandlePoint", swigMethodTypes28))
       swigDelegate28 = new SwigDelegateMgBaseRect_28(SwigDirectorsetHandlePoint);
     if (SwigDerivedClassHasMethod("isHandleFixed", swigMethodTypes29))
       swigDelegate29 = new SwigDelegateMgBaseRect_29(SwigDirectorisHandleFixed);
     if (SwigDerivedClassHasMethod("getHandleType", swigMethodTypes30))
       swigDelegate30 = new SwigDelegateMgBaseRect_30(SwigDirectorgetHandleType);
     if (SwigDerivedClassHasMethod("offset", swigMethodTypes31))
       swigDelegate31 = new SwigDelegateMgBaseRect_31(SwigDirectoroffset);
     if (SwigDerivedClassHasMethod("setFlag", swigMethodTypes32))
       swigDelegate32 = new SwigDelegateMgBaseRect_32(SwigDirectorsetFlag);
     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);
 }