Home
last modified time | relevance | path

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

/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/common/
H A Dcommon_math.h75 * @param aX,bX,cX,dX are the X coordinates of the point, and ay, by, cy and dy are the Y coordinates of the point
82 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()
92 *x = aX + r * (bX - aX); in CalcIntersection()
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/
H A Ddrawing_c_sample.cpp65 float aX = 500; in TestDrawPathPro() local
69 float dX = aX - len * std::sin(18.0f); in TestDrawPathPro()
73 float cX = aX + len * std::sin(18.0f); in TestDrawPathPro()
77 float bX = aX + (len / 2.0); in TestDrawPathPro()
81 float eX = aX - (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.cpp142 int aX = std::max(2, static_cast<int>(std::floor(taoX))); in SLRBoxCheck() local
148 if (static_cast<int>((*y).size()) < key.x || static_cast<int>((*y)[0].size()) < 2 * aX) { // 2 max slr box size in SLRBoxCheck()
149 IMAGE_LOGE("SLRBoxCheck h_x error:%{public}zu, %{public}d", (*y).size(), aX); in SLRBoxCheck()
171 int aX = std::max(2, static_cast<int>(std::floor(taoX))); in SLRBox() local
175 int rStart = etaI - aX + 1, rEnd = etaI + aX; in SLRBox()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/
H A Ddrawing_canvas_test.cpp188 float aX = width / 2; in HWTEST_F() local
190 float dX = aX - len * std::sin(arc); in HWTEST_F()
192 float cX = aX + len * std::sin(arc); in HWTEST_F()
194 float bX = aX + (len / 2.0); in HWTEST_F()
196 float eX = aX - (len / 2.0); in HWTEST_F()
198 OH_Drawing_PathMoveTo(path, aX, aY); in HWTEST_F()

Completed in 5 milliseconds