/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_canvas.h | 41 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()
|
H A D | draw_canvas.cpp | 27 void RenderSolid(const 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() 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() 111 DrawCanvas::SetRasterizer(*pathParam->vertices, paint, rasterizer, transform, isStroke); in DoDrawShadow() 166 const bool& isStroke) in SetRasterizer() 169 if (isStroke) { in SetRasterizer() 36 DoRender(BufferInfo& gfxDstBuffer, void* param, const Paint& paint, const Rect& rect, const Rect& invalidatedArea, const Style& style, const bool& isStroke) DoRender() argument 89 DoDrawShadow(BufferInfo& gfxDstBuffer, void* param, const Paint& paint, const Rect& rect, const Rect& invalidatedArea, const Style& style, const bool& isStroke) DoDrawShadow() argument 162 SetRasterizer(UICanvasVertices& vertices, const Paint& paint, RasterizerScanlineAntialias& rasterizer, TransAffine& transform, const bool& isStroke) SetRasterizer() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/ |
H A D | rosen_render_custom_paint.h | 123 bool UpdateParagraph(const Offset& offset, const std::string& text, bool isStroke, bool hasShadow = false); 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 hasShadow); 150 void UpdateTextStyleForeground(const Offset& offset, bool isStroke, Rosen::TextStyle& style, bool hasShadow);
|
H A D | rosen_render_offscreen_canvas.h | 141 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 hasShadow = false);
|
H A D | rosen_render_offscreen_canvas.cpp | 2130 void RosenRenderOffscreenCanvas::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() 2140 isStroke ? strokeState_.GetTextStyle().GetTextBaseline() : fillState_.GetTextStyle().GetTextBaseline(); in PaintText() 2223 const std::string& text, bool isStroke, const PaintState& state, bool hasShadow) in UpdateOffParagraph() 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, bool hasShadow) in UpdateTextStyleForeground() argument 2305 void RosenRenderOffscreenCanvas::UpdateTextStyleForeground(bool isStroke, Rosen::TextStyle& txtStyle, bool hasShadow) in UpdateTextStyleForeground() 2310 if (!isStroke) { in UpdateTextStyleForeground() 2222 UpdateOffParagraph( const std::string& text, bool isStroke, const PaintState& state, bool hasShadow) UpdateOffParagraph() argument [all...] |
H A D | rosen_render_custom_paint.cpp | 1002 void RosenRenderCustomPaint::PaintText(const Offset& offset, double x, double y, bool isStroke, bool hasShadow) in PaintText() argument 1009 auto align = isStroke ? strokeState_.GetTextAlign() : fillState_.GetTextAlign(); in PaintText() 1012 isStroke ? strokeState_.GetTextStyle().GetTextBaseline() : fillState_.GetTextStyle().GetTextBaseline(); in PaintText() 2022 const Offset& offset, const std::string& text, bool isStroke, bool hasShadow) in UpdateParagraph() 2030 if (isStroke) { in UpdateParagraph() 2055 if (!isStroke && hasShadow) { in UpdateParagraph() 2079 UpdateTextStyleForeground(offset, isStroke, txtStyle, hasShadow); in UpdateParagraph() 2093 const Offset& offset, bool isStroke, txt::TextStyle& txtStyle, bool hasShadow) 2096 const Offset& offset, bool isStroke, Rosen::TextStyle& txtStyle, bool hasShadow) 2101 if (!isStroke) { 2021 UpdateParagraph( const Offset& offset, const std::string& text, bool isStroke, bool hasShadow) UpdateParagraph() argument 2092 UpdateTextStyleForeground( const Offset& offset, bool isStroke, txt::TextStyle& txtStyle, bool hasShadow) global() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/button/ |
H A D | rosen_render_button.h | 46 void DrawShape(RSCanvas* canvas, const Offset& offset, bool isStroke = false);
|
H A D | rosen_render_button.cpp | 238 void RosenRenderButton::DrawShape(RSCanvas* canvas, const Offset& offset, bool isStroke) in DrawShape() argument 242 if (isStroke) { in DrawShape()
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_canvas.cpp | 42 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() 960 transform, span, trunc, pathParamBlend->isStroke); in OnBlendDrawGradient() 988 pathParamBlend->isStroke); in OnBlendDraw() 1010 pathParam->isStroke); in OnBlendDraw() 1016 pathParam->isStroke); in OnBlendDraw() 1019 DrawCanvas::RenderBlendSolid(curDraw->data_.paint, color, pathParam->isStroke); in OnBlendDraw() 1597 BlendRaster(const Paint& paint, void* param, RasterizerScanlineAntialias& blendRasterizer, RasterizerScanlineAntialias& rasterizer, RenderBase& renBase, TransAffine& transform, SpanBase& spanGen, const Rect& rect, bool isStroke) BlendRaster() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | custom_paint_paint_method.h | 363 void PaintText(const float width, double x, double y, std::optional<double> maxWidth, bool isStroke);
|
H A D | custom_paint_paint_method.cpp | 1209 const float width, double x, double y, std::optional<double> maxWidth, bool isStroke) in PaintText() 1221 auto align = isStroke ? state_.strokeState.GetTextAlign() : state_.fillState.GetTextAlign(); in PaintText() 1228 auto baseline = isStroke ? state_.strokeState.GetTextStyle().GetTextBaseline() in PaintText() 1239 if (isStroke && shadowParagraph_ != nullptr && HasShadow()) { in PaintText() 1208 PaintText( const float width, double x, double y, std::optional<double> maxWidth, bool isStroke) PaintText() argument
|
/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | ui_canvas.h | 450 bool isStroke);
|