Skip to main content

OH_Drawing_RegionSetPath

Function OH_Drawing_RegionSetPath 

Source
pub unsafe extern "C" fn OH_Drawing_RegionSetPath(
    region: *mut OH_Drawing_Region,
    path: *const OH_Drawing_Path,
    clip: *const OH_Drawing_Region,
) -> bool
Expand description

@brief Constructs region that matchs outline of path within clip.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param region Indicates the pointer to an OH_Drawing_Region object. @param path Indicates the pointer to an OH_Drawing_Path object. @param clip Indicates the pointer to an OH_Drawing_Region object. @return Returns true if constructed Region is not empty; returns false otherwise. @since 12 @version 1.0