Skip to main content

OH_Drawing_PenGetFillPath

Function OH_Drawing_PenGetFillPath 

Source
pub unsafe extern "C" fn OH_Drawing_PenGetFillPath(
    pen: *mut OH_Drawing_Pen,
    src: *const OH_Drawing_Path,
    dst: *mut OH_Drawing_Path,
    rect: *const OH_Drawing_Rect,
    matrix: *const OH_Drawing_Matrix,
) -> bool
Expand description

@brief Gets the filled equivalent of the src path.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param pen Indicates the pointer to an OH_Drawing_Pen object. @param src Indicates the Path read to create a filled version. @param dst Indicates the resulting Path. @param rect Indicates the pointer to an OH_Drawing_Rect object that limits the PathEffect area if Pen has PathEffect. @param matrix Indicates the pointer to an OH_Drawing_Matrix object that tranfomation applied to PathEffect if Pen has PathEffect. @return Returns true if get successes; false if get fails. @since 12 @version 1.0