Bug 265281

Summary: PathElement duplicates PathSegment definitions
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: CanvasAssignee: Kimmo Kinnunen <kkinnunen>
Status: NEW ---    
Severity: Normal CC: dino, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 16   
Hardware: Unspecified   
OS: Unspecified   

Description Kimmo Kinnunen 2023-11-23 04:16:57 PST
PathElement duplicates PathSegment definitions

PathSegment could share MoveTo, LineTo, QuadTo, BezierTo, CloseSubPath with PathElement
Would make code operating on these simpler and more understandable.
Comment 1 Radar WebKit Bug Importer 2023-11-23 04:18:38 PST
<rdar://problem/118743258>
Comment 2 Kimmo Kinnunen 2023-11-23 04:47:13 PST
Pull request: https://github.com/WebKit/WebKit/pull/20845