Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/
H A Doffscreen_canvas.h47 strokeState_.SetColor(color); in SetStrokeColor()
57 strokeState_.SetGradient(gradient); in SetStrokeGradient()
67 strokeState_.SetPattern(pattern); in SetStrokePattern()
133 strokeState_.SetTextAlign(align); in SetTextAlign()
157 strokeState_.SetFontStyle(style); in SetFontStyle()
163 strokeState_.SetFontSize(size); in SetFontSize()
169 strokeState_.SetTextStyle(style); in SetTextStyle()
174 strokeState_.SetLineWidth(width); in SetLineWidth()
179 strokeState_.SetLineCap(style); in SetLineCap()
184 strokeState_.SetLineJoin(style); in SetLineJoin()
[all …]
H A Drender_custom_paint.h137 strokeState_.SetColor(color); in SetStrokeColor()
157 strokeState_.SetPattern(pattern); in SetStrokePattern()
212 return strokeState_.GetLineDash(); in GetLineDash()
218 strokeState_.SetTextAlign(align); in SetTextAlign()
242 strokeState_.SetFontStyle(style); in SetFontStyle()
248 strokeState_.SetFontSize(size); in SetFontSize()
254 strokeState_.SetTextStyle(style); in SetTextStyle()
259 strokeState_.SetLineWidth(width); in SetLineWidth()
264 strokeState_.SetLineCap(style); in SetLineCap()
269 strokeState_.SetLineJoin(style); in SetLineJoin()
[all …]
H A Drosen_render_offscreen_canvas.cpp1326 if (strokeState_.GetGradient().IsValid()) { in StrokeRect()
1329 if (strokeState_.GetPattern().IsValid()) { in StrokeRect()
1350 if (strokeState_.GetGradient().IsValid()) { in StrokeRect()
1353 if (strokeState_.GetPattern().IsValid()) { in StrokeRect()
1381 if (strokeState_.GetGradient().IsValid()) { in Stroke()
1384 if (strokeState_.GetPattern().IsValid()) { in Stroke()
1402 if (strokeState_.GetGradient().IsValid()) { in Stroke()
1405 if (strokeState_.GetPattern().IsValid()) { in Stroke()
1775 if (strokeState_.GetGradient().IsValid()) { in Path2DStroke()
1778 if (strokeState_.GetPattern().IsValid()) { in Path2DStroke()
[all …]
H A Drosen_render_custom_paint.cpp501 if (strokeState_.GetGradient().IsValid()) { in StrokeRect()
504 if (strokeState_.GetPattern().IsValid()) { in StrokeRect()
526 if (strokeState_.GetGradient().IsValid()) { in StrokeRect()
529 if (strokeState_.GetPattern().IsValid()) { in StrokeRect()
1464 if (strokeState_.GetGradient().IsValid()) { in Stroke()
1467 if (strokeState_.GetPattern().IsValid()) { in Stroke()
1485 if (strokeState_.GetGradient().IsValid()) { in Stroke()
1488 if (strokeState_.GetPattern().IsValid()) { in Stroke()
1773 if (strokeState_.GetGradient().IsValid()) { in Path2DStroke()
1776 if (strokeState_.GetPattern().IsValid()) { in Path2DStroke()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/shape/
H A Dshape_component.h148 return strokeState_; in GetStrokeState()
164 strokeState_.SetColor(color, true, option);
174 strokeState_.SetStrokeDashOffset(dashOffset, true, option);
179 strokeState_.SetLineCap(lineCapStyle); in SetStrokeLineCap()
184 strokeState_.SetLineJoin(lineJoinStyle); in SetStrokeLineJoin()
189 strokeState_.SetMiterLimit(miterLimit); in SetStrokeMiterLimit()
194 strokeState_.SetOpacity(std::clamp(opacity, 0.0, 1.0), true, option);
204 strokeState_.SetLineWidth(lineWidth, true, option);
209 strokeState_.SetStrokeDashArray(segments); in SetStrokeDashArray()
225 StrokeState strokeState_; variable
H A Dshape_container_component.h138 return strokeState_; in GetStrokeState()
176 strokeState_.SetColor(color, true, option);
186 strokeState_.SetStrokeDashOffset(dashOffset, true, option);
191 strokeState_.SetLineCap(lineCapStyle); in SetStrokeLineCap()
196 strokeState_.SetLineJoin(lineJoinStyle); in SetStrokeLineJoin()
201 strokeState_.SetMiterLimit(miterLimit); in SetStrokeMiterLimit()
206 strokeState_.SetOpacity(std::clamp(opacity, 0.0, 1.0), true, option);
216 strokeState_.SetLineWidth(lineWidth, true, option);
221 strokeState_.SetStrokeDashArray(segments); in SetStrokeDashArray()
247 StrokeState strokeState_; variable
H A Drosen_render_shape.cpp227 auto lineWidth = strokeState_.GetLineWidth(); in CreatePath()
243 auto lineWidth = strokeState_.GetLineWidth(); in CreatePath()
287 …if (strokeState_.GetColor() != Color::TRANSPARENT && GreatNotEqual(strokeState_.GetLineWidth().Val… in DrawStroke()
290 strokePaint.setStrokeWidth(NormalizePercentToPx(strokeState_.GetLineWidth(), false)); in DrawStroke()
291 if (!strokeState_.GetStrokeDashArray().empty()) { in DrawStroke()
292 auto lineDashState = strokeState_.GetStrokeDashArray(); in DrawStroke()
306 …if (strokeState_.GetColor() != Color::TRANSPARENT && GreatNotEqual(strokeState_.GetLineWidth().Val… in DrawStroke()
308 RosenSvgPainter::SetStrokeStyle(strokePen, strokeState_, UINT8_MAX, antiAlias_.second); in DrawStroke()
309 strokePen.SetWidth(NormalizePercentToPx(strokeState_.GetLineWidth(), false)); in DrawStroke()
310 if (!strokeState_.GetStrokeDashArray().empty()) { in DrawStroke()
[all …]
H A Drender_shape.h41 strokeState_.SetContextAndCallback(context_, callback); in OnAttachContext()
107 return strokeState_; in GetStrokeState()
146 StrokeState strokeState_; variable
H A Drender_shape_container.h52 return strokeState_; in GetStrokeState()
84 StrokeState strokeState_; variable
H A Dshape_component.cpp36 strokeState_.Inherit(strokeState); in InheritShapeStyle()
H A Dshape_container_component.cpp37 strokeState_.Inherit(strokeState); in InheritShapeStyle()
H A Drender_shape_container.cpp31 strokeState_ = shapeContainerComponent->GetStrokeState(); in Update()
H A Drender_shape.cpp39 strokeState_ = shapeComponent->GetStrokeState(); in Update()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/svg/
H A Dsvg_shape.h49 strokeState_ = strokeState; in SetStrokeState()
54 return strokeState_; in GetStrokeState()
81 StrokeState strokeState_; variable
H A Drender_svg_base.cpp572 strokeState_.SetColor(val, isSelf); in SetPresentationProperty()
583 strokeState_.SetLineWidth(val, isSelf); in SetPresentationProperty()
598 strokeState_.SetOpacity(val, isSelf); in SetPresentationProperty()
602 strokeState_.SetMiterLimit(val, isSelf); in SetPresentationProperty()
604 strokeState_.SetLineDashOffset(val, isSelf); in SetPresentationProperty()
624 return strokeState_.HasOpacity(); in IsSelfValue()
628 return strokeState_.HasMiterLimit(); in IsSelfValue()
630 return strokeState_.HasDashOffset(); in IsSelfValue()
632 return strokeState_.HasLineWidth(); in IsSelfValue()
638 return strokeState_.HasColor(); in IsSelfValue()
[all …]
H A Drosen_render_svg_line.cpp57 RosenSvgPainter::SetStrokeStyle(canvas, path, strokeState_, opacity_); in Paint()
90 RosenSvgPainter::SetStrokeStyle(canvas, path, strokeState_, opacity_); in PaintDirectly()
H A Drosen_render_svg_text_path.cpp119 SvgTextInfo svgTextInfo = { fillState_, strokeState_, textStyle_, textData_, opacity_ }; in OnDrawTextPath()
127 SvgTextInfo svgTextInfo = { fillState_, strokeState_, textStyle_, textData_, opacity_ }; in OnMeasureTextPathBounds()
H A Drosen_render_svg_circle.cpp66 RosenSvgPainter::SetStrokeStyle(canvas, path, strokeState_, renderInfo); in Paint()
100 RosenSvgPainter::SetStrokeStyle(canvas, path, strokeState_, opacity_); in PaintDirectly()
H A Drosen_render_svg_ellipse.cpp60 RosenSvgPainter::SetStrokeStyle(canvas, path, strokeState_, renderInfo); in Paint()
91 RosenSvgPainter::SetStrokeStyle(canvas, path, strokeState_, opacity_); in PaintDirectly()
H A Drosen_render_svg_rect.cpp59 RosenSvgPainter::SetStrokeStyle(canvas, path, strokeState_, renderInfo); in Paint()
91 RosenSvgPainter::SetStrokeStyle(canvas, path, strokeState_, opacity_); in PaintDirectly()
H A Drosen_render_svg_tspan.cpp139 SvgTextInfo svgTextInfo = { fillState_, strokeState_, textStyle_, textData_, opacity_ }; in OnDrawTextPath()
147 SvgTextInfo svgTextInfo = { fillState_, strokeState_, textStyle_, textData_, opacity_ }; in OnMeasureTextPathBounds()
H A Drosen_render_svg_text.cpp151 SvgTextInfo svgTextInfo = { fillState_, strokeState_, textStyle_, text, opacity_ }; in OnDrawText()
161 SvgTextInfo svgTextInfo = { fillState_, strokeState_, textStyle_, text, opacity_ }; in OnMeasureTextBounds()
H A Drosen_render_svg_path.cpp61 RosenSvgPainter::SetStrokeStyle(canvas, out, strokeState_, renderInfo); in Paint()
95 RosenSvgPainter::SetStrokeStyle(canvas, out, strokeState_, opacity_); in PaintDirectly()
H A Drender_svg_base.h72 return strokeState_; in GetStrokeState()
158 StrokeState strokeState_; variable
H A Drosen_render_svg_polygon.cpp64 RosenSvgPainter::SetStrokeStyle(canvas, out, strokeState_, renderInfo); in Paint()
101 RosenSvgPainter::SetStrokeStyle(canvas, out, strokeState_, opacity_); in PaintDirectly()