projects
/
platform
/
core
/
csapi
/
tizenfx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdaeb37
)
[NUI] Add GetMatrixFromPtr() in Matrix
author
Daekwang Ryu
<dkdk.ryu@samsung.com>
Wed, 17 Aug 2022 05:46:56 +0000
(14:46 +0900)
committer
Jaehyun Cho
<jaehyun0cho@gmail.com>
Tue, 29 Nov 2022 09:02:38 +0000
(18:02 +0900)
src/Tizen.NUI/src/public/Common/Matrix.cs
patch
|
blob
|
history
diff --git
a/src/Tizen.NUI/src/public/Common/Matrix.cs
b/src/Tizen.NUI/src/public/Common/Matrix.cs
index
821d0a2
..
d6816da
100755
(executable)
--- a/
src/Tizen.NUI/src/public/Common/Matrix.cs
+++ b/
src/Tizen.NUI/src/public/Common/Matrix.cs
@@
-306,5
+306,12
@@
namespace Tizen.NUI
Interop.Matrix.SetValueAtIndex(SwigCPtr, indexRow, indexColumn, val);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+
+ internal static Matrix GetMatrixFromPtr(global::System.IntPtr cPtr)
+ {
+ Matrix ret = new Matrix(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
}
}