Home
last modified time | relevance | path

Searched refs:isStroke (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/arkui/ui_lite/frameworks/draw/
H A Ddraw_canvas.cpp27 …t Paint& paint, RasterizerScanlineAntialias& rasterizer, RenderBase& renBase, const bool& isStroke) in RenderSolid() argument
31 DrawCanvas::RenderBlendSolid(paint, color, isStroke); in RenderSolid()
42 const bool& isStroke) in DoRender() argument
49 … DrawCanvas::DoDrawShadow(gfxDstBuffer, param, paint, rect, invalidatedArea, style, isStroke); in DoRender()
61 SetRasterizer(*pathParam->vertices, paint, rasterizer, transform, isStroke); in DoRender()
73 RenderSolid(paint, rasterizer, renBase, isStroke); in DoRender()
95 const bool& isStroke) in DoDrawShadow() argument
111 DrawCanvas::SetRasterizer(*pathParam->vertices, paint, rasterizer, transform, isStroke); in DoDrawShadow()
166 const bool& isStroke) in SetRasterizer() argument
169 if (isStroke) { in SetRasterizer()
H A Ddraw_canvas.h41 bool isStroke; member
56 const bool& isStroke);
65 const bool& isStroke);
79 const bool& isStroke);
140 static void RenderBlendSolid(const Paint& paint, Rgba8T& color, const bool& isStroke) in RenderBlendSolid() argument
142 if (isStroke) { in RenderBlendSolid()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/
H A Drosen_render_offscreen_canvas.h141 …void PaintText(const std::string& text, double x, double y, bool isStroke, bool hasShadow = false);
152 void UpdateTextStyleForeground(bool isStroke, txt::TextStyle& style, bool hasShadow);
155 void UpdateTextStyleForeground(bool isStroke, Rosen::TextStyle& style, bool hasShadow);
159 …bool UpdateOffParagraph(const std::string& text, bool isStroke, const PaintState& state, bool hasS…
H A Drosen_render_custom_paint.h123 …bool UpdateParagraph(const Offset& offset, const std::string& text, bool isStroke, bool hasShadow …
124 void PaintText(const Offset& offset, double x, double y, bool isStroke, bool hasShadow = false);
148 …void UpdateTextStyleForeground(const Offset& offset, bool isStroke, txt::TextStyle& style, bool ha…
150 …void UpdateTextStyleForeground(const Offset& offset, bool isStroke, Rosen::TextStyle& style, bool …
H A Drosen_render_custom_paint.cpp1001 void RosenRenderCustomPaint::PaintText(const Offset& offset, double x, double y, bool isStroke, boo… in PaintText() argument
1008 auto align = isStroke ? strokeState_.GetTextAlign() : fillState_.GetTextAlign(); in PaintText()
1011isStroke ? strokeState_.GetTextStyle().GetTextBaseline() : fillState_.GetTextStyle().GetTextBaseli… in PaintText()
2021 const Offset& offset, const std::string& text, bool isStroke, bool hasShadow) in UpdateParagraph() argument
2029 if (isStroke) { in UpdateParagraph()
2054 if (!isStroke && hasShadow) { in UpdateParagraph()
2078 UpdateTextStyleForeground(offset, isStroke, txtStyle, hasShadow); in UpdateParagraph()
2092 const Offset& offset, bool isStroke, txt::TextStyle& txtStyle, bool hasShadow) argument
2095 const Offset& offset, bool isStroke, Rosen::TextStyle& txtStyle, bool hasShadow)
2100 if (!isStroke) {
H A Drosen_render_offscreen_canvas.cpp2130 …screenCanvas::PaintText(const std::string& text, double x, double y, bool isStroke, bool hasShadow) in PaintText() argument
2137 auto align = isStroke ? strokeState_.GetTextAlign() : fillState_.GetTextAlign(); in PaintText()
2140isStroke ? strokeState_.GetTextStyle().GetTextBaseline() : fillState_.GetTextStyle().GetTextBaseli… in PaintText()
2223 const std::string& text, bool isStroke, const PaintState& state, bool hasShadow) in UpdateOffParagraph() argument
2231 if (isStroke) { in UpdateOffParagraph()
2265 if (!isStroke && hasShadow) { in UpdateOffParagraph()
2290 UpdateTextStyleForeground(isStroke, txtStyle, hasShadow); in UpdateOffParagraph()
2303 void RosenRenderOffscreenCanvas::UpdateTextStyleForeground(bool isStroke, txt::TextStyle& txtStyle,… in UpdateTextStyleForeground() argument
2305 void RosenRenderOffscreenCanvas::UpdateTextStyleForeground(bool isStroke, Rosen::TextStyle& txtStyl… in UpdateTextStyleForeground()
2310 if (!isStroke) { in UpdateTextStyleForeground()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/button/
H A Drosen_render_button.h52 void DrawShape(SkCanvas* canvas, const Offset& offset, bool isStroke = false);
62 void DrawShape(RSCanvas* canvas, const Offset& offset, bool isStroke = false);
H A Drosen_render_button.cpp255 void RosenRenderButton::DrawShape(SkCanvas* canvas, const Offset& offset, bool isStroke) in DrawShape() argument
258 if (isStroke) { in DrawShape()
291 void RosenRenderButton::DrawShape(RSCanvas* canvas, const Offset& offset, bool isStroke) in DrawShape() argument
295 if (isStroke) { in DrawShape()
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/
H A Dui_canvas.cpp42 const bool& isStroke);
780 pathParam->isStroke = true; in DrawPath()
836 pathParam->isStroke = false; in FillPath()
923 spanPattern, trunc, pathParamBlend->isStroke); in OnBlendDrawPattern()
949 transform, span, trunc, pathParamBlend->isStroke); in OnBlendDrawGradient()
988 pathParamBlend->isStroke); in OnBlendDraw()
1010 pathParam->isStroke); in OnBlendDraw()
1016 pathParam->isStroke); in OnBlendDraw()
1022 spanSoildColor, rect, pathParamBlend->isStroke); in OnBlendDraw()
1605 bool isStroke) in BlendRaster() argument
[all …]
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_canvas.h450 bool isStroke);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/
H A Dcustom_paint_paint_method.h355 …id PaintText(const float width, double x, double y, std::optional<double> maxWidth, bool isStroke);
H A Dcustom_paint_paint_method.cpp1211 const float width, double x, double y, std::optional<double> maxWidth, bool isStroke) in PaintText() argument
1223 auto align = isStroke ? state_.strokeState.GetTextAlign() : state_.fillState.GetTextAlign(); in PaintText()
1230 auto baseline = isStroke ? state_.strokeState.GetTextStyle().GetTextBaseline() in PaintText()
1243 if (isStroke && shadowParagraph_ != nullptr && HasShadow()) { in PaintText()