Bug 265281 - PathElement duplicates PathSegment definitions
Summary: PathElement duplicates PathSegment definitions
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: Safari 16
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kimmo Kinnunen
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-11-23 04:16 PST by Kimmo Kinnunen
Modified: 2023-11-23 04:47 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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