pub unsafe extern "C" fn OH_Drawing_BitmapCreateFromPixels(
imageInfo: *mut OH_Drawing_Image_Info,
pixels: *mut c_void,
rowBytes: u32,
) -> *mut OH_Drawing_BitmapExpand description
@brief Creates an OH_Drawing_Bitmap object with OH_Drawing_Image_Info object and sets the mem address or pixel storage.
@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param imageInfo Indicates the pointer to an OH_Drawing_Image_Info object. @param pixels the pointer to memory address or pixel storage. @param rowBytes size of pixel row or larger. @return Returns the pointer to the OH_Drawing_Bitmap object created. @since 12 @version 1.0