@react-native-ohos/react-native-clippathview 1.1.9-rc.1 → 1.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{harmony/clipPath/README.OpenSource → README.OpenSource} +2 -2
- package/README.md +15 -15
- package/harmony/clipPath/index.ets +2 -0
- package/harmony/clipPath/oh-package.json5 +1 -1
- package/harmony/clipPath/src/main/cpp/ClipPathProps.h +120 -63
- package/harmony/clipPath/src/main/cpp/ClipPathViewComponentInstance.cpp +43 -37
- package/harmony/clipPath/src/main/cpp/ClipPathViewComponentInstance.h +6 -1
- package/harmony/clipPath/src/main/cpp/ClipPathViewNoneComponentInstance.cpp +43 -36
- package/harmony/clipPath/src/main/cpp/ClipPathViewNoneNode.cpp +166 -90
- package/harmony/clipPath/src/main/cpp/ClipPathViewNoneNode.h +100 -84
- package/harmony/clipPath/src/main/cpp/RNCClipPathTurboModule.cpp +2 -2
- package/harmony/clipPath/src/main/cpp/RNCClipPathTurboModule.h +10 -7
- package/harmony/clipPath/src/main/cpp/SVGPathParser.cpp +261 -222
- package/harmony/clipPath/src/main/cpp/SVGPathParser.h +4 -4
- package/harmony/clipPath/src/main/cpp/SVGViewBox.cpp +9 -9
- package/harmony/clipPath/src/main/cpp/ShadowNodes.cpp +4 -2
- package/harmony/clipPath/src/main/cpp/pen_style_node.h +20 -4
- package/harmony/clipPath/src/main/ets/{ClipPathPackage.ts → ClipPathPackage.ets} +2 -1
- package/harmony/clipPath.har +0 -0
- package/package.json +10 -8
- package/harmony/clipPath/BuildProfile.ets +0 -6
- package/harmony/clipPath/OAT.xml +0 -39
- package/react-native-clippath.podspec +0 -30
- /package/harmony/clipPath/{ts.ts → ts.ets} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/* *
|
|
2
2
|
* MIT License
|
|
3
3
|
*
|
|
4
4
|
* Copyright (C) 2023 Huawei Device Co., Ltd.
|
|
@@ -22,16 +22,19 @@
|
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
+
#ifndef RNCCLIPPATHTURBOMODULE_H
|
|
26
|
+
#define RNCCLIPPATHTURBOMODULE_H
|
|
27
|
+
|
|
25
28
|
#pragma once
|
|
26
29
|
|
|
27
30
|
#include <ReactCommon/TurboModule.h>
|
|
28
31
|
#include "RNOH/ArkTSTurboModule.h"
|
|
29
32
|
|
|
30
33
|
namespace rnoh {
|
|
34
|
+
class JSI_EXPORT RNCClipPathTurboModule : public ArkTSTurboModule {
|
|
35
|
+
public:
|
|
36
|
+
RNCClipPathTurboModule(const ArkTSTurboModule::Context ctx, const std::string name);
|
|
37
|
+
};
|
|
38
|
+
} // namespace rnoh
|
|
31
39
|
|
|
32
|
-
|
|
33
|
-
public:
|
|
34
|
-
RNCClipPathTurboModule(const ArkTSTurboModule::Context ctx, const std::string name);
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
} // namespace rnoh
|
|
40
|
+
#endif
|