Skip to main content

OH_Drawing_CanvasDrawBitmap

Function OH_Drawing_CanvasDrawBitmap 

Source
pub unsafe extern "C" fn OH_Drawing_CanvasDrawBitmap(
    canvas: *mut OH_Drawing_Canvas,
    bitmap: *const OH_Drawing_Bitmap,
    left: f32,
    top: f32,
)
Expand description

@brief Draws a bitmap.

@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 left Indicates the left position of the OH_Drawing_Bitmap. @param top Indicates the top position of the OH_Drawing_Bitmap. @since 11 @version 1.0