Home
last modified time | relevance | path

Searched refs:PathEffectType (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/effect/
H A Dpath_effect_test.cpp130 PathEffect pathEffect1(PathEffect::PathEffectType::PATH_DASH, 0.5f);
131 PathEffect pathEffect2(PathEffect::PathEffectType::PATH_DASH, 0.4f);
145 PathEffect pathEffect1(PathEffect::PathEffectType::PATH_DASH, 5.5f);
146 PathEffect pathEffect2(PathEffect::PathEffectType::PATH_DASH, 7.4f);
160 PathEffect pathEffect1(PathEffect::PathEffectType::PATH_DASH, 0.5f);
190 PathEffect::PathEffectType pathEffectType = PathEffect::PathEffectType::COMPOSE;
207 PathEffect::PathEffectType pathEffectType = PathEffect::PathEffectType::COMPOSE;
224 PathEffect::PathEffectType pathEffectType = PathEffect::PathEffectType::PATH_DASH;
241 PathEffect::PathEffectType pathEffectType = PathEffect::PathEffectType::CORNER;
258 PathEffect::PathEffectType pathEffectType = PathEffect::PathEffectType::SUM;
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/effect/
H A Dpath_effect.cpp38 PathEffect::PathEffect(PathEffectType t, scalar radius) noexcept : PathEffect() in PathEffect()
50 PathEffect::PathEffect(PathEffectType t, PathEffect& e1, PathEffect& e2) noexcept : PathEffect() in PathEffect()
53 if (type_ == PathEffect::PathEffectType::SUM) { in PathEffect()
55 } else if (type_ == PathEffect::PathEffectType::COMPOSE) { in PathEffect()
61 : type_(PathEffect::PathEffectType::NO_TYPE), impl_(ImplFactory::CreatePathEffectImpl()) in PathEffect()
64 PathEffect::PathEffect(PathEffectType t) noexcept in PathEffect()
68 PathEffect::PathEffectType PathEffect::GetType() const in GetType()
75 return std::make_shared<PathEffect>(PathEffect::PathEffectType::DASH, intervals, count, phase); in CreateDashPathEffect()
86 return std::make_shared<PathEffect>(PathEffect::PathEffectType::CORNER, radius); in CreateCornerPathEffect()
96 return std::make_shared<PathEffect>(PathEffect::PathEffectType::SUM, e1, e2); in CreateSumPathEffect()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/effect/
H A Dpath_effect.h34 enum class PathEffectType { enum
118 PathEffectType GetType() const;
123 PathEffect(PathEffectType t, const scalar intervals[], int count, scalar phase) noexcept;
124 …PathEffect(PathEffectType t, const Path& path, scalar advance, scalar phase, PathDashStyle style) …
125 PathEffect(PathEffectType t, scalar radius) noexcept;
126 PathEffect(PathEffectType t, scalar segLength, scalar dev, uint32_t seedAssist) noexcept;
127 PathEffect(PathEffectType t, PathEffect& e1, PathEffect& e2) noexcept;
128 PathEffect(PathEffectType t) noexcept;
142 PathEffectType type_;
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/effect/patheffect_fuzzer/
H A Dpatheffect_fuzzer.cpp63 PathEffect::PathEffectType type = GetObject<PathEffect::PathEffectType>(); in PathEffectFuzzTest()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/draw/
H A Dpen_test.cpp648 auto pathEffect = std::make_shared<PathEffect>(PathEffect::PathEffectType::DASH, 0.2f);
666 auto pathEffect = std::make_shared<PathEffect>(PathEffect::PathEffectType::COMPOSE, 0.1f);
738 auto pathEffect = std::make_shared<PathEffect>(PathEffect::PathEffectType::NO_TYPE, 0.5f);
757 auto pathEffect = std::make_shared<PathEffect>(PathEffect::PathEffectType::CORNER, 0.2f);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/recording/
H A Dcmd_list_helper.cpp662 PathEffect::PathEffectType type = pathEffect->GetType(); in AddPathEffectToCmdList()
687 (static_cast<PathEffect::PathEffectType>(pathEffectHandle.type)); in GetPathEffectFromCmdList()