Skip to main content

OH_Drawing_MatrixCreateTranslation

Function OH_Drawing_MatrixCreateTranslation 

Source
pub unsafe extern "C" fn OH_Drawing_MatrixCreateTranslation(
    dx: f32,
    dy: f32,
) -> *mut OH_Drawing_Matrix
Expand description

@brief Creates an OH_Drawing_Matrix object with translation.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param dx horizontal translation. @param dy vertical translation. @return Returns the pointer to the OH_Drawing_Matrix object created. @since 12 @version 1.0