Home
last modified time | relevance | path

Searched refs:fillRule (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/canvas/
H A Dcanvas_rendering_context_2d_model_impl.cpp280 void CanvasRenderingContext2DModelImpl::SetFillRuleForPath(const CanvasFillRule& fillRule) in SetFillRuleForPath() argument
283 pattern_->UpdateFillRuleForPath(fillRule); in SetFillRuleForPath()
288 const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) in SetFillRuleForPath2D() argument
291 pattern_->UpdateFillRuleForPath2D(fillRule); in SetFillRuleForPath2D()
296 const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) in SetStrokeRuleForPath2D() argument
299 pattern_->UpdateFillRuleForPath2D(fillRule); in SetStrokeRuleForPath2D()
306 pattern_->UpdateFillRuleForPath(fillRule); in SetStrokeRuleForPath()
310 void CanvasRenderingContext2DModelImpl::SetClipRuleForPath(const CanvasFillRule& fillRule) in SetClipRuleForPath() argument
313 pattern_->UpdateFillRuleForPath(fillRule); in SetClipRuleForPath()
318 const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) in SetClipRuleForPath2D() argument
[all …]
H A Doffscreen_canvas_rendering_context_2d_model_impl.cpp281 void OffscreenCanvasRenderingContext2DModelImpl::SetFillRuleForPath(const CanvasFillRule& fillRule) in SetFillRuleForPath() argument
284 pattern_->SetFillRuleForPath(fillRule); in SetFillRuleForPath()
289 const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) in SetFillRuleForPath2D() argument
292 pattern_->SetFillRuleForPath2D(fillRule); in SetFillRuleForPath2D()
297 const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) in SetStrokeRuleForPath2D() argument
300 pattern_->SetFillRuleForPath(fillRule); in SetStrokeRuleForPath2D()
307 pattern_->SetFillRuleForPath2D(fillRule); in SetStrokeRuleForPath()
311 void OffscreenCanvasRenderingContext2DModelImpl::SetClipRuleForPath(const CanvasFillRule& fillRule) in SetClipRuleForPath() argument
314 pattern_->SetFillRuleForPath(fillRule); in SetClipRuleForPath()
319 const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) in SetClipRuleForPath2D() argument
[all …]
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…
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/
H A Doffscreen_canvas_rendering_context_2d_model_ng.cpp292 void OffscreenCanvasRenderingContext2DModelNG::SetFillRuleForPath(const CanvasFillRule& fillRule) in SetFillRuleForPath() argument
295 pattern_->SetFillRuleForPath(fillRule); in SetFillRuleForPath()
300 const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) in SetFillRuleForPath2D() argument
303 pattern_->SetFillRuleForPath2D(fillRule); in SetFillRuleForPath2D()
308 const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) in SetStrokeRuleForPath2D() argument
312 pattern_->SetFillRuleForPath(fillRule); in SetStrokeRuleForPath2D()
319 pattern_->SetFillRuleForPath(fillRule); in SetStrokeRuleForPath()
323 void OffscreenCanvasRenderingContext2DModelNG::SetClipRuleForPath(const CanvasFillRule& fillRule) in SetClipRuleForPath() argument
327 pattern_->SetFillRuleForPath(fillRule); in SetClipRuleForPath()
332 const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) in SetClipRuleForPath2D() argument
[all …]
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 Dcanvas_rendering_context_2d_model_ng.cpp415 void CanvasRenderingContext2DModelNG::SetFillRuleForPath(const CanvasFillRule& fillRule) in SetFillRuleForPath() argument
419 pattern->UpdateFillRuleForPath(fillRule); in SetFillRuleForPath()
424 const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) in SetFillRuleForPath2D() argument
428 pattern->UpdateFillRuleForPath2D(fillRule); in SetFillRuleForPath2D()
433 const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) in SetStrokeRuleForPath2D() argument
437 pattern->UpdateFillRuleForPath2D(fillRule); in SetStrokeRuleForPath2D()
445 pattern->UpdateFillRuleForPath(fillRule); in SetStrokeRuleForPath()
449 void CanvasRenderingContext2DModelNG::SetClipRuleForPath(const CanvasFillRule& fillRule) in SetClipRuleForPath() argument
453 pattern->UpdateFillRuleForPath(fillRule); in SetClipRuleForPath()
458 const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) in SetClipRuleForPath2D() argument
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/
H A Dcanvas_renderer.cpp238 auto fillRule = CanvasFillRule::NONZERO; in Stroke() local
239 renderingContext2DModel_->SetStrokeRuleForPath(fillRule); in Stroke()
245 auto fillRule = CanvasFillRule::NONZERO; in Stroke() local
247 renderingContext2DModel_->SetStrokeRuleForPath2D(fillRule, path); in Stroke()
302 auto fillRule = CanvasFillRule::NONZERO; in Fill() local
304 renderingContext2DModel_->SetFillRuleForPath(fillRule); in Fill()
309 auto fillRule = CanvasFillRule::NONZERO; in Clip() local
310 renderingContext2DModel_->SetClipRuleForPath(fillRule); in Clip()
/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() local
62 fillRule = CanvasFillRule::NONZERO; in SetCanvasFill()
64 fillRule = CanvasFillRule::EVENODD; in SetCanvasFill()
66 canvasPattern->UpdateFillRuleForPath(fillRule); in SetCanvasFill()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/
H A Djs_canvas_renderer.cpp1193 auto fillRule = CanvasFillRule::NONZERO; in JsFill() local
1197 fillRule = ruleStr == "evenodd" ? CanvasFillRule::EVENODD : CanvasFillRule::NONZERO; in JsFill()
1198 renderingContext2DModel_->SetFillRuleForPath(fillRule); in JsFill()
1207 fillRule = CanvasFillRule::EVENODD; in JsFill()
1209 renderingContext2DModel_->SetFillRuleForPath2D(fillRule, path); in JsFill()
1229 auto fillRule = CanvasFillRule::NONZERO; in JsClip() local
1233 fillRule = ruleStr == "evenodd" ? CanvasFillRule::EVENODD : CanvasFillRule::NONZERO; in JsClip()
1234 renderingContext2DModel_->SetClipRuleForPath(fillRule); in JsClip()
1243 fillRule = CanvasFillRule::EVENODD; in JsClip()
1245 renderingContext2DModel_->SetClipRuleForPath2D(fillRule, path); in JsClip()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dsvg_paint_state.h92 void SetFillRule(const std::string& fillRule, bool isSelf = true)
94 fillRule_ = fillRule;
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-canvasrenderingcontext2d.md1979 fill(fillRule?: CanvasFillRule): void
1993 | fillRule | [CanvasFillRule](ts-canvasrenderingcontext2d.md#canvasfillrule) | 否 | 指定要填充对象的规则。<b…
2026 fill(path: Path2D, fillRule?: CanvasFillRule): void
2041 | fillRule | [CanvasFillRule](ts-canvasrenderingcontext2d.md#canvasfillrule) | 否 | 指定要填充对象的规则。<b…
2085 clip(fillRule?: CanvasFillRule): void
2099 | fillRule | [CanvasFillRule](#canvasfillrule) | 否 | 指定要剪切对象的规则。<br/>可选参数为:"nonzero", "evenodd"。 <b…
2134 clip(path: Path2D, fillRule?: CanvasFillRule): void
2149 | fillRule | [CanvasFillRule](#canvasfillrule) | 否 | 指定要剪切对象的规则。<br/>可选参数为:"nonzero", "evenodd"。 <…
H A Dts-offscreencanvasrenderingcontext2d.md2029 fill(fillRule?: CanvasFillRule): void
2043 | fillRule | [CanvasFillRule](ts-canvasrenderingcontext2d.md#canvasfillrule) | 否 | 指定要填充对象的规则。<br/>…
2078 fill(path: Path2D, fillRule?: CanvasFillRule): void
2093 | fillRule | [CanvasFillRule](ts-canvasrenderingcontext2d.md#canvasfillrule) | 否 | 指定要填充对象的规则。<br/>…
2141 clip(fillRule?: CanvasFillRule): void
2155 | fillRule | [CanvasFillRule](ts-canvasrenderingcontext2d.md#canvasfillrule) | 否 | 指定要剪切对象的规则。<br/>…
2194 clip(path: Path2D, fillRule?: CanvasFillRule): void
2209 | fillRule | [CanvasFillRule](ts-canvasrenderingcontext2d.md#canvasfillrule) | 否 | 指定要剪切对象的规则。<br/>…
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-canvasrenderingcontext2d.md1856 fill(fillRule?: CanvasFillRule): void
1870 | fillRule | [CanvasFillRule](ts-canvasrenderingcontext2d.md#canvasfillrule) | No | Rule by which…
1903 fill(path: Path2D, fillRule?: CanvasFillRule): void
1918 | fillRule | [CanvasFillRule](ts-canvasrenderingcontext2d.md#canvasfillrule) | No | Rule by which…
1962 clip(fillRule?: CanvasFillRule): void
1976 | fillRule | [CanvasFillRule](#canvasfillrule) | No | Rule by which to determine whether a point is…
2011 clip(path: Path2D, fillRule?: CanvasFillRule): void
2026 | fillRule | [CanvasFillRule](#canvasfillrule) | No | Rule by which to determine whether a point is…
H A Dts-offscreencanvasrenderingcontext2d.md2029 fill(fillRule?: CanvasFillRule): void
2043 | fillRule | [CanvasFillRule](ts-canvasrenderingcontext2d.md#canvasfillrule) | No| Rule by which to…
2078 fill(path: Path2D, fillRule?: CanvasFillRule): void
2093 | fillRule | [CanvasFillRule](ts-canvasrenderingcontext2d.md#canvasfillrule) | No| Rule by which to…
2141 clip(fillRule?: CanvasFillRule): void
2155 | fillRule | [CanvasFillRule](ts-canvasrenderingcontext2d.md#canvasfillrule) | No| Rule by which to…
2194 clip(path: Path2D, fillRule?: CanvasFillRule): void
2209 | fillRule | [CanvasFillRule](ts-canvasrenderingcontext2d.md#canvasfillrule) | No| Rule by which to…
/ohos5.0/docs/zh-cn/release-notes/api-diff/Beta5 to v3.2-Release/
H A Djs-apidiff-arkui.md295 …:CanvasRenderer<br>方法 or 属性:clip(fillRule?: CanvasFillRule): void;<br>起始版本:8|类名:CanvasRenderer<br>…
296 … or 属性:clip(path: Path2D, fillRule?: CanvasFillRule): void;<br>起始版本:8|类名:CanvasRenderer<br>方法 or 属…
297 …:CanvasRenderer<br>方法 or 属性:fill(fillRule?: CanvasFillRule): void;<br>起始版本:8|类名:CanvasRenderer<br>…
298 … or 属性:fill(path: Path2D, fillRule?: CanvasFillRule): void;<br>起始版本:8|类名:CanvasRenderer<br>方法 or 属…
/ohos5.0/docs/en/release-notes/api-diff/Beta5-to-v3.2-Release/
H A Djs-apidiff-arkui.md295 …te name: clip(fillRule?: CanvasFillRule): void;<br>Initial version: 8|Class name: CanvasRenderer<b…
296 …ath2D, fillRule?: CanvasFillRule): void;<br>Initial version: 8|Class name: CanvasRenderer<br>Metho…
297 …te name: fill(fillRule?: CanvasFillRule): void;<br>Initial version: 8|Class name: CanvasRenderer<b…
298 …ath2D, fillRule?: CanvasFillRule): void;<br>Initial version: 8|Class name: CanvasRenderer<br>Metho…
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/
H A Djs-apidiff-arkui.md1398 …名:CanvasRenderer;<br>方法or属性:clip(fillRule?: CanvasFillRule): void;<br>旧版本信息:|类名:CanvasRenderer;<br…
1399 …方法or属性:clip(path: Path2D, fillRule?: CanvasFillRule): void;<br>旧版本信息:|类名:CanvasRenderer;<br>方法or属性…
1400 …名:CanvasRenderer;<br>方法or属性:fill(fillRule?: CanvasFillRule): void;<br>旧版本信息:|类名:CanvasRenderer;<br…
1401 …方法or属性:fill(path: Path2D, fillRule?: CanvasFillRule): void;<br>旧版本信息:|类名:CanvasRenderer;<br>方法or属性…
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v3.2-Release/
H A Djs-apidiff-arkui.md1398 …ame: clip(fillRule?: CanvasFillRule): void;<br>Old version information: |Class name: CanvasRendere…
1399 …D, fillRule?: CanvasFillRule): void;<br>Old version information: |Class name: CanvasRenderer;<br>M…
1400 …ame: fill(fillRule?: CanvasFillRule): void;<br>Old version information: |Class name: CanvasRendere…
1401 …D, fillRule?: CanvasFillRule): void;<br>Old version information: |Class name: CanvasRenderer;<br>M…