Lines Matching defs:true
497 * @tc.desc: Test for adding a polygon to a path with the fourth parameter set to true.
511 // 5. Add a polygon to the path. Set the fourth parameter to true.
517 OH_Drawing_PathAddPolygon(path, points, 4, true);
568 OH_Drawing_PathAddPolygon(nullptr, points, 4, true);
572 OH_Drawing_PathAddPolygon(path, nullptr, 4, true);
576 OH_Drawing_PathAddPolygon(path, points, 0, true);
604 OH_Drawing_PathAddPolygon(path, points, 4, true);
607 OH_Drawing_PathAddPolygon(path, points, 4, true);
609 OH_Drawing_PathAddPolygon(path, points, 4.0f, true);
635 OH_Drawing_PathAddPolygon(path, points, 4, true);
642 OH_Drawing_PathAddPolygon(path, points2, 4, true);
813 EXPECT_EQ(OH_Drawing_PathContains(path, 50, 50), true);
972 // 6. Transform the path using OH_Drawing_PathTransformWithPerspectiveClip, with the fourth parameter set to true.
973 OH_Drawing_PathTransformWithPerspectiveClip(src, matrix, dst, true);
1024 OH_Drawing_PathTransformWithPerspectiveClip(nullptr, matrix, dst, true);
1028 OH_Drawing_PathTransformWithPerspectiveClip(src, nullptr, dst, true);
1031 OH_Drawing_PathTransformWithPerspectiveClip(src, matrix, nullptr, true);
1137 // 4. Get the length of the current path by calling OH_Drawing_PathGetLength, with the second parameter set to true.
1138 float length = OH_Drawing_PathGetLength(path, true);
1180 OH_Drawing_PathGetLength(nullptr, true);