Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 68c99280815be0b90f3541350037619b33b0dd06
https://github.com/WebKit/WebKit/commit/68c99280815be0b90f3541350037619b33b0dd06
Author: Carlos Garcia Campos <[email protected]>
Date: 2024-02-20 (Tue, 20 Feb 2024)
Changed paths:
M Source/WebCore/platform/graphics/skia/PathSkia.cpp
M Source/WebCore/platform/graphics/skia/PathSkia.h
Log Message:
-----------
[Skia] Fix arcs when direction is counterclockwise or more than one arc is
added to the path
https://bugs.webkit.org/show_bug.cgi?id=269780
Reviewed by Adrian Perez de Castro.
We can't use SkPath::addOval() because it closes the path, so new arcs
added are not correctly handled. We also need to make the sweep angle
negative when direction is counterclockwise.
* 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/275034@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes