Searched refs:path16 (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 | 653 OH_Drawing_Path* path16 = OH_Drawing_PathCreate(); variable 654 OH_Drawing_PathAddRect(path16, 100, 500, 500, 100, OH_Drawing_PathDirection::PATH_DIRECTION_CW); 661 OH_Drawing_PathAddPath(nullptr, path16, matrix); 663 OH_Drawing_PathAddPath(path16, nullptr, matrix); 665 OH_Drawing_PathAddPath(path16, path16, matrix); 666 … EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path16)->GetBounds().GetWidth(), 400.0)); 667 …EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path16)->GetBounds().GetHeight(), 1000.0)); 668 OH_Drawing_PathDestroy(path16);
|