Bind RequestAsyncRenderWithFixedSize for async text
authorBowon Ryu <bowon.ryu@samsung.com>
Tue, 9 Jul 2024 06:52:59 +0000 (15:52 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Tue, 9 Jul 2024 06:52:59 +0000 (15:52 +0900)
Change-Id: I87cb6f9e644720908bf3f4ed2861e885e1d3f3d4
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
dali-csharp-binder/dali-toolkit/text-label-wrap.cpp

index 291a5ae..973cd05 100755 (executable)
@@ -212,6 +212,19 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_TextLabel_GetTextFitArray(void * argTe
   return result;
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_TextLabel_RequestAsyncRenderWithFixedSize(void * pTextLabel, float width, float height)
+{
+  Dali::Toolkit::TextLabel *textLabel = (Dali::Toolkit::TextLabel *) 0;
+
+  textLabel = (Dali::Toolkit::TextLabel *)pTextLabel;
+  {
+    try
+    {
+      Dali::Toolkit::DevelTextLabel::RequestAsyncRenderWithFixedSize(*textLabel, width, height);
+    } CALL_CATCH_EXCEPTION();
+  }
+}
+
 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_TextLabel_AnchorClickedSignal(void * jarg1) {
   void * jresult ;
   Dali::Toolkit::TextLabel *arg1 = (Dali::Toolkit::TextLabel *) 0 ;