From 4ab9f62ac629256fa55229a6064137b39ccfd571 Mon Sep 17 00:00:00 2001 From: chenjiafeng Date: Wed, 12 Apr 2023 15:10:44 +0800 Subject: [PATCH] Description: add header draw/draw_canvas.h IssueNo: https://gitee.com/openharmony/graphic_ui/issues/I6V2HE Feature or Bugfix: Bugfix Binary Source:No Signed-off-by: chenjiafeng --- frameworks/components/ui_canvas.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frameworks/components/ui_canvas.cpp b/frameworks/components/ui_canvas.cpp index 85e7d5a..d3e6f66 100644 --- a/frameworks/components/ui_canvas.cpp +++ b/frameworks/components/ui_canvas.cpp @@ -22,6 +22,9 @@ #include "render/render_buffer.h" #include "render/render_pixfmt_rgba_blend.h" #include "render/render_scanline.h" +#if ( (defined(ENABLE_CANVAS_EXTEND) && ENABLE_CANVAS_EXTEND) ) + #include "draw/draw_canvas.h" +#endif namespace OHOS { UICanvas::UICanvasPath::~UICanvasPath() -- GitLab