/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/layout/svg/ |
H A D | layout_svg_ellipse.cc | 84 const SVGComputedStyle& svg_style = style.SvgStyle(); in CalculateRadiiAndCenter() local 86 length_context.ResolveLengthPair(svg_style.Cx(), svg_style.Cy(), style); in CalculateRadiiAndCenter() 89 float radius = length_context.ValueForLength(svg_style.R(), style, in CalculateRadiiAndCenter() 94 svg_style.Rx(), svg_style.Ry(), style)); in CalculateRadiiAndCenter() 95 if (svg_style.Rx().IsAuto()) in CalculateRadiiAndCenter() 97 else if (svg_style.Ry().IsAuto()) in CalculateRadiiAndCenter() 135 const SVGComputedStyle& svg_style = StyleRef().SvgStyle(); in HasContinuousStroke() local 136 return svg_style.StrokeDashArray()->data.IsEmpty(); in HasContinuousStroke()
|
H A D | layout_svg_rect.cc | 56 const SVGComputedStyle& svg_style = style.SvgStyle(); in UpdateShapeFromElement() local 69 FloatPoint radii(length_context.ResolveLengthPair(svg_style.Rx(), in UpdateShapeFromElement() 70 svg_style.Ry(), style)); in UpdateShapeFromElement() 78 length_context.ResolveLengthPair(svg_style.X(), svg_style.Y(), style), in UpdateShapeFromElement() 119 const SVGComputedStyle& svg_style = StyleRef().SvgStyle(); in DefinitelyHasSimpleStroke() local 137 return svg_style.StrokeDashArray()->data.IsEmpty() && in DefinitelyHasSimpleStroke() 138 svg_style.JoinStyle() == kMiterJoin && in DefinitelyHasSimpleStroke() 139 svg_style.StrokeMiterLimit() >= 1.5; in DefinitelyHasSimpleStroke()
|
H A D | svg_layout_tree_as_text.cc | 259 const SVGComputedStyle& svg_style = style.SvgStyle(); in WriteStyle() local 284 length_context.ValueForLength(svg_style.StrokeWidth()); in WriteStyle() 286 *svg_style.StrokeDashArray(), style, length_context); in WriteStyle() 288 WriteIfNotDefault(ts, "opacity", svg_style.StrokeOpacity(), 1.0f); in WriteStyle() 291 WriteIfNotDefault(ts, "line cap", svg_style.CapStyle(), kButtCap); in WriteStyle() 308 WriteIfNotDefault(ts, "opacity", svg_style.FillOpacity(), 1.0f); in WriteStyle() 339 const SVGComputedStyle& svg_style = style.SvgStyle(); in operator <<() local 343 length_context.ValueForLength(svg_style.X(), style, in operator <<() 346 length_context.ValueForLength(svg_style.Y(), style, in operator <<() 392 svg_style.D() ? *svg_style.D() : *StylePath::EmptyPath(); in operator <<() [all …]
|
H A D | layout_svg_shape.cc | 107 bool HasMiterJoinStyle(const SVGComputedStyle& svg_style) { in HasMiterJoinStyle() argument 108 return svg_style.JoinStyle() == kMiterJoin; in HasMiterJoinStyle() 110 bool HasSquareCapStyle(const SVGComputedStyle& svg_style) { in HasSquareCapStyle() argument 111 return svg_style.CapStyle() == kSquareCap; in HasSquareCapStyle() 132 const float miter = svg_style.StrokeMiterLimit(); in ApproximateStrokeBoundingBox() 133 if (miter < M_SQRT2 && HasSquareCapStyle(svg_style)) in ApproximateStrokeBoundingBox() 137 } else if (HasSquareCapStyle(svg_style)) { in ApproximateStrokeBoundingBox() 349 const SVGComputedStyle& svg_style = StyleRef().SvgStyle(); in HitTestShape() local 354 WindRule fill_rule = svg_style.FillRule(); in HitTestShape() 356 fill_rule = svg_style.ClipRule(); in HitTestShape() [all …]
|
H A D | layout_svg_resource_paint_server.cc | 71 const SVGComputedStyle& svg_style = style.SvgStyle(); in RequestPaint() local 73 apply_to_fill ? svg_style.FillPaint() : svg_style.StrokePaint(); in RequestPaint() 75 ? svg_style.InternalVisitedFillPaint() in RequestPaint() 76 : svg_style.InternalVisitedStrokePaint(); in RequestPaint()
|
H A D | svg_layout_support.cc | 416 const SVGComputedStyle& svg_style = layout_object.StyleRef().SvgStyle(); in ExtendTextBBoxWithStroke() local 417 if (svg_style.HasStroke()) { in ExtendTextBBoxWithStroke() 422 bounds.Inflate(length_context.ValueForLength(svg_style.StrokeWidth())); in ExtendTextBBoxWithStroke() 502 const SVGComputedStyle& svg_style = style.SvgStyle(); in ApplyStrokeStyleToStrokeData() local 506 length_context.ValueForLength(svg_style.StrokeWidth())); in ApplyStrokeStyleToStrokeData() 507 stroke_data.SetLineCap(svg_style.CapStyle()); in ApplyStrokeStyleToStrokeData() 508 stroke_data.SetLineJoin(svg_style.JoinStyle()); in ApplyStrokeStyleToStrokeData() 509 stroke_data.SetMiterLimit(svg_style.StrokeMiterLimit()); in ApplyStrokeStyleToStrokeData() 514 length_context.ValueForLength(svg_style.StrokeDashOffset(), style); in ApplyStrokeStyleToStrokeData() 534 const SVGComputedStyle& svg_style = style.SvgStyle(); in WillIsolateBlendingDescendantsForStyle() local [all …]
|
H A D | layout_svg_transformable_container.cc | 98 const SVGComputedStyle& svg_style = style.SvgStyle(); in CalculateLocalTransform() local 101 length_context.ResolveLengthPair(svg_style.X(), svg_style.Y(), style))); in CalculateLocalTransform()
|
H A D | svg_text_layout_engine_baseline.cc | 36 const SVGComputedStyle& svg_style = style.SvgStyle(); in CalculateBaselineShift() local 43 switch (svg_style.BaselineShift()) { in CalculateBaselineShift() 46 svg_style.BaselineShiftValue(), style, in CalculateBaselineShift()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/layout/svg/ |
H A D | layout_svg_ellipse.cc | 87 const SVGComputedStyle& svg_style = style.SvgStyle(); in CalculateRadiiAndCenter() local 89 length_context.ResolveLengthPair(svg_style.Cx(), svg_style.Cy(), style); in CalculateRadiiAndCenter() 92 float radius = length_context.ValueForLength(svg_style.R(), style, in CalculateRadiiAndCenter() 97 svg_style.Rx(), svg_style.Ry(), style)); in CalculateRadiiAndCenter() 98 if (svg_style.Rx().IsAuto()) in CalculateRadiiAndCenter() 100 else if (svg_style.Ry().IsAuto()) in CalculateRadiiAndCenter() 141 const SVGComputedStyle& svg_style = StyleRef().SvgStyle(); in HasContinuousStroke() local 142 return svg_style.StrokeDashArray()->data.IsEmpty(); in HasContinuousStroke()
|
H A D | layout_svg_shape.cc | 81 const auto& svg_style = StyleRef().SvgStyle(); in StyleDidChange() local 139 bool HasMiterJoinStyle(const SVGComputedStyle& svg_style) { in HasMiterJoinStyle() argument 140 return svg_style.JoinStyle() == kMiterJoin; in HasMiterJoinStyle() 143 return svg_style.CapStyle() == kSquareCap; in HasSquareCapStyle() 165 const float miter = svg_style.StrokeMiterLimit(); in ApproximateStrokeBoundingBox() 166 if (miter < M_SQRT2 && HasSquareCapStyle(svg_style)) in ApproximateStrokeBoundingBox() 170 } else if (HasSquareCapStyle(svg_style)) { in ApproximateStrokeBoundingBox() 235 const SVGComputedStyle& svg_style = style.SvgStyle(); in HasPaintServer() local 237 apply_to_fill ? svg_style.FillPaint() : svg_style.StrokePaint(); in HasPaintServer() 439 WindRule fill_rule = svg_style.FillRule(); in HitTestShape() [all …]
|
H A D | layout_svg_rect.cc | 58 const SVGComputedStyle& svg_style = style.SvgStyle(); in UpdateShapeFromElement() local 71 FloatPoint radii(length_context.ResolveLengthPair(svg_style.Rx(), in UpdateShapeFromElement() 72 svg_style.Ry(), style)); in UpdateShapeFromElement() 83 length_context.ResolveLengthPair(svg_style.X(), svg_style.Y(), style), in UpdateShapeFromElement() 127 const SVGComputedStyle& svg_style = StyleRef().SvgStyle(); in DefinitelyHasSimpleStroke() local 145 return svg_style.StrokeDashArray()->data.IsEmpty() && in DefinitelyHasSimpleStroke() 146 svg_style.JoinStyle() == kMiterJoin && in DefinitelyHasSimpleStroke() 147 svg_style.StrokeMiterLimit() >= 1.5; in DefinitelyHasSimpleStroke()
|
H A D | svg_layout_tree_as_text.cc | 296 const SVGComputedStyle& svg_style = style.SvgStyle(); in WriteStyle() local 306 if (WriteSVGPaint(ts, style, svg_style.StrokePaint(), in WriteStyle() 314 length_context.ValueForLength(svg_style.StrokeWidth()); in WriteStyle() 316 *svg_style.StrokeDashArray(), style, length_context); in WriteStyle() 318 WriteIfNotDefault(ts, "opacity", svg_style.StrokeOpacity(), 1.0f); in WriteStyle() 330 if (WriteSVGPaint(ts, style, svg_style.FillPaint(), in WriteStyle() 331 svg_style.InternalVisitedFillPaint(), "fill")) { in WriteStyle() 332 WriteIfNotDefault(ts, "opacity", svg_style.FillOpacity(), 1.0f); in WriteStyle() 363 const SVGComputedStyle& svg_style = style.SvgStyle(); in operator <<() local 416 svg_style.D() ? *svg_style.D() : *StylePath::EmptyPath(); in operator <<() [all …]
|
H A D | svg_layout_support.cc | 280 const SVGComputedStyle& svg_style = layout_object.StyleRef().SvgStyle(); in ExtendTextBBoxWithStroke() local 281 if (svg_style.HasStroke()) { in ExtendTextBBoxWithStroke() 286 bounds.Inflate(length_context.ValueForLength(svg_style.StrokeWidth())); in ExtendTextBBoxWithStroke() 338 const SVGComputedStyle& svg_style = style.SvgStyle(); in ApplyStrokeStyleToStrokeData() local 342 length_context.ValueForLength(svg_style.StrokeWidth())); in ApplyStrokeStyleToStrokeData() 343 stroke_data.SetLineCap(svg_style.CapStyle()); in ApplyStrokeStyleToStrokeData() 344 stroke_data.SetLineJoin(svg_style.JoinStyle()); in ApplyStrokeStyleToStrokeData() 345 stroke_data.SetMiterLimit(svg_style.StrokeMiterLimit()); in ApplyStrokeStyleToStrokeData() 348 ResolveSVGDashArray(*svg_style.StrokeDashArray(), style, length_context); in ApplyStrokeStyleToStrokeData() 350 length_context.ValueForLength(svg_style.StrokeDashOffset(), style); in ApplyStrokeStyleToStrokeData()
|
H A D | layout_svg_transformable_container.cc | 94 const SVGComputedStyle& svg_style = style.SvgStyle(); in CalculateLocalTransform() local 97 length_context.ResolveLengthPair(svg_style.X(), svg_style.Y(), style))); in CalculateLocalTransform()
|
H A D | svg_text_layout_engine_baseline.cc | 36 const SVGComputedStyle& svg_style = style.SvgStyle(); in CalculateBaselineShift() local 43 switch (svg_style.BaselineShift()) { in CalculateBaselineShift() 46 svg_style.BaselineShiftValue(), style, in CalculateBaselineShift()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/paint/ |
H A D | svg_object_painter.cc | 94 const SVGComputedStyle& svg_style = style.SvgStyle(); in PreparePaint() local 96 apply_to_fill ? svg_style.FillPaint() : svg_style.StrokePaint(); in PreparePaint() 98 apply_to_fill ? svg_style.FillOpacity() : svg_style.StrokeOpacity(); in PreparePaint() 109 apply_to_fill ? svg_style.InternalVisitedFillPaint() in PreparePaint() 110 : svg_style.InternalVisitedStrokePaint(); in PreparePaint()
|
H A D | svg_shape_painter.cc | 39 const SVGComputedStyle& svg_style) { in FillRuleFromStyle() argument 41 ? svg_style.ClipRule() in FillRuleFromStyle() 42 : svg_style.FillRule()); in FillRuleFromStyle() 67 const SVGComputedStyle& svg_style = in Paint() local 70 bool should_anti_alias = svg_style.ShapeRendering() != SR_CRISPEDGES && in Paint() 71 svg_style.ShapeRendering() != SR_OPTIMIZESPEED; in Paint() 74 switch (svg_style.PaintOrderType(i)) { in Paint() 83 FillRuleFromStyle(paint_info, svg_style)); in Paint() 87 if (svg_style.HasVisibleStroke()) { in Paint()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/svg/ |
H A D | svg_ellipse_element.cc | 75 const SVGComputedStyle& svg_style = style.SvgStyle(); in AsPath() local 78 length_context.ResolveLengthPair(svg_style.Rx(), svg_style.Ry(), style))); in AsPath() 79 if (svg_style.Rx().IsAuto()) in AsPath() 81 else if (svg_style.Ry().IsAuto()) in AsPath() 88 length_context.ResolveLengthPair(svg_style.Cx(), svg_style.Cy(), style)); in AsPath()
|
H A D | svg_rect_element.cc | 98 const SVGComputedStyle& svg_style = style.SvgStyle(); in AsPath() local 100 length_context.ResolveLengthPair(svg_style.X(), svg_style.Y(), style), in AsPath() 103 length_context.ResolveLengthPair(svg_style.Rx(), svg_style.Ry(), style)); in AsPath() 105 if (svg_style.Rx().IsAuto()) in AsPath() 107 else if (svg_style.Ry().IsAuto()) in AsPath()
|
H A D | svg_circle_element.cc | 67 const SVGComputedStyle& svg_style = style.SvgStyle(); in AsPath() local 69 float r = length_context.ValueForLength(svg_style.R(), style, in AsPath() 72 FloatPoint center(length_context.ResolveLengthPair(svg_style.Cx(), in AsPath() 73 svg_style.Cy(), style)); in AsPath()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/svg/ |
H A D | svg_ellipse_element.cc | 77 const SVGComputedStyle& svg_style = style.SvgStyle(); in AsPath() local 80 length_context.ResolveLengthPair(svg_style.Rx(), svg_style.Ry(), style))); in AsPath() 81 if (svg_style.Rx().IsAuto()) in AsPath() 83 else if (svg_style.Ry().IsAuto()) in AsPath() 90 length_context.ResolveLengthPair(svg_style.Cx(), svg_style.Cy(), style)); in AsPath()
|
H A D | svg_rect_element.cc | 99 const SVGComputedStyle& svg_style = style.SvgStyle(); in AsPath() local 101 length_context.ResolveLengthPair(svg_style.X(), svg_style.Y(), style), in AsPath() 104 length_context.ResolveLengthPair(svg_style.Rx(), svg_style.Ry(), style)); in AsPath() 106 if (svg_style.Rx().IsAuto()) in AsPath() 108 else if (svg_style.Ry().IsAuto()) in AsPath()
|
H A D | svg_circle_element.cc | 69 const SVGComputedStyle& svg_style = style.SvgStyle(); in AsPath() local 71 float r = length_context.ValueForLength(svg_style.R(), style, in AsPath() 74 FloatPoint center(length_context.ResolveLengthPair(svg_style.Cx(), in AsPath() 75 svg_style.Cy(), style)); in AsPath()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/paint/ |
H A D | svg_shape_painter.cc | 37 const SVGComputedStyle& svg_style) { in FillRuleFromStyle() argument 39 ? svg_style.ClipRule() in FillRuleFromStyle() 40 : svg_style.FillRule()); in FillRuleFromStyle() 68 const SVGComputedStyle& svg_style = in Paint() local 71 bool should_anti_alias = svg_style.ShapeRendering() != SR_CRISPEDGES && in Paint() 72 svg_style.ShapeRendering() != SR_OPTIMIZESPEED; in Paint() 75 switch (svg_style.PaintOrderType(i)) { in Paint() 85 FillRuleFromStyle(paint_state.GetPaintInfo(), svg_style)); in Paint() 89 if (svg_style.HasVisibleStroke()) { in Paint()
|
H A D | svg_object_painter.cc | 46 const SVGComputedStyle& svg_style = style.SvgStyle(); in PreparePaint() local 47 float alpha = resource_mode == kApplyToFillMode ? svg_style.FillOpacity() in PreparePaint() 48 : svg_style.StrokeOpacity(); in PreparePaint()
|