pub unsafe extern "C" fn OH_Drawing_SetTypographyStyleFontStyleStruct(
drawingStyle: *mut OH_Drawing_TypographyStyle,
fontStyle: OH_Drawing_FontStyleStruct,
)Expand description
@brief Sets the font style, including the font weight, width, and slant, for the default text style of a typography style.
@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param drawingStyle Pointer to the {@link OH_Drawing_TypographyStyle} object, which is obtained from {@link OH_Drawing_CreateTypographyStyle}. @param fontStyle Font style, including the font weight, width, and slant. @since 12 @version 1.0