Skip to main content

OH_Drawing_MatrixSetMatrix

Function OH_Drawing_MatrixSetMatrix 

Source
pub unsafe extern "C" fn OH_Drawing_MatrixSetMatrix(
    matrix: *mut OH_Drawing_Matrix,
    scaleX: f32,
    skewX: f32,
    transX: f32,
    skewY: f32,
    scaleY: f32,
    transY: f32,
    persp0: f32,
    persp1: f32,
    persp2: f32,
)
Expand description

@brief Sets the params for a matrix.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param matrix Indicates the pointer to an OH_Drawing_Matrix object. @param scaleX horizontal scale factor to store @param skewX horizontal skew factor to store @param transX horizontal translation to store @param skewY vertical skew factor to store @param scaleY vertical scale factor to store @param transY vertical translation to store @param persp0 input x-axis values perspective factor to store @param persp1 input y-axis values perspective factor to store @param persp2 perspective scale factor to store @since 11 @version 1.0