Add CanvasRenderer::Shape::ResetPath() api binder 46/256846/2
authorJunsuChoi <jsuya.choi@samsung.com>
Wed, 14 Apr 2021 02:07:39 +0000 (11:07 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Wed, 14 Apr 2021 05:45:21 +0000 (14:45 +0900)
Change-Id: I1cd4668dcfd7d633e078eccfa21f50fb285d2359

dali-csharp-binder/src/canvas-view.cpp

index f51c916..725545c 100644 (file)
@@ -461,6 +461,28 @@ SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_Shape_Close(char *jarg1) {
   return result;
 }
 
+SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_Shape_ResetPath(char *jarg1) {
+  Dali::CanvasRenderer::Shape *argp1;
+  bool result = false;
+
+  argp1 = (Dali::CanvasRenderer::Shape *)jarg1;
+  if (!argp1) {
+    SWIG_CSharpSetPendingExceptionArgument(
+        SWIG_CSharpArgumentNullException,
+        "Attempt to dereference null Dali::CanvasRenderer::Shape", 0);
+    return false;
+  }
+
+  {
+    try {
+      result = argp1->ResetPath();
+    }
+    CALL_CATCH_EXCEPTION(0);
+  }
+
+  return result;
+}
+
 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Shape_SetFillColor(char *jarg1,
                                                            char *jarg2) {
   Dali::CanvasRenderer::Shape *argp1;