Skip to main content

OH_Drawing_PathTransform

Function OH_Drawing_PathTransform 

Source
pub unsafe extern "C" fn OH_Drawing_PathTransform(
    path: *mut OH_Drawing_Path,
    matrix: *const OH_Drawing_Matrix,
)
Expand description

@brief Transforms verb array, point array, and weight by matrix. transform may change verbs and increase their number. path is replaced by transformed data.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param path Indicates the pointer to an OH_Drawing_Path object. @param matrix Indicates the pointer to an OH_Drawing_Matrix object. @since 12 @version 1.0