Lines Matching refs:pathRect
402 OH_Drawing_Path* pathRect = OH_Drawing_PathCreate();
403 OH_Drawing_PathAddRect(pathRect, 0.0f, 0.0f, 200.0f, 300.0f, OH_Drawing_PathDirection::PATH_DIRECTION_CW);
409 OH_Drawing_PathAddPath(pathRect, pathRect, nullptr);
410 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(pathRect)->GetBounds().GetWidth(), 200.0));
411 OH_Drawing_PathAddPath(pathRect, pathRect, matrix);
412 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(pathRect)->GetBounds().GetWidth(), 2200.0));
413 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(pathRect)->GetBounds().GetHeight(), 600.0));
414 OH_Drawing_PathAddPath(nullptr, pathRect, matrix);
415 OH_Drawing_PathAddPath(pathRect, nullptr, matrix);
419 OH_Drawing_PathDestroy(pathRect);