• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2024 Huawei Device Co., Ltd.. All rights reserved.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #ifndef LIB_TXT_SRC_SYMBOL_ENGINE__DRAWING_H
17 #define LIB_TXT_SRC_SYMBOL_ENGINE__DRAWING_H
18 
19 #include "recording/recording_canvas.h"
20 #include "skia_adapter/skia_text_blob.h"
21 #include "draw/path.h"
22 #include "text/text_blob.h"
23 #include "text/hm_symbol.h"
24 
25 namespace RSDrawing = OHOS::Rosen::Drawing;
26 using RSBrush = RSDrawing::Brush;
27 using RSCanvas = RSDrawing::Canvas;
28 using RSColor = RSDrawing::Color;
29 using RSPath = RSDrawing::Path;
30 using RSPen = RSDrawing::Pen;
31 using RSPoint = RSDrawing::Point;
32 using RSTextBlob = RSDrawing::TextBlob;
33 using RSSColor = RSDrawing::DrawingSColor;
34 using RSRenderGroup = RSDrawing::DrawingRenderGroup;
35 using RSSymbolLayers = RSDrawing::DrawingSymbolLayers;
36 using RSSymbolLayersGroups = RSDrawing::DrawingSymbolLayersGroups;
37 using RSSymbolRenderingStrategy = RSDrawing::DrawingSymbolRenderingStrategy;
38 using RSEffectStrategy = RSDrawing::DrawingEffectStrategy;
39 using RSHMSymbolData = RSDrawing::DrawingHMSymbolData;
40 using RSAnimationSetting = RSDrawing::DrawingAnimationSetting;
41 using RSAnimationType = RSDrawing::DrawingAnimationType;
42 using RSGroupInfo = RSDrawing::DrawingGroupInfo;
43 using RSPathOp = RSDrawing::PathOp;
44 using RSHMSymbol = RSDrawing::DrawingHMSymbol;
45 using RSGroupSetting = RSDrawing::DrawingGroupSetting;
46 using RSCommonSubType = RSDrawing::DrawingCommonSubType;
47 using RSAnimationInfo = RSDrawing::DrawingAnimationInfo;
48 using RSAnimationPara = RSDrawing::DrawingAnimationPara;
49 using RSPiecewiseParameter = RSDrawing::DrawingPiecewiseParameter;
50 using RSRecordingCanvas = RSDrawing::RecordingCanvas;
51 using RSHybridRenderType = RSDrawing::DrawCmdList::HybridRenderType;
52 
53 #endif // ROSEN_MODULES_TEXGINE_SRC_TEXGINE_DRAWING_DRAWING_H