Home
last modified time | relevance | path

Searched refs:rectDst (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_rect.cpp166 Rect* rectDst = CastToRect(sRect); in OH_Drawing_RectCopy() local
167 if (rectDst == nullptr) { in OH_Drawing_RectCopy()
172 rectSrc->SetLeft(rectDst->GetLeft()); in OH_Drawing_RectCopy()
173 rectSrc->SetTop(rectDst->GetTop()); in OH_Drawing_RectCopy()
174 rectSrc->SetRight(rectDst->GetRight()); in OH_Drawing_RectCopy()
175 rectSrc->SetBottom(rectDst->GetBottom()); in OH_Drawing_RectCopy()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/
H A Ddrawing_rect_test.cpp166 OH_Drawing_Rect* rectDst = OH_Drawing_RectCreate(11, 22, 333, 444); variable
169 OH_Drawing_RectCopy(rectDst, nullptr);
171 OH_Drawing_RectCopy(rectDst, rectSrc);
181 OH_Drawing_RectDestroy(rectDst);
547 OH_Drawing_Rect *rectDst = nullptr; variable
549 OH_Drawing_RectCopy(rectSrc, rectDst);
550 ASSERT_TRUE(rectDst == nullptr);
558 OH_Drawing_RectDestroy(rectDst);