Home
last modified time | relevance | path

Searched refs:aY (Results 1 - 4 of 4) sorted by relevance

/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/common/
H A Dcommon_math.h82 inline bool CalcIntersection(float aX, float aY, float bX, float bY, in CalcIntersection() argument
86 float num = (aY - cY) * (dX - cX) - (aX - cX) * (dY - cY); in CalcIntersection()
87 float den = (bX - aX) * (dY - cY) - (bY - aY) * (dX - cX); in CalcIntersection()
93 *y = aY + r * (bY - aY); in CalcIntersection()
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/
H A Ddrawing_c_sample.cpp66 float aY = 500; in TestDrawPathPro() local
70 float dY = aY + len * std::cos(18.0f); in TestDrawPathPro()
78 float bY = aY + std::sqrt((cX - dX) * (cX - dX) + (len / 2.0) * (len / 2.0)); in TestDrawPathPro()
85 OH_Drawing_PathMoveTo(cPath, aX, aY); in TestDrawPathPro()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/
H A Dpost_proc_slr.cpp143 int aY = std::max(2, static_cast<int>(std::floor(taoY))); // 2 default size in SLRBoxCheck() local
144 if (static_cast<int>((*x).size()) < key.y || static_cast<int>((*x)[0].size()) < 2 * aY) { // 2 max slr box size in SLRBoxCheck()
145 IMAGE_LOGE("SLRBoxCheck h_y error:%{public}zu, %{public}d", (*x).size(), aY); in SLRBoxCheck()
172 int aY = std::max(2, static_cast<int>(std::floor(taoY))); // 2 default size in SLRBox() local
176 int cStart = etaJ - aY + 1, cEnd = etaJ + aY; in SLRBox()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/
H A Ddrawing_canvas_test.cpp189 float aY = height / 4; in HWTEST_F() local
191 float dY = aY + len * std::cos(arc); in HWTEST_F()
195 float bY = aY + std::sqrt((cX - dX) * (cX - dX) + (len / 2.0) * (len / 2.0)); in HWTEST_F()
198 OH_Drawing_PathMoveTo(path, aX, aY); in HWTEST_F()

Completed in 4 milliseconds