Home
last modified time | relevance | path

Searched refs:CreateLinearGradient (Results 1 – 25 of 47) sorted by relevance

12

/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/shader_effect_napi/
H A Djs_shader_effect.cpp31 DECLARE_NAPI_STATIC_FUNCTION("createLinearGradient", JsShaderEffect::CreateLinearGradient), in Init()
105 napi_value JsShaderEffect::CreateLinearGradient(napi_env env, napi_callback_info info) in CreateLinearGradient() function in OHOS::Rosen::Drawing::JsShaderEffect
143 …std::shared_ptr<ShaderEffect> linearGradient = ShaderEffect::CreateLinearGradient(drawingStartPoin… in CreateLinearGradient()
166 …std::shared_ptr<ShaderEffect> linearGradient = ShaderEffect::CreateLinearGradient(drawingStartPoin… in CreateLinearGradient()
184 …std::shared_ptr<ShaderEffect> linearGradient = ShaderEffect::CreateLinearGradient(drawingStartPoin… in CreateLinearGradient()
H A Djs_shader_effect.h37 static napi_value CreateLinearGradient(napi_env env, napi_callback_info info);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/svg/parse/
H A Dsvg_gradient.h31 static RefPtr<SvgNode> CreateLinearGradient();
H A Dsvg_gradient.cpp28 RefPtr<SvgNode> SvgGradient::CreateLinearGradient() in CreateLinearGradient() function in OHOS::Ace::SvgGradient
H A Dsvg_dom.cpp66 { "linearGradient", []() -> RefPtr<SvgNode> { return SvgGradient::CreateLinearGradient(); } }, in __anon3de6db051002()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_gradient.h31 static RefPtr<SvgNode> CreateLinearGradient();
H A Dsvg_gradient.cpp33 RefPtr<SvgNode> SvgGradient::CreateLinearGradient() in CreateLinearGradient() function in OHOS::Ace::NG::SvgGradient
H A Dsvg_graphic.cpp180 fillBrush_.SetShaderEffect(RSRecordingShaderEffect::CreateLinearGradient( in SetGradientStyle()
222 strokePen_.SetShaderEffect(RSRecordingShaderEffect::CreateLinearGradient( in SetStrokeGradientStyle()
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/src/
H A Dshader_test.cpp31 …auto e = ShaderEffect::CreateLinearGradient({ 1200, 700 }, { 1300, 800 }, colors, pos, TileMode::M… in TestDrawShader()
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/rosen/
H A Dtesting_shader_effect.h48 …static std::shared_ptr<TestingShaderEffect> CreateLinearGradient(const TestingPoint& /* startPt */, in CreateLinearGradient() function
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/
H A Dcanvas_renderer.h98 int64_t CreateLinearGradient(double x0, double y0, double x1, double y1);
H A Dcanvas_renderer.cpp348 int64_t NativeCanvasRenderer::CreateLinearGradient(const double x0, const double y0, const double x… in CreateLinearGradient() function in OHOS::Ace::Framework::NativeCanvasRenderer
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/data_panel/
H A Ddata_panel_modifier.cpp479 …RSShaderEffect::CreateLinearGradient(segmentStartPoint, segmentEndPoint, colors, pos, RSTileMode::… in PaintColorSegment()
481 brush.SetShaderEffect(RSRecordingShaderEffect::CreateLinearGradient( in PaintColorSegment()
527 …RSShaderEffect::CreateLinearGradient(segmentStartPoint, segmentEndPoint, colors, pos, RSTileMode::… in PaintColorSegmentFilterMask()
531 brush.SetShaderEffect(RSRecordingShaderEffect::CreateLinearGradient( in PaintColorSegmentFilterMask()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/select_popup/
H A Drosen_render_select_popup.cpp134 …RSShaderEffect::CreateLinearGradient(points.at(0), points.at(1), colors, stopPositions, RSTileMode… in PaintGradient()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/effect/
H A Dshader_effect.h70 …static std::shared_ptr<ShaderEffect> CreateLinearGradient(const Point& startPt, const Point& endPt,
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/
H A Dslider_content_modifier.cpp180 … RSShaderEffect::CreateLinearGradient(endPoint, startPoint, colors, pos, RSTileMode::CLAMP)); in DrawBackground()
183 …RSRecordingShaderEffect::CreateLinearGradient(endPoint, startPoint, colors, pos, RSTileMode::CLAMP… in DrawBackground()
188 … RSShaderEffect::CreateLinearGradient(startPoint, endPoint, colors, pos, RSTileMode::CLAMP)); in DrawBackground()
191 …RSRecordingShaderEffect::CreateLinearGradient(startPoint, endPoint, colors, pos, RSTileMode::CLAMP… in DrawBackground()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/effect/
H A Dshader_effect_test.cpp177 …auto newShaderEffect = ShaderEffect::CreateLinearGradient(startPoint, endPoint, colors, position, …
194 …auto newShaderEffect = ShaderEffect::CreateLinearGradient(startPoint, endPoint, colors, position, …
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/
H A Dtab_bar_paint_method.cpp157 RSShaderEffect::CreateLinearGradient( in PaintGradientRect()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Drosen_render_picker_base.cpp188 …RSShaderEffect::CreateLinearGradient(points.at(0), points.at(1), colors, stopPositions, RSTileMode… in PaintGradient()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/effect/
H A Dshader_effect.cpp143 std::shared_ptr<ShaderEffect> ShaderEffect::CreateLinearGradient(const Point& startPt, const Point&… in CreateLinearGradient() function in OHOS::Rosen::Drawing::ShaderEffect
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/
H A Dprogress_modifier.cpp818 brush.SetShaderEffect(RSShaderEffect::CreateLinearGradient( in PaintLinearSweeping()
823 brush.SetShaderEffect(RSRecordingShaderEffect::CreateLinearGradient( in PaintLinearSweeping()
1624 brush.SetShaderEffect(RSShaderEffect::CreateLinearGradient( in PaintCapsuleLightSweep()
1630 brush.SetShaderEffect(RSShaderEffect::CreateLinearGradient( in PaintCapsuleLightSweep()
1642 brush.SetShaderEffect(RSRecordingShaderEffect::CreateLinearGradient( in PaintCapsuleLightSweep()
1649 brush.SetShaderEffect(RSRecordingShaderEffect::CreateLinearGradient( in PaintCapsuleLightSweep()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/
H A Dsvg_dom.cpp76 { "linearGradient", []() -> RefPtr<SvgNode> { return SvgGradient::CreateLinearGradient(); } }, in __anonfe503baf1302()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/pattern_lock/
H A Drosen_render_pattern_lock.cpp235 penStroke.SetShaderEffect(RSShaderEffect::CreateLinearGradient( in PaintLockLine()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/shadereffect_fuzzer/
H A Dshader_effect_fuzzer.cpp156 ShaderEffect::CreateLinearGradient(startPt, endPt, colorQuad, in ShaderEffectFuzzTest003()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/chart/
H A Drosen_render_chart.cpp623 … RSShaderEffect::CreateLinearGradient(points.at(0), points.at(1), colors, pos, RSTileMode::CLAMP)); in PaintLineEdge()
632 … RSShaderEffect::CreateLinearGradient(points.at(0), points.at(1), colors, pos, RSTileMode::CLAMP)); in PaintLineEdge()
688 …return RSShaderEffect::CreateLinearGradient(points.at(0), points.at(1), colors, pos, RSTileMode::C… in CreateFillGradientShader()

12