pub unsafe extern "C" fn OH_Drawing_PathAddRectWithInitialCorner(
path: *mut OH_Drawing_Path,
rect: *const OH_Drawing_Rect,
pathDirection: OH_Drawing_PathDirection,
start: u32,
)Expand description
@brief Adds a new contour to the path, defined by the rect, and wound in the specified direction.
@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param path Indicates the pointer to an OH_Drawing_Path object. @param rect Indicates the pointer to an OH_Drawing_Rect object. @param pathDirection Indicates the path direction. @param start Indicates initial corner of rect to add. @since 12 @version 1.0