pub unsafe extern "C" fn OH_Drawing_MatrixCreateScale(
sx: f32,
sy: f32,
px: f32,
py: f32,
) -> *mut OH_Drawing_MatrixExpand description
@brief Creates an OH_Drawing_Matrix with the scale attribute. The matrix is obtained by scaling an identity matrix with the factor (sx, sy) at the rotation point (px, py).
@param sx Scale factor on the X axis. If a negative number is passed in, the matrix is mirrored around y = px before being scaled. The value is a floating point number. @param sy Scale factor on the Y axis. If a negative number is passed in, the matrix is mirrored around x = py before being scaled. The value is a floating point number. @param px Coordinate point on the X axis. @param py Coordinate point on the Y axis. @return Returns the pointer to the OH_Drawing_Matrix object created. @since 12 @version 1.0