pub unsafe extern "C" fn OH_Drawing_MatrixMapRect(
matrix: *const OH_Drawing_Matrix,
src: *const OH_Drawing_Rect,
dst: *mut OH_Drawing_Rect,
) -> boolExpand description
@brief Maps a rectangle to the smallest rectangle that can enclose the vertices to which the four source vertices are mapped by means of matrix transformation. This API may return an error code. For details, call {@link OH_Drawing_ErrorCodeGet}. If any of matrix, src, and dst is NULL, OH_DRAWING_ERROR_INVALID_PARAMETER is returned.
@param matrix Pointer to the {@link OH_Drawing_Matrix} object. @param src Source rectangle. @param dst Destination rectangle. @return Returns true if the mapped src is equal to the dst; returns false is not equal. @since 12 @version 1.0