Skip to main content

OH_Drawing_FontStyleSetMatchStyle

Function OH_Drawing_FontStyleSetMatchStyle 

Source
pub unsafe extern "C" fn OH_Drawing_FontStyleSetMatchStyle(
    fontStyleSet: *mut OH_Drawing_FontStyleSet,
    fontStyleStruct: OH_Drawing_FontStyleStruct,
) -> *mut OH_Drawing_Typeface
Expand description

@brief Get the closest matching typeface.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param fontStyleSet Indicates the pointer to an OH_Drawing_FontStyleSet object. @param fontStyleStruct Indicates the OH_Drawing_FontStyleStruct structure. @return A pointer to matched OH_Drawing_Typeface. @since 12 @version 1.0