pub unsafe extern "C" fn OH_Drawing_CanvasReadPixelsToBitmap(
canvas: *mut OH_Drawing_Canvas,
bitmap: *mut OH_Drawing_Bitmap,
srcX: i32,
srcY: i32,
) -> boolExpand description
@brief Read pixels data to a bitmap from canvas.
@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param canvas Indicates the pointer to an OH_Drawing_Canvas object. @param bitmap Indicates the pointer to an OH_Drawing_Bitmap object. @param srcX offset into canvas writable pixels on x-axis. @param srcY offset into canvas writable pixels on y-axis. @return true if pixels are copied to dstBitmap. @since 12 @version 1.0