Skip to main content

OH_Drawing_PathOp

Function OH_Drawing_PathOp 

Source
pub unsafe extern "C" fn OH_Drawing_PathOp(
    path: *mut OH_Drawing_Path,
    other: *const OH_Drawing_Path,
    op: OH_Drawing_PathOpMode,
) -> bool
Expand description

@brief Combines two paths.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param path Indicates the pointer to an OH_Drawing_Path object. @param other Indicates the pointer to an OH_Drawing_Path object. @param op Indicates the operation to apply to combine. @return Returns true if constructed path is not empty; returns false otherwise. @since 12 @version 1.0