Home
last modified time | relevance | path

Searched refs:pathRect (Results 1 - 1 of 1) sorted by relevance

/test/xts/acts/graphic/graphicnapidrawingtest/
H A DNativeDrawingPathTest.cpp402 OH_Drawing_Path* pathRect = OH_Drawing_PathCreate(); in HWTEST_F() local
403 OH_Drawing_PathAddRect(pathRect, 0.0f, 0.0f, 200.0f, 300.0f, OH_Drawing_PathDirection::PATH_DIRECTION_CW); in HWTEST_F()
409 OH_Drawing_PathAddPath(pathRect, pathRect, nullptr); in HWTEST_F()
410 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(pathRect)->GetBounds().GetWidth(), 200.0)); in HWTEST_F()
411 OH_Drawing_PathAddPath(pathRect, pathRect, matrix); in HWTEST_F()
412 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(pathRect)->GetBounds().GetWidth(), 2200.0)); in HWTEST_F()
413 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(pathRect)->GetBounds().GetHeight(), 600.0)); in HWTEST_F()
414 OH_Drawing_PathAddPath(nullptr, pathRect, matri in HWTEST_F()
[all...]

Completed in 1 milliseconds