提交 f2ced5f7 编写于 作者: 葛亚芳

fixed 0389c9eb from https://gitee.com/ge-yafang/docs/pulls/16737

update zh-cn/application-dev/napi/drawing-guidelines.md.
Signed-off-by: N葛亚芳 <geyafang@huawei.com>
上级 a0627019
......@@ -189,7 +189,7 @@ Native Drawing模块提供了一系列的接口用于基本图形和字体的绘
OH_Drawing_CreateFontCollection());
OH_Drawing_TypographyHandlerPushTextStyle(handler, txtStyle);
// 设置文字内容
const char* text = "OpenHarmony\n";
const char* text = "Hello World\n";
OH_Drawing_TypographyHandlerAddText(handler, text);
OH_Drawing_TypographyHandlerPopTextStyle(handler);
OH_Drawing_Typography* typography = OH_Drawing_CreateTypography(handler);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册