Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: f7d847c5baf3deec5e1fb251cdb93a960cad58f7 https://github.com/WebKit/WebKit/commit/f7d847c5baf3deec5e1fb251cdb93a960cad58f7 Author: Carlos Garcia Campos <cgar...@igalia.com> Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths: M Source/ThirdParty/skia/CMakeLists.txt M Source/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp M Source/WebCore/platform/graphics/skia/GraphicsContextSkia.h M Source/WebCore/platform/graphics/skia/PathSkia.cpp Log Message: ----------- [Skia] Implement PathSkia::strokeContains https://bugs.webkit.org/show_bug.cgi?id=269701 Reviewed by Adrian Perez de Castro. This patch adds GraphicsContextSkia::createStrokeStylePaint() that creates the SkPaint for stroke with only the stroke style state, because it's needed by PathSkia::strokeContains(). It also simplifies the dash line handling by creating the SkDashPathEffect when the line dash is set instead of when it's applied. * Source/ThirdParty/skia/CMakeLists.txt: * Source/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp: (WebCore::GraphicsContextSkia::createStrokeStylePaint const): (WebCore::GraphicsContextSkia::createStrokePaint const): (WebCore::GraphicsContextSkia::setLineDash): * Source/WebCore/platform/graphics/skia/GraphicsContextSkia.h: * Source/WebCore/platform/graphics/skia/PathSkia.cpp: (WebCore::PathSkia::strokeContains const): Canonical link: https://commits.webkit.org/274973@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes