Home
last modified time | relevance | path

Searched refs:CanvasFillRule (Results 1 – 25 of 37) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/canvas/
H A Dcanvas_rendering_context_2d_model_impl.h74 void SetFillRuleForPath(const CanvasFillRule& fillRule) override;
75 …void SetFillRuleForPath2D(const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) overri…
76 …void SetStrokeRuleForPath2D(const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) over…
77 void SetStrokeRuleForPath(const CanvasFillRule& fillRule) override;
78 void SetClipRuleForPath(const CanvasFillRule& fillRule) override;
79 …void SetClipRuleForPath2D(const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) overri…
H A Doffscreen_canvas_rendering_context_2d_model_impl.h74 void SetFillRuleForPath(const CanvasFillRule& fillRule) override;
75 …void SetFillRuleForPath2D(const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) overri…
76 …void SetStrokeRuleForPath2D(const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) over…
77 void SetStrokeRuleForPath(const CanvasFillRule& fillRule) override;
78 void SetClipRuleForPath(const CanvasFillRule& fillRule) override;
79 …void SetClipRuleForPath2D(const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) overri…
H A Dcanvas_rendering_context_2d_model_impl.cpp280 void CanvasRenderingContext2DModelImpl::SetFillRuleForPath(const CanvasFillRule& fillRule) in SetFillRuleForPath()
288 const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) in SetFillRuleForPath2D()
296 const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) in SetStrokeRuleForPath2D()
303 void CanvasRenderingContext2DModelImpl::SetStrokeRuleForPath(const CanvasFillRule& fillRule) in SetStrokeRuleForPath()
310 void CanvasRenderingContext2DModelImpl::SetClipRuleForPath(const CanvasFillRule& fillRule) in SetClipRuleForPath()
318 const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) in SetClipRuleForPath2D()
H A Doffscreen_canvas_rendering_context_2d_model_impl.cpp281 void OffscreenCanvasRenderingContext2DModelImpl::SetFillRuleForPath(const CanvasFillRule& fillRule) in SetFillRuleForPath()
289 const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) in SetFillRuleForPath2D()
297 const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) in SetStrokeRuleForPath2D()
304 void OffscreenCanvasRenderingContext2DModelImpl::SetStrokeRuleForPath(const CanvasFillRule& fillRul… in SetStrokeRuleForPath()
311 void OffscreenCanvasRenderingContext2DModelImpl::SetClipRuleForPath(const CanvasFillRule& fillRule) in SetClipRuleForPath()
319 const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) in SetClipRuleForPath2D()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/
H A Doffscreen_canvas_rendering_context_2d_model_ng.h77 void SetFillRuleForPath(const CanvasFillRule& fillRule) override;
78 …void SetFillRuleForPath2D(const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) overri…
79 …void SetStrokeRuleForPath2D(const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) over…
80 void SetStrokeRuleForPath(const CanvasFillRule& fillRule) override;
81 void SetClipRuleForPath(const CanvasFillRule& fillRule) override;
82 …void SetClipRuleForPath2D(const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) overri…
H A Dcanvas_rendering_context_2d_model_ng.h80 void SetFillRuleForPath(const CanvasFillRule& fillRule) override;
81 …void SetFillRuleForPath2D(const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) overri…
82 …void SetStrokeRuleForPath2D(const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) over…
83 void SetStrokeRuleForPath(const CanvasFillRule& fillRule) override;
84 void SetClipRuleForPath(const CanvasFillRule& fillRule) override;
85 …void SetClipRuleForPath2D(const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) overri…
H A Drendering_context_2d_model.h81 virtual void SetFillRuleForPath(const CanvasFillRule& fillRule) = 0;
82 …virtual void SetFillRuleForPath2D(const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path…
83 …virtual void SetStrokeRuleForPath2D(const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& pa…
84 virtual void SetStrokeRuleForPath(const CanvasFillRule& fillRule) = 0;
85 virtual void SetClipRuleForPath(const CanvasFillRule& fillRule) = 0;
86 …virtual void SetClipRuleForPath2D(const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path…
H A Doffscreen_canvas_rendering_context_2d_model_ng.cpp292 void OffscreenCanvasRenderingContext2DModelNG::SetFillRuleForPath(const CanvasFillRule& fillRule) in SetFillRuleForPath()
300 const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) in SetFillRuleForPath2D()
308 const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) in SetStrokeRuleForPath2D()
316 void OffscreenCanvasRenderingContext2DModelNG::SetStrokeRuleForPath(const CanvasFillRule& fillRule) in SetStrokeRuleForPath()
323 void OffscreenCanvasRenderingContext2DModelNG::SetClipRuleForPath(const CanvasFillRule& fillRule) in SetClipRuleForPath()
332 const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) in SetClipRuleForPath2D()
H A Dcanvas_rendering_context_2d_model_ng.cpp415 void CanvasRenderingContext2DModelNG::SetFillRuleForPath(const CanvasFillRule& fillRule) in SetFillRuleForPath()
424 const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) in SetFillRuleForPath2D()
433 const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) in SetStrokeRuleForPath2D()
441 void CanvasRenderingContext2DModelNG::SetStrokeRuleForPath(const CanvasFillRule& fillRule) in SetStrokeRuleForPath()
449 void CanvasRenderingContext2DModelNG::SetClipRuleForPath(const CanvasFillRule& fillRule) in SetClipRuleForPath()
458 const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) in SetClipRuleForPath2D()
H A Doffscreen_canvas_pattern.h67 void SetFillRuleForPath(const CanvasFillRule rule);
68 void SetFillRuleForPath2D(const CanvasFillRule rule);
H A Dcanvas_pattern.h131 void UpdateFillRuleForPath(const CanvasFillRule rule);
132 void UpdateFillRuleForPath2D(const CanvasFillRule rule);
H A Doffscreen_canvas_pattern.cpp189 void OffscreenCanvasPattern::SetFillRuleForPath(const CanvasFillRule rule) in SetFillRuleForPath()
194 void OffscreenCanvasPattern::SetFillRuleForPath2D(const CanvasFillRule rule) in SetFillRuleForPath2D()
H A Dcanvas_paint_op.h118 explicit SetFillRuleForPathOp(const CanvasFillRule& rule): rule(std::move(rule)) {} in SetFillRuleForPathOp()
119 CanvasFillRule rule;
125 explicit SetFillRuleForPath2DOp(const CanvasFillRule& rule): rule(rule) {} in SetFillRuleForPath2DOp()
126 CanvasFillRule rule;
H A Dcustom_paint_paint_method.h68 void SetFillRuleForPath(const CanvasFillRule& rule);
69 void SetFillRuleForPath2D(const CanvasFillRule& rule);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dcanvas_rendering_context_2d_modifier.cpp60 CanvasFillRule fillRule = CanvasFillRule::NONZERO; in SetCanvasFill()
62 fillRule = CanvasFillRule::NONZERO; in SetCanvasFill()
64 fillRule = CanvasFillRule::EVENODD; in SetCanvasFill()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/
H A Dcanvas_renderer.cpp238 auto fillRule = CanvasFillRule::NONZERO; in Stroke()
245 auto fillRule = CanvasFillRule::NONZERO; in Stroke()
302 auto fillRule = CanvasFillRule::NONZERO; in Fill()
309 auto fillRule = CanvasFillRule::NONZERO; in Clip()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/
H A Dcustom_paint_component.h123 void UpdateFillRuleForPath(const CanvasFillRule rule);
124 void UpdateFillRuleForPath2D(const CanvasFillRule rule);
H A Doffscreen_canvas.h258 virtual void SetFillRuleForPath(const CanvasFillRule& rule) = 0;
259 virtual void SetFillRuleForPath2D(const CanvasFillRule& rule) = 0;
H A Drender_custom_paint.h121 virtual void SetFillRuleForPath(const CanvasFillRule& rule) = 0;
122 virtual void SetFillRuleForPath2D(const CanvasFillRule& rule) = 0;
H A Drosen_render_offscreen_canvas.h88 void SetFillRuleForPath(const CanvasFillRule& rule) override;
89 void SetFillRuleForPath2D(const CanvasFillRule& rule) override;
H A Drosen_render_custom_paint.h106 void SetFillRuleForPath(const CanvasFillRule& rule) override;
107 void SetFillRuleForPath2D(const CanvasFillRule& rule) override;
H A Dcustom_paint_component.cpp381 void CanvasTaskPool::UpdateFillRuleForPath(const CanvasFillRule rule) in UpdateFillRuleForPath()
389 void CanvasTaskPool::UpdateFillRuleForPath2D(const CanvasFillRule rule) in UpdateFillRuleForPath2D()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/
H A Djs_canvas_renderer.cpp1193 auto fillRule = CanvasFillRule::NONZERO; in JsFill()
1197 fillRule = ruleStr == "evenodd" ? CanvasFillRule::EVENODD : CanvasFillRule::NONZERO; in JsFill()
1207 fillRule = CanvasFillRule::EVENODD; in JsFill()
1218 renderingContext2DModel_->SetStrokeRuleForPath2D(CanvasFillRule::NONZERO, path); in JsStroke()
1221 renderingContext2DModel_->SetStrokeRuleForPath(CanvasFillRule::NONZERO); in JsStroke()
1229 auto fillRule = CanvasFillRule::NONZERO; in JsClip()
1233 fillRule = ruleStr == "evenodd" ? CanvasFillRule::EVENODD : CanvasFillRule::NONZERO; in JsClip()
1243 fillRule = CanvasFillRule::EVENODD; in JsClip()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/canvas/
H A Dcanvas_custom_paint_method_test_ng.cpp599 CanvasFillRule rule = CanvasFillRule::NONZERO;
608 rule = CanvasFillRule::EVENODD;
626 CanvasFillRule rule = CanvasFillRule::NONZERO;
636 rule = CanvasFillRule::EVENODD;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dpaint_state.h138 enum class CanvasFillRule { enum

12