Skip to main content

OH_Drawing_PathAddRoundRect

Function OH_Drawing_PathAddRoundRect 

Source
pub unsafe extern "C" fn OH_Drawing_PathAddRoundRect(
    path: *mut OH_Drawing_Path,
    roundRect: *const OH_Drawing_RoundRect,
    pathDirection: OH_Drawing_PathDirection,
)
Expand description

@brief Adds a new contour to the path, defined by the round rect, and wound in the specified direction.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param path Indicates the pointer to an OH_Drawing_Path object. @param roundRect Indicates the pointer to an OH_Drawing_RoundRect object. @param pathDirection Indicates the path direction. @since 12 @version 1.0