[webkit-changes] [WebKit/WebKit] cef2f7: [Skia] Implement canvas ellipse

Carlos Garcia Campos noreply at github.com
Mon Feb 19 05:36:53 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cef2f7b37e4a6819e0a83b24a053d0c4c6b4e855
      https://github.com/WebKit/WebKit/commit/cef2f7b37e4a6819e0a83b24a053d0c4c6b4e855
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2024-02-19 (Mon, 19 Feb 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/skia/PathSkia.cpp
    M Source/WebCore/platform/graphics/skia/PathSkia.h

  Log Message:
  -----------
  [Skia] Implement canvas ellipse
https://bugs.webkit.org/show_bug.cgi?id=269569

Reviewed by Nikolas Zimmermann.

Move the implementation from PathSkia::add(PathArc) to a new helper
method that can be used for PathSkia::add(PathEllipse). Also remove the
angle normalization, because angles are already normalized by
CanvasPath.

* Source/WebCore/platform/graphics/skia/PathSkia.cpp:
(WebCore::PathSkia::addEllipse):
(WebCore::PathSkia::add):
* Source/WebCore/platform/graphics/skia/PathSkia.h:

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list