Skip to main content

OH_Drawing_MatrixMapPoints

Function OH_Drawing_MatrixMapPoints 

Source
pub unsafe extern "C" fn OH_Drawing_MatrixMapPoints(
    matrix: *const OH_Drawing_Matrix,
    src: *const OH_Drawing_Point2D,
    dst: *mut OH_Drawing_Point2D,
    count: c_int,
)
Expand description

@brief Maps the src point array to the dst point array by matrix transformation.

@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. @since 12 @version 1.0