pub unsafe extern "C" fn OH_Drawing_PathTransformWithPerspectiveClip(
src: *mut OH_Drawing_Path,
matrix: *const OH_Drawing_Matrix,
dst: *mut OH_Drawing_Path,
applyPerspectiveClip: bool,
)Expand description
@brief Transforms the points in a path by matrix, and uses the new one to replace the dst path. If dst is NULL, the src path is replaced. This API may return an error code. For details, call {@link OH_Drawing_ErrorCodeGet}. If either src or matrix is NULL, OH_DRAWING_ERROR_INVALID_PARAMETER is returned.
@param src Pointer to the {@link OH_Drawing_Path} object. @param matrix Pointer to the {@link OH_Drawing_Matrix} object. @param dst Pointer to the target {@link OH_Drawing_Path} object. @param applyPerspectiveClip Whether to apply perspective cropping to the new path. The value true means to apply perspective cropping, and false means the opposite. @since 12 @version 1.0