Lines Matching refs:position

111  * @tc.desc: Test for getting position and tangent of a path using normal parameters with tangent flag set to true.
123 // 4. Get the position and tangent of a point at a specified distance from the starting point of the path. Set the
125 OH_Drawing_Point2D position;
127 OH_Drawing_PathGetPositionTangent(path, true, 50, &position, &tangent);
135 * @tc.desc: Test for getting position and tangent of a path using normal parameters with tangent flag set to false.
147 // 4. Get the position and tangent of a point at a specified distance from the starting point of the path. Set the
149 OH_Drawing_Point2D position;
151 OH_Drawing_PathGetPositionTangent(path, false, 50, &position, &tangent);
159 * @tc.desc: Test for getting position and tangent of a path using NULL or invalid parameters.
172 OH_Drawing_Point2D position;
174 OH_Drawing_PathGetPositionTangent(path, true, 0.00, &position, &tangent);
181 OH_Drawing_PathGetPositionTangent(path, true, 50, &position, nullptr);
190 * @tc.desc: Test for getting position and tangent of a path with abnormal parameters (non-float values).
203 OH_Drawing_Point2D position;
205 OH_Drawing_PathGetPositionTangent(path, true, 50, &position, &tangent);
208 position = {10, 10.0f};
209 OH_Drawing_PathGetPositionTangent(path, true, 50, &position, &tangent);
212 position = {10.0f, 10};
213 OH_Drawing_PathGetPositionTangent(path, true, 50, &position, &tangent);
217 OH_Drawing_PathGetPositionTangent(path, true, 50, &position, &tangent);
221 OH_Drawing_PathGetPositionTangent(path, true, 50, &position, &tangent);
229 * @tc.desc: Test for getting position and tangent of a path with maximal values.
241 // 4. Get the position and tangent of a point at a specified distance from the starting point of the path. Set the
243 OH_Drawing_Point2D position;
245 OH_Drawing_PathGetPositionTangent(path, true, FLT_MAX + 1, &position, &tangent);
246 // 5. Get the position and tangent of a point at a specified distance from the starting point of the path. Set the x
248 position = {FLT_MAX + 1, 0.0f};
249 OH_Drawing_PathGetPositionTangent(path, true, 50, &position, &tangent);
250 // 6. Get the position and tangent of a point at a specified distance from the starting point of the path. Set the y
252 position = {0.0f, FLT_MAX + 1};
253 OH_Drawing_PathGetPositionTangent(path, true, 50, &position, &tangent);
254 // 7. Get the position and tangent of a point at a specified distance from the starting point of the path. Set the x
257 OH_Drawing_PathGetPositionTangent(path, true, 50, &position, &tangent);
258 // 8. Get the position and tangent of a point at a specified distance from the starting point of the path. Set the y
261 OH_Drawing_PathGetPositionTangent(path, true, 50, &position, &tangent);