pub unsafe extern "C" fn OH_PixelmapNative_Scale(
pixelmap: *mut OH_PixelmapNative,
scaleX: f32,
scaleY: f32,
) -> Image_ErrorCodeExpand description
@brief Scales this image based on the input width and height.
@param pixelmap The Pixelmap pointer will be operated. @param scaleX Scaling ratio of the width. @param scaleY Scaling ratio of the height. @return Function result code: {@link IMAGE_SUCCESS} - The operation is successful. {@link IMAGE_BAD_PARAMETER} - Parameter error.Possible causes: 1.pixelmap is nullptr. 2.pixelmap’s inner pixelmap is nullptr. @since 12