Skip to main content

OH_Drawing_TypographyStyleGetFontStyleStruct

Function OH_Drawing_TypographyStyleGetFontStyleStruct 

Source
pub unsafe extern "C" fn OH_Drawing_TypographyStyleGetFontStyleStruct(
    drawingStyle: *mut OH_Drawing_TypographyStyle,
) -> OH_Drawing_FontStyleStruct
Expand description

@brief Obtains the font style, including the font weight, width, and slant, of the default text style of a typography style.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param drawingStyle Pointer to the typography style object {@link OH_Drawing_TypographyStyle}, obtained by {@link OH_Drawing_CreateTypographyStyle}. @return Font style, including the font weight, width, and slant. @since 12 @version 1.0