pub unsafe extern "C" fn OH_Drawing_PathAddRect(
path: *mut OH_Drawing_Path,
left: f32,
top: f32,
right: f32,
bottom: f32,
pathDirection: OH_Drawing_PathDirection,
)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 left Indicates the left coordinate of the upper left corner of the rectangle. @param top Indicates the top coordinate of the upper top corner of the rectangle. @param right Indicates the right coordinate of the lower right corner of the rectangle. @param bottom Indicates the bottom coordinate of the lower bottom corner of the rectangle. @param pathDirection Indicates the path direction. @since 12 @version 1.0