Searched refs:path15 (Results 1 – 1 of 1) sorted by relevance
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/ |
H A D | drawing_path_test.cpp | 631 OH_Drawing_Path* path15 = OH_Drawing_PathCreate(); variable 632 OH_Drawing_PathAddRect(path15, 100, 500, 500, 100, PATH_DIRECTION_CW); 634 OH_Drawing_PathTransformWithPerspectiveClip(nullptr, matrix, path15, true); 636 OH_Drawing_PathTransformWithPerspectiveClip(path15, nullptr, path15, true); 638 OH_Drawing_PathTransformWithPerspectiveClip(path15, matrix, path15, true); 639 … EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path15)->GetBounds().GetWidth(), 400.0)); 640 … EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path15)->GetBounds().GetHeight(), 400.0)); 641 OH_Drawing_PathDestroy(path15);
|