Skip to main content

OH_Drawing_MatrixMapRect

Function OH_Drawing_MatrixMapRect 

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

@brief Sets dst to bounds of src corners mapped by matrix transformation.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param matrix Indicates the pointer to an OH_Drawing_Matrix object. @param src Rect to map from. @param dst Rect to map to. @return Returns true if the mapped src is equal to the dst; returns false is not equal. @since 12 @version 1.0