1 /* 2 * Copyright (c) 2023-2023 Huawei Device Co., Ltd. 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 ROSEN_MODULES_TEXGINE_SRC_TEXGINE_DRAWING_DRAWING_H 17 #define ROSEN_MODULES_TEXGINE_SRC_TEXGINE_DRAWING_DRAWING_H 18 19 #include "recording/recording_canvas.h" 20 #include "skia_adapter/skia_text_blob.h" 21 #include "draw/path.h" 22 #include "effect/path_effect.h" 23 #include "effect/mask_filter.h" 24 #include "text/text_blob.h" 25 #include "text/text_blob_builder.h" 26 #include "text/font.h" 27 #include "text/font_metrics.h" 28 #include "text/font_mgr.h" 29 #include "text/font_style.h" 30 #include "text/font_style_set.h" 31 #include "text/hm_symbol.h" 32 #include "text/hm_symbol_config_ohos.h" 33 #include "text/typeface.h" 34 35 namespace RSDrawing = OHOS::Rosen::Drawing; 36 using RSBlurType = RSDrawing::BlurType; 37 using RSBrush = RSDrawing::Brush; 38 using RSMemoryStream = RSDrawing::MemoryStream; 39 using RSCanvas = RSDrawing::Canvas; 40 using RSColor = RSDrawing::Color; 41 using RSData = RSDrawing::Data; 42 using RSMaskFilter = RSDrawing::MaskFilter; 43 using RSFont = RSDrawing::Font; 44 using RSFilter = RSDrawing::Filter; 45 using RSFont = RSDrawing::Font; 46 using RSFontEdging = RSDrawing::FontEdging; 47 using RSFontHinting = RSDrawing::FontHinting; 48 using RSFontMetrics = RSDrawing::FontMetrics; 49 using RSFontMgr = RSDrawing::FontMgr; 50 using RSFontStyle = RSDrawing::FontStyle; 51 using RSFontStyleSet = RSDrawing::FontStyleSet; 52 using RSPath = RSDrawing::Path; 53 using RSPen = RSDrawing::Pen; 54 using RSPoint = RSDrawing::Point; 55 using RSPicture = RSDrawing::Picture; 56 using RSPathEffect = RSDrawing::PathEffect; 57 using RSPathDashStyle = RSDrawing::PathDashStyle; 58 using RSRecordingPathEffect = RSDrawing::PathEffect; 59 using RSRecordingMaskFilter = RSDrawing::MaskFilter; 60 using RSRect = RSDrawing::Rect; 61 using RSRoundRect = RSDrawing::RoundRect; 62 using RSScalar = RSDrawing::scalar; 63 using RSTextBlob = RSDrawing::TextBlob; 64 using RSTextBlobBuilder = RSDrawing::TextBlobBuilder; 65 using RSTypeface = RSDrawing::Typeface; 66 using RSSColor = RSDrawing::DrawingSColor; 67 using RSRenderGroup = RSDrawing::DrawingRenderGroup; 68 using RSSymbolLayers = RSDrawing::DrawingSymbolLayers; 69 using RSSymbolLayersGroups = RSDrawing::DrawingSymbolLayersGroups; 70 using RSSymbolRenderingStrategy = RSDrawing::DrawingSymbolRenderingStrategy; 71 using RSEffectStrategy = RSDrawing::DrawingEffectStrategy; 72 using RSHMSymbolData = RSDrawing::DrawingHMSymbolData; 73 using RSHmSymbolConfig_OHOS = RSDrawing::HmSymbolConfigOhos; 74 using RSAnimationSetting = RSDrawing::DrawingAnimationSetting; 75 using RSAnimationType = RSDrawing::DrawingAnimationType; 76 using RSGroupInfo = RSDrawing::DrawingGroupInfo; 77 using RSPathOp = RSDrawing::PathOp; 78 using RSHMSymbol = RSDrawing::DrawingHMSymbol; 79 using RSGroupSetting = RSDrawing::DrawingGroupSetting; 80 81 #endif // ROSEN_MODULES_TEXGINE_SRC_TEXGINE_DRAWING_DRAWING_H