/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/ |
H A D | offscreen_canvas.h | 47 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 D | render_custom_paint.h | 137 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 D | rosen_render_offscreen_canvas.cpp | 1326 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 D | rosen_render_custom_paint.cpp | 501 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 D | shape_component.h | 148 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 D | shape_container_component.h | 138 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 D | rosen_render_shape.cpp | 227 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 D | render_shape.h | 41 strokeState_.SetContextAndCallback(context_, callback); in OnAttachContext() 107 return strokeState_; in GetStrokeState() 146 StrokeState strokeState_; variable
|
H A D | render_shape_container.h | 52 return strokeState_; in GetStrokeState() 84 StrokeState strokeState_; variable
|
H A D | shape_component.cpp | 36 strokeState_.Inherit(strokeState); in InheritShapeStyle()
|
H A D | shape_container_component.cpp | 37 strokeState_.Inherit(strokeState); in InheritShapeStyle()
|
H A D | render_shape_container.cpp | 31 strokeState_ = shapeContainerComponent->GetStrokeState(); in Update()
|
H A D | render_shape.cpp | 39 strokeState_ = shapeComponent->GetStrokeState(); in Update()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/svg/ |
H A D | svg_shape.h | 49 strokeState_ = strokeState; in SetStrokeState() 54 return strokeState_; in GetStrokeState() 81 StrokeState strokeState_; variable
|
H A D | render_svg_base.cpp | 572 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 D | rosen_render_svg_line.cpp | 57 RosenSvgPainter::SetStrokeStyle(canvas, path, strokeState_, opacity_); in Paint() 90 RosenSvgPainter::SetStrokeStyle(canvas, path, strokeState_, opacity_); in PaintDirectly()
|
H A D | rosen_render_svg_text_path.cpp | 119 SvgTextInfo svgTextInfo = { fillState_, strokeState_, textStyle_, textData_, opacity_ }; in OnDrawTextPath() 127 SvgTextInfo svgTextInfo = { fillState_, strokeState_, textStyle_, textData_, opacity_ }; in OnMeasureTextPathBounds()
|
H A D | rosen_render_svg_circle.cpp | 66 RosenSvgPainter::SetStrokeStyle(canvas, path, strokeState_, renderInfo); in Paint() 100 RosenSvgPainter::SetStrokeStyle(canvas, path, strokeState_, opacity_); in PaintDirectly()
|
H A D | rosen_render_svg_ellipse.cpp | 60 RosenSvgPainter::SetStrokeStyle(canvas, path, strokeState_, renderInfo); in Paint() 91 RosenSvgPainter::SetStrokeStyle(canvas, path, strokeState_, opacity_); in PaintDirectly()
|
H A D | rosen_render_svg_rect.cpp | 59 RosenSvgPainter::SetStrokeStyle(canvas, path, strokeState_, renderInfo); in Paint() 91 RosenSvgPainter::SetStrokeStyle(canvas, path, strokeState_, opacity_); in PaintDirectly()
|
H A D | rosen_render_svg_tspan.cpp | 139 SvgTextInfo svgTextInfo = { fillState_, strokeState_, textStyle_, textData_, opacity_ }; in OnDrawTextPath() 147 SvgTextInfo svgTextInfo = { fillState_, strokeState_, textStyle_, textData_, opacity_ }; in OnMeasureTextPathBounds()
|
H A D | rosen_render_svg_text.cpp | 151 SvgTextInfo svgTextInfo = { fillState_, strokeState_, textStyle_, text, opacity_ }; in OnDrawText() 161 SvgTextInfo svgTextInfo = { fillState_, strokeState_, textStyle_, text, opacity_ }; in OnMeasureTextBounds()
|
H A D | rosen_render_svg_path.cpp | 61 RosenSvgPainter::SetStrokeStyle(canvas, out, strokeState_, renderInfo); in Paint() 95 RosenSvgPainter::SetStrokeStyle(canvas, out, strokeState_, opacity_); in PaintDirectly()
|
H A D | render_svg_base.h | 72 return strokeState_; in GetStrokeState() 158 StrokeState strokeState_; variable
|
H A D | rosen_render_svg_polygon.cpp | 64 RosenSvgPainter::SetStrokeStyle(canvas, out, strokeState_, renderInfo); in Paint() 101 RosenSvgPainter::SetStrokeStyle(canvas, out, strokeState_, opacity_); in PaintDirectly()
|