pub unsafe extern "C" fn OH_Drawing_BitmapBuild(
bitmap: *mut OH_Drawing_Bitmap,
width: u32,
height: u32,
bitmapFormat: *const OH_Drawing_BitmapFormat,
)Expand description
@brief Initializes the width and height of an OH_Drawing_Bitmap object and sets the pixel format for the bitmap.
@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param bitmap Indicates the pointer to an OH_Drawing_Bitmap object. @param width Indicates the width of the bitmap to be initialized. @param height Indicates the height of the bitmap to be initialized. @param bitmapFormat Indicates the pixel format of the bitmap to be initialized, including the pixel color type and alpha type. @since 8 @version 1.0