Skip to main content

OH_Drawing_MatrixSetPolyToPoly

Function OH_Drawing_MatrixSetPolyToPoly 

Source
pub unsafe extern "C" fn OH_Drawing_MatrixSetPolyToPoly(
    matrix: *mut OH_Drawing_Matrix,
    src: *const OH_Drawing_Point2D,
    dst: *const OH_Drawing_Point2D,
    count: u32,
) -> bool
Expand description

@brief Sets the params of matrix to map src to dst. Count must greater than or equal to zero, and less than or equal to four.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param matrix Indicates the pointer to an OH_Drawing_Matrix object. @param src Points to map from. @param dst Points to map to. @param count Number of point in src and dst. @return Returns true if matrix is constructed successfully. @since 12 @version 1.0