Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_round_rect.cpp70 RoundRect* rounRect = CastToRoundRect(cRoundRect); in OH_Drawing_RoundRectSetCorner() local
71 if (rounRect == nullptr) { in OH_Drawing_RoundRectSetCorner()
79 rounRect->SetCornerRadius(CCornerPosCastToCornerPos(pos), radiusXY.x, radiusXY.y); in OH_Drawing_RoundRectSetCorner()
84 RoundRect* rounRect = CastToRoundRect(cRoundRect); in OH_Drawing_RoundRectGetCorner() local
85 if (rounRect == nullptr) { in OH_Drawing_RoundRectGetCorner()
93 Point radiusXY = rounRect->GetCornerRadius(CCornerPosCastToCornerPos(pos)); in OH_Drawing_RoundRectGetCorner()
107 RoundRect* rounRect = CastToRoundRect(cRoundRect); in OH_Drawing_RoundRectOffset() local
108 if (rounRect == nullptr) { in OH_Drawing_RoundRectOffset()
111 rounRect->Offset(dx, dy); in OH_Drawing_RoundRectOffset()