Home
last modified time | relevance | path

Searched refs:PointT (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ng/
H A Dpoint_t.h25 class PointT {
27 PointT() = default;
28 ~PointT() = default;
29 PointT(T x, T y) : x_(x), y_(y) {} in PointT() function
69 OffsetF operator-(const PointT& PointT) const
71 return OffsetF(x_ - PointT.x_, y_ - PointT.y_);
74 bool operator==(const PointT& PointT) const
76 return NearEqual(x_, PointT.x_) && NearEqual(y_, PointT.y_);
79 bool operator!=(const PointT& PointT) const
81 return !operator==(PointT);
[all …]
H A Drect_t.h180 bool IsInRegion(const PointT<T>& point) const in IsInRegion()
189 bool IsInnerRegion(const PointT<T>& point) const in IsInnerRegion()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dmatrix2d.h32 Matrix4 SetMatrixPolyToPoly(const Matrix4& matrix, const std::vector<OHOS::Ace::NG::PointT<int32_t>…
H A Dmatrix2d.cpp89 const Matrix4& matrix, const std::vector<OHOS::Ace::NG::PointT<int32_t>>& totalPoint) in SetMatrixPolyToPoly()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/modules/
H A Djsi_matrix4_module.cpp245 void ParsePoint(shared_ptr<JsValue> array, std::vector<OHOS::Ace::NG::PointT<int32_t>>& vector, in ParsePoint()
257 vector.push_back(OHOS::Ace::NG::PointT(x, y)); in ParsePoint()
281 std::vector<OHOS::Ace::NG::PointT<int32_t>> srcPoint, dstPoint; in SetPolyToPoly()
300 std::vector<OHOS::Ace::NG::PointT<int32_t>> totalPoint; in SetPolyToPoly()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/base/
H A Dui_node_test_ng.cpp2364 PointT<float> globalPoint;
2365 PointT<float> parentLocalPoint;
2366 PointT<float> parentRevertPoint;