diff --git a/graphic/graphic_2d/native_drawing/drawing_text_typography.h b/graphic/graphic_2d/native_drawing/drawing_text_typography.h index ce73be523ba252f81d1b3094dc9a4c36ea3ebe6b..3a5e5ef589f97e2046dffa6367001209a535010c 100644 --- a/graphic/graphic_2d/native_drawing/drawing_text_typography.h +++ b/graphic/graphic_2d/native_drawing/drawing_text_typography.h @@ -1001,19 +1001,6 @@ double OH_Drawing_TypographyGetLineHeight(OH_Drawing_Typography*, int); */ double OH_Drawing_TypographyGetLineWidth(OH_Drawing_Typography*, int); -/** - * @brief get line text range. - * - * @syscap SystemCapability.Graphic.Graphic2D.NativeDrawing - * @param OH_Drawing_Typography Indicates the pointer to an OH_Drawing_Typography object. - * @param int Indicates the line number. - * @param bool Indicates whether spaces are contained. - * @return Returns line text range. - * @since 12 - * @version 1.0 - */ -OH_Drawing_Range* OH_Drawing_TypographyGetLineTextRange(OH_Drawing_Typography*, int, bool); - #ifdef __cplusplus } #endif diff --git a/graphic/graphic_2d/native_drawing/libnative_drawing.ndk.json b/graphic/graphic_2d/native_drawing/libnative_drawing.ndk.json index 430200198f9871ce2542a642ba6b5e0a1da98b3f..64d2dd988911ce65797d9989b54193e03838308d 100644 --- a/graphic/graphic_2d/native_drawing/libnative_drawing.ndk.json +++ b/graphic/graphic_2d/native_drawing/libnative_drawing.ndk.json @@ -323,9 +323,5 @@ { "first_introduced": "11", "name": "OH_Drawing_RegisterFontBuffer" - }, - { - "first_introduced": "12", - "name": "OH_Drawing_TypographyGetLineTextRange" } ] \ No newline at end of file