Skip to main content

OH_Drawing_MatrixTranslate

Function OH_Drawing_MatrixTranslate 

Source
pub unsafe extern "C" fn OH_Drawing_MatrixTranslate(
    matrix: *mut OH_Drawing_Matrix,
    dx: f32,
    dy: f32,
)
Expand description

@brief Sets matrix to translate by (dx, dy)

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param matrix Indicates the pointer to an OH_Drawing_Matrix object. @param dx Indicates the horizontal translation. @param dy Indicates the vertical translation. @since 12 @version 1.0