Searched refs:rectangle (Results 1 - 7 of 7) sorted by relevance
/foundation/arkui/ace_engine/interfaces/napi/kits/componentutils/ |
H A D | js_component_utils.cpp | 40 OHOS::Ace::NG::Rectangle rectangle; in JSGetRectangleById() local 46 delegate->GetRectangleById(key, rectangle); in JSGetRectangleById() 109 napi_create_double(env, rectangle.size.Width(), &width); in JSGetRectangleById() 110 napi_create_double(env, rectangle.size.Height(), &height); in JSGetRectangleById() 111 napi_create_double(env, rectangle.localOffset.GetX(), &localOffsetX); in JSGetRectangleById() 112 napi_create_double(env, rectangle.localOffset.GetY(), &localOffsetY); in JSGetRectangleById() 113 napi_create_double(env, rectangle.windowOffset.GetX(), &windowOffsetX); in JSGetRectangleById() 114 napi_create_double(env, rectangle.windowOffset.GetY(), &windowOffsetY); in JSGetRectangleById() 115 napi_create_double(env, rectangle.windowOffset.GetX() + rectangle in JSGetRectangleById() [all...] |
/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | dimension_size.h | 63 static double CalcRatio(const T& rectangle) in CalcRatio() argument 65 if (NearZero(static_cast<double>(rectangle.Height()))) { in CalcRatio() 68 return static_cast<double>(rectangle.Width()) / static_cast<double>(rectangle.Height()); in CalcRatio()
|
H A D | size.h | 205 static double CalcRatio(const T& rectangle) in CalcRatio() argument 207 if (NearZero(static_cast<double>(rectangle.Height()))) { in CalcRatio() 210 return static_cast<double>(rectangle.Width()) / static_cast<double>(rectangle.Height()); in CalcRatio()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | inspector.cpp | 489 void Inspector::GetRectangleById(const std::string& key, Rectangle& rectangle) in GetRectangleById() argument 496 rectangle.size = frameNode->GetGeometryNode()->GetFrameSize(); in GetRectangleById() 502 rectangle.localOffset = context->GetPaintRectWithTransform().GetOffset(); in GetRectangleById() 503 rectangle.windowOffset = frameNode->GetOffsetRelativeToWindow(); in GetRectangleById() 506 rectangle.screenRect = pipeline->GetCurrentWindowRect(); in GetRectangleById() 511 frameNode->GetId(), key.c_str(), rectangle.localOffset.ToString().c_str(), in GetRectangleById() 512 rectangle.windowOffset.ToString().c_str(), rectangle.screenRect.ToString().c_str()); in GetRectangleById() 517 rectangle.matrix4 = matrix4; in GetRectangleById() 535 rectangle in GetRectangleById() [all...] |
H A D | inspector.h | 43 static void GetRectangleById(const std::string& key, Rectangle& rectangle);
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/ |
H A D | frontend_delegate.cpp | 116 void FrontendDelegate::GetRectangleById(const std::string& key, NG::Rectangle& rectangle) in GetRectangleById() argument 118 NG::Inspector::GetRectangleById(key, rectangle); in GetRectangleById()
|
H A D | frontend_delegate.h | 127 virtual void GetRectangleById(const std::string& key, NG::Rectangle& rectangle);
|
Completed in 5 milliseconds