pub unsafe extern "C" fn OH_Drawing_FontStyleSetGetStyle(
fontStyleSet: *mut OH_Drawing_FontStyleSet,
index: i32,
styleName: *mut *mut c_char,
) -> OH_Drawing_FontStyleStructExpand description
@brief Obtains the font style. Call {@link OH_Drawing_FontStyleSetFreeStyleName} to release styleName when it is no longer needed, freeing up the allocated memory.
@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param fontStyleSet Pointer to an {@link OH_Drawing_FontStyleSet} object. @param index Index of the specified font style. The value range is [0, OH_Drawing_FontStyleSetCount() - 1]. @param styleName String specifying the font style name. Call {@link OH_Drawing_FontStyleSetFreeStyleName} to release it when it is no longer needed, freeing up the allocated memory. @return Returns the font style. @since 12 @version 1.0