未验证 提交 2db25e59 编写于 作者: O openharmony_ci 提交者: Gitee

!20963 【轻量级 PR】:update zh-cn/application-dev/napi/drawing-guidelines.md.

Merge pull request !20963 from 葛亚芳/N/A
...@@ -197,10 +197,4 @@ Native Drawing模块提供了一系列的接口用于基本图形和字体的绘 ...@@ -197,10 +197,4 @@ Native Drawing模块提供了一系列的接口用于基本图形和字体的绘
double position[2] = {10.0, 15.0}; double position[2] = {10.0, 15.0};
// 将文本绘制到画布上 // 将文本绘制到画布上
OH_Drawing_TypographyPaint(typography, cCanvas, position[0], position[1]); OH_Drawing_TypographyPaint(typography, cCanvas, position[0], position[1]);
``` ```
\ No newline at end of file
## 相关实例
针对Drawing模块的使用,有以下相关实例可供参考:
* [Drawing模块2D图形绘制](https://gitee.com/openharmony/graphic_graphic_2d/blob/master/rosen/samples/2d_graphics/drawing_c_sample.cpp)
* [Drawing模块文本绘制](https://gitee.com/openharmony/graphic_graphic_2d/blob/master/rosen/samples/text/renderservice/drawing_text_c_sample.cpp)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册