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 Gets the typography style, including font weight, font width and font slant.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param drawingStyle Indicates the pointer to an OH_Drawing_TypographyStyle object. @return Returns the OH_Drawing_FontStyleStruct object getted. @since 12 @version 1.0