Home
last modified time | relevance | path

Searched refs:Path (Results 1 - 25 of 189) sorted by relevance

12345678

/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/
H A Dpath.cpp23 Path::Path() noexcept : impl_(ImplFactory::CreatePathImpl()) {} in CreatePathImpl()
25 Path::Path(const Path& other) noexcept
30 Path& Path::operator=(const Path &other) noexcept
36 Path::~Path() {} in ~Path()
[all...]
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/draw/
H A Dpath_test.cpp48 auto path = std::make_unique<Path>(); in HWTEST_F()
54 * @tc.desc: Test for Parsing the SVG format string and sets the Path.
60 auto path = std::make_unique<Path>(); in HWTEST_F()
68 * @tc.desc: Test for Parsing the SVG format string and sets the Path.
74 auto path = std::make_unique<Path>(); in HWTEST_F()
82 * @tc.desc: Test for Parsing the SVG format string and sets the Path.
88 auto path = std::make_unique<Path>(); in HWTEST_F()
96 * @tc.desc: Test for Parsing into a string in SVG format that describes the Path.
102 auto path = std::make_unique<Path>(); in HWTEST_F()
109 * @tc.desc: Test for Parsing into a string in SVG format that describes the Path
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_path.cpp26 static Path* CastToPath(OH_Drawing_Path* cPath) in CastToPath()
28 return reinterpret_cast<Path*>(cPath); in CastToPath()
68 return (OH_Drawing_Path*)new Path; in OH_Drawing_PathCreate()
73 Path* path = CastToPath(cPath); in OH_Drawing_PathCopy()
78 return (OH_Drawing_Path*)new Path(*path); in OH_Drawing_PathCopy()
91 Path* path = CastToPath(cPath); in OH_Drawing_PathMoveTo()
101 Path* path = CastToPath(cPath); in OH_Drawing_PathRMoveTo()
111 Path* path = CastToPath(cPath); in OH_Drawing_PathLineTo()
121 Path* path = CastToPath(cPath); in OH_Drawing_PathRLineTo()
132 Path* pat in OH_Drawing_PathArcTo()
[all...]
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/
H A Dskia_hm_symbol_test.cpp49 Path path; in HWTEST_F()
50 Path path1; in HWTEST_F()
51 Path path2; in HWTEST_F()
52 std::vector<Path> paths { path1, path2 }; in HWTEST_F()
66 Path path1; in HWTEST_F()
67 Path path2; in HWTEST_F()
68 std::vector<Path> paths { path1, path2 }; in HWTEST_F()
69 std::vector<Path> multPaths; in HWTEST_F()
H A Dskia_path_test.cpp68 Path path; in HWTEST_F()
75 Path path2; in HWTEST_F()
108 Path path; in HWTEST_F()
109 Path path2; in HWTEST_F()
123 Path path; in HWTEST_F()
138 Path path; in HWTEST_F()
139 Path path2; in HWTEST_F()
166 Path path; in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/
H A Ddrawing_path_test.cpp76 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path1)->GetBounds().GetWidth(), 21.0)); in HWTEST_F()
77 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path1)->GetBounds().GetHeight(), 1.5)); in HWTEST_F()
94 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path2)->GetBounds().GetWidth(), 100.0)); in HWTEST_F()
95 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path2)->GetBounds().GetHeight(), 40.0)); in HWTEST_F()
112 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path3)->GetBounds().GetWidth(), 0.0)); in HWTEST_F()
113 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path3)->GetBounds().GetHeight(), 0.0)); in HWTEST_F()
130 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path4)->GetBounds().GetWidth(), 0.0)); in HWTEST_F()
131 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path4)->GetBounds().GetHeight(), 0.0)); in HWTEST_F()
148 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path5)->GetBounds().GetWidth(), 50.5)); in HWTEST_F()
149 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path in HWTEST_F()
[all...]
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/hmsymbol_fuzzer/
H A Dhm_symbol_fuzzer.cpp38 Path path; in HmSymbolFuzzTest()
39 Path path1; in HmSymbolFuzzTest()
40 Path path2; in HmSymbolFuzzTest()
41 std::vector<Path> paths { path1, path2 }; in HmSymbolFuzzTest()
49 Path path3; in HmSymbolFuzzTest()
50 Path path4; in HmSymbolFuzzTest()
51 std::vector<Path> multPaths {path3, path4}; in HmSymbolFuzzTest()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_hm_symbol.cpp26 void SkiaHMSymbol::PathOutlineDecompose(const Path& path, std::vector<Path>& paths) in PathOutlineDecompose()
38 Path pathTmp; in PathOutlineDecompose()
45 const std::vector<Path>& paths, std::vector<Path>& multPaths) in MultilayerPath()
50 for (const Path& pathTmp : paths) { in MultilayerPath()
60 Path pathTmp; in MultilayerPath()
H A Dskia_hm_symbol.h31 static void PathOutlineDecompose(const Path& path, std::vector<Path>& paths);
34 const std::vector<Path>& paths, std::vector<Path>& multPaths);
H A Dskia_path.h48 bool InitWithInterpolate(const Path& srcPath, const Path& endingPath, scalar weight) override;
78 void AddPath(const Path& src, scalar dx, scalar dy, PathAddMode mode) override;
79 void AddPath(const Path& src, PathAddMode mode) override;
81 void AddPath(const Path& src, const Matrix& matrix, PathAddMode mode) override;
82 void ReverseAddPath(const Path& src) override;
87 bool Interpolate(const Path& ending, scalar weight, Path& out) override;
89 void TransformWithPerspectiveClip(const Matrix& matrix, Path* dst, bool applyPerspectiveClip) override;
91 void Offset(Path* ds
[all...]
H A Dskia_static_factory.h72 static bool GetFillPath(const Pen& pen, const Path& src, Path& dst, const Rect* rect, const Matrix& matrix);
77 static void PathOutlineDecompose(const Path& path, std::vector<Path>& paths);
79 const std::vector<Path>& paths, std::vector<Path>& multPaths);
81 static Path GetDrawingPathforTextBlob(uint16_t glyphId, const TextBlob* blob);
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/draw/
H A Dpath.h72 class DRAWING_API Path { class
74 Path() noexcept;
75 Path(const Path& p) noexcept;
76 Path &operator=(const Path& p) noexcept;
77 virtual ~Path();
85 * @brief Parses the SVG format string that describes the drawing path, and sets the Path.
93 * @brief Parses into a string in SVG format that describes the Path.
115 * @brief Appends arc to Path
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_path.cpp31 std::shared_ptr<RSPath> RSPath::CreateRSPath(const Drawing::Path& path) in CreateRSPath()
40 Drawing::Path drAnimationPath; in CreateRSPath()
47 drPath_ = new Drawing::Path(); in RSPath()
57 const Drawing::Path& RSPath::GetDrawingPath() const in GetDrawingPath()
62 void RSPath::SetDrawingPath(const Drawing::Path& path) in SetDrawingPath()
67 drPath_ = new Drawing::Path(path); in SetDrawingPath()
72 Drawing::Path path; in Reverse()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/text/
H A Dhm_symbol.cpp23 void DrawingHMSymbol::PathOutlineDecompose(const Path& path, std::vector<Path>& paths) in PathOutlineDecompose()
29 const std::vector<Path>& paths, std::vector<Path>& multPaths) in MultilayerPath()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/
H A Dpath_impl.h33 class Path;
50 virtual bool InitWithInterpolate(const Path& srcPath, const Path& endingPath, scalar weight) = 0;
79 virtual void AddPath(const Path& src, scalar dx, scalar dy, PathAddMode mode) = 0;
80 virtual void AddPath(const Path& src, PathAddMode mode) = 0;
82 virtual void AddPath(const Path& src, const Matrix& matrix, PathAddMode mode) = 0;
83 virtual void ReverseAddPath(const Path& src) = 0;
88 virtual bool Interpolate(const Path& ending, scalar weight, Path& out) = 0;
90 virtual void TransformWithPerspectiveClip(const Matrix& matrix, Path* ds
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/overdraw/
H A Drs_cpu_overdraw_canvas_listener.cpp60 Drawing::Path path; in DrawLine()
68 Drawing::Path path; in DrawRect()
75 Drawing::Path path; in DrawRoundRect()
82 Drawing::Path path; in DrawNestedRoundRect()
91 Drawing::Path path; in DrawArc()
99 Drawing::Path path; in DrawPie()
106 Drawing::Path path; in DrawOval()
113 Drawing::Path path; in DrawCircle()
118 void RSCPUOverdrawCanvasListener::DrawPath(const Drawing::Path& path) in DrawPath()
120 Drawing::Path tPat in DrawPath()
[all...]
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/src/
H A Dpath_test.cpp49 Path path; in TestDrawStar()
109 Path path; in TestMoveTo()
147 Path path; in TestLineTo()
165 Path path; in TestArcTo()
186 Path path; in TestCubicTo()
190 Path path2; in TestCubicTo()
210 Path path; in TestQuadTo()
215 Path path2; in TestQuadTo()
235 Path path; in TestAddRect()
250 Path path in TestAddRect()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/
H A Drs_path.h35 static RSB_EXPORT std::shared_ptr<RSPath> CreateRSPath(const Drawing::Path& path);
46 void SetDrawingPath(const Drawing::Path& path);
47 const Drawing::Path& GetDrawingPath() const;
55 Drawing::Path* drPath_ = nullptr;
H A Drs_mask.h44 static std::shared_ptr<RSMask> CreatePathMask(const Drawing::Path& maskPath, const Drawing::Brush& maskBrush);
46 const Drawing::Path& maskPath, const Drawing::Pen& maskPen, const Drawing::Brush& maskBrush);
59 void SetMaskPath(const Drawing::Path& path);
60 std::shared_ptr<Drawing::Path> GetMaskPath() const;
100 std::shared_ptr<Drawing::Path> maskPath_;
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/
H A Drs_path_test.cpp43 static Drawing::Path CreateDrawingPath() in CreateDrawingPath()
45 Drawing::Path path; in CreateDrawingPath()
68 Drawing::Path path1 = CreateDrawingPath(); in HWTEST_F()
92 Drawing::Path path = CreateDrawingPath(); in HWTEST_F()
105 Drawing::Path path = CreateDrawingPath(); in HWTEST_F()
117 Drawing::Path path = CreateDrawingPath(); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/recording/
H A Dmask_cmd_list.h37 MaskPlayer(std::shared_ptr<Path>& path, Brush& brush, const CmdList& cmdList);
38 MaskPlayer(std::shared_ptr<Path>& path, Brush& brush, Pen& pen, const CmdList& cmdList);
47 std::shared_ptr<Path>& path_;
77 bool Playback(std::shared_ptr<Path>& path, Brush& brush) const;
79 bool Playback(std::shared_ptr<Path>& path, Pen& pen, Brush& brush) const;
129 void Playback(std::shared_ptr<Path>& path, const CmdList& cmdList) const;
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/
H A Dstatic_factory.h72 static bool GetFillPath(const Pen& pen, const Path& src, Path& dst, const Rect* rect, const Matrix& matrix);
77 static void PathOutlineDecompose(const Path& path, std::vector<Path>& paths);
79 const std::vector<Path>& paths, std::vector<Path>& multPaths);
81 static Path GetDrawingPathforTextBlob(uint16_t glyphId, const TextBlob* blob);
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/path_fuzzer/
H A Dpath_fuzzer.cpp46 Path path; in PathAddFuzzTest()
66 Path path1; in PathOpFuzzTest()
67 Path ending; in PathOpFuzzTest()
68 Path out; in PathOpFuzzTest()
76 Path op; in PathOpFuzzTest()
79 Path path2; in PathOpFuzzTest()
97 Path path; in PathFuzzTest001()
98 Path pathTwo = Path(path); in PathFuzzTest001()
116 Path pat in PathFuzzTest002()
[all...]
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing/test_case/
H A Ddraw_path_test.cpp25 Drawing::Path path; in OnTestFunctionCpu()
33 Drawing::Path path; in OnTestFunctionGpuUpScreen()
44 Drawing::Path path; in OnTestPerformance()
/foundation/graphic/graphic_2d/graphic_test/graphic_test/rs_display_effect/property_display/
H A Dfg_mask_test.cpp69 Drawing::Path path = Drawing::Path(); in GRAPHIC_TEST()
85 Drawing::Path path = Drawing::Path(); in GRAPHIC_TEST()

Completed in 11 milliseconds

12345678