pub unsafe extern "C" fn OH_Drawing_TextStyleGetLocale(
style: *mut OH_Drawing_TextStyle,
) -> *const c_charExpand description
@brief Obtains the locale of a text style.
@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Pointer to the {@link OH_Drawing_TextStyle} object, which is obtained from {@link OH_Drawing_CreateTextStyle}. @return Pointer to the locale in the format of language-country. For example, zh-CN indicates Chinese (China), and en-US indicates English (United States). For details, see BCP 47. @since 12 @version 1.0