diff --git a/graphic/graphic_2d/native_drawing/drawing_bitmap.h b/graphic/graphic_2d/native_drawing/drawing_bitmap.h index 980c0fcd862a913c4bf872a3597cb6402c96f598..2540c24fb7a9c9d012ea20e75785e636adfa0072 100644 --- a/graphic/graphic_2d/native_drawing/drawing_bitmap.h +++ b/graphic/graphic_2d/native_drawing/drawing_bitmap.h @@ -128,28 +128,6 @@ uint32_t OH_Drawing_BitmapGetWidth(OH_Drawing_Bitmap*); */ uint32_t OH_Drawing_BitmapGetHeight(OH_Drawing_Bitmap*); -/** - * @brief Obtains the color format of a bitmap. - * - * @syscap SystemCapability.Graphic.Graphic2D.NativeDrawing - * @param OH_Drawing_Bitmap Indicates the pointer to an OH_Drawing_Bitmap object. - * @return Returns the bitmap color format. - * @since 12 - * @version 1.0 - */ -OH_Drawing_ColorFormat OH_Drawing_BitmapGetColorFormat(OH_Drawing_Bitmap*); - -/** - * @brief Obtains the alpha format of a bitmap. - * - * @syscap SystemCapability.Graphic.Graphic2D.NativeDrawing - * @param OH_Drawing_Bitmap Indicates the pointer to an OH_Drawing_Bitmap object. - * @return Returns the bitmap alpha format. - * @since 12 - * @version 1.0 - */ -OH_Drawing_AlphaFormat OH_Drawing_BitmapGetAlphaFormat(OH_Drawing_Bitmap*); - /** * @brief Obtains the pixel address of a bitmap. You can use this address to obtain the pixel data of the bitmap. * diff --git a/graphic/graphic_2d/native_drawing/libnative_drawing.ndk.json b/graphic/graphic_2d/native_drawing/libnative_drawing.ndk.json index d8586b349e19d12808e182919e7b24210e30abde..165a808afeef314e4556c73cd98db84fd5d6e61d 100644 --- a/graphic/graphic_2d/native_drawing/libnative_drawing.ndk.json +++ b/graphic/graphic_2d/native_drawing/libnative_drawing.ndk.json @@ -5,14 +5,6 @@ { "name": "OH_Drawing_BitmapCreateFromPixels" }, { "name": "OH_Drawing_BitmapGetWidth" }, { "name": "OH_Drawing_BitmapGetHeight" }, - { - "first_introduced": "12", - "name": "OH_Drawing_BitmapGetColorFormat" - }, - { - "first_introduced": "12", - "name": "OH_Drawing_BitmapGetAlphaFormat" - }, { "first_introduced": "12", "name": "OH_Drawing_BitmapGetImageInfo"