Searched refs:dX (Results 1 - 4 of 4) sorted by relevance
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/common/ |
H A D | common_math.h | 75 * @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 83 float cX, float cY, float dX, float dY, in CalcIntersection() 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() 82 CalcIntersection(float aX, float aY, float bX, float bY, float cX, float cY, float dX, float dY, float* x, float* y) CalcIntersection() argument
|
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/ |
H A D | drawing_c_sample.cpp | 69 float dX = aX - len * std::sin(18.0f); in TestDrawPathPro() local 78 float bY = aY + std::sqrt((cX - dX) * (cX - dX) + (len / 2.0) * (len / 2.0)); in TestDrawPathPro() 88 OH_Drawing_PathLineTo(cPath, dX, dY); in TestDrawPathPro()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/ |
H A D | drawing_canvas_test.cpp | 190 float dX = aX - len * std::sin(arc); in HWTEST_F() local 195 float bY = aY + std::sqrt((cX - dX) * (cX - dX) + (len / 2.0) * (len / 2.0)); in HWTEST_F() 201 OH_Drawing_PathLineTo(path, dX, dY); in HWTEST_F()
|
/foundation/graphic/graphic_3d/3d_widget_adapter/core/src/lume/ |
H A D | lume_common.cpp | 759 float dX = newMidPoint.x_ - midPoint_.x_; in OnMove() local 762 if (dX != 0 || dY != 0) { in OnMove() 764 UpdateCameraRotation(sensitivity * dX, sensitivity * dY); in OnMove() 769 midPoint_.deltaX_ = dX; in OnMove()
|
Completed in 8 milliseconds