[webkit-changes] [WebKit/WebKit] 119135: Add encoding and decoding support for BasicShape

Antoine Quint noreply at github.com
Tue Dec 13 09:42:23 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 119135cc02cd8471687431118bb9a36d6c36e12b
      https://github.com/WebKit/WebKit/commit/119135cc02cd8471687431118bb9a36d6c36e12b
  Author: Antoine Quint <graouts at apple.com>
  Date:   2022-12-13 (Tue, 13 Dec 2022)

  Changed paths:
    M Source/WebCore/Headers.cmake
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/css/BasicShapeFunctions.cpp
    M Source/WebCore/rendering/style/BasicShapes.cpp
    M Source/WebCore/rendering/style/BasicShapes.h
    M Source/WebCore/svg/SVGPathByteStream.h
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in

  Log Message:
  -----------
  Add encoding and decoding support for BasicShape
https://bugs.webkit.org/show_bug.cgi?id=249226

Reviewed by Alex Christensen.

* Source/WebCore/Headers.cmake:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/css/BasicShapeFunctions.cpp:
(WebCore::valueForCenterCoordinate):
(WebCore::basicShapeRadiusToCSSValue):
(WebCore::convertToCenterCoordinate):
(WebCore::cssValueToBasicShapeRadius):
(WebCore::floatValueForCenterCoordinate):
* Source/WebCore/rendering/style/BasicShapes.cpp:
(WebCore::BasicShapeCenterCoordinate::updateComputedLength):
(WebCore::BasicShapeCircle::create):
(WebCore::BasicShapeCircle::BasicShapeCircle):
(WebCore::BasicShapeCircle::floatValueForRadiusInBox const):
(WebCore::BasicShapeEllipse::create):
(WebCore::BasicShapeEllipse::BasicShapeEllipse):
(WebCore::BasicShapeEllipse::floatValueForRadiusInBox const):
(WebCore::BasicShapeEllipse::blend const):
(WebCore::BasicShapePolygon::create):
(WebCore::BasicShapePolygon::BasicShapePolygon):
(WebCore::BasicShapePath::create):
(WebCore::BasicShapePath::BasicShapePath):
(WebCore::BasicShapeInset::create):
(WebCore::BasicShapeInset::BasicShapeInset):
(WebCore::operator<<):
* Source/WebCore/rendering/style/BasicShapes.h:
(WebCore::BasicShapeCenterCoordinate::BasicShapeCenterCoordinate):
(WebCore::BasicShapeCenterCoordinate::blend const):
(WebCore::BasicShapeRadius::BasicShapeRadius):
(WebCore::BasicShapeRadius::canBlend const):
(WebCore::BasicShapeRadius::blend const):
* Source/WebCore/svg/SVGPathByteStream.h:
(WebCore::SVGPathByteStream::SVGPathByteStream):
(WebCore::SVGPathByteStream::data const):
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:

Canonical link: https://commits.webkit.org/257796@main




More information about the webkit-changes mailing list