pub unsafe extern "C" fn OH_Drawing_MatrixIsIdentity(
matrix: *mut OH_Drawing_Matrix,
) -> boolExpand description
@brief Checks whether an OH_Drawing_Matrix object is an identity matrix. An identity matrix is as follows: | 1 0 0 || 0 1 0 || 0 0 1 |. This API may return an error code. For details, see {@link OH_Drawing_ErrorCodeGet} . If matrix is NULL, OH_DRAWING_ERROR_INVALID_PARAMETER is returned.
@param matrix Pointer to the {@link OH_Drawing_Matrix} object. @return Returns true if matrix is identity; returns false if not identity. @since 12 @version 1.0