Skip to content

feat(path): add CGPath roundedRect initializer and addRoundedRect - #15

Merged
Kyle-Ye merged 1 commit into
mainfrom
feature/path_shape
Nov 22, 2026
Merged

Kyle-Ye merged 1 commit into
mainfrom
feature/path_shape

Conversation

@Kyle-Ye

@Kyle-Ye Kyle-Ye commented Nov 22, 2026

Copy link
Copy Markdown
Member

Add rounded rectangle CGPath APIs matching CoreGraphics semantics:

  • Add CGPath(roundedRect:cornerWidth:cornerHeight:transform:) and CGPath.addRoundedRect(in:cornerWidth:cornerHeight:transform:).
  • Standardize input rectangles, validate corner dimensions against half-width and half-height, fall back to rectangle elements when either corner dimension is zero or the rectangle is null, and emit clockwise edges and cubic Bézier corner arcs matching CoreGraphics.
  • Add shared CGPathTests coverage across CoreGraphics and OpenCoreGraphics backends.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-22T06:46:37.651243Z b068e03 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.62%. Comparing base (9f247e2) to head (b068e03).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #15      +/-   ##
==========================================
+ Coverage   92.04%   92.62%   +0.58%     
==========================================
  Files          21       21              
  Lines        1395     1506     +111     
==========================================
+ Hits         1284     1395     +111     
  Misses        111      111              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Kyle-Ye
Kyle-Ye merged commit 9089c96 into main Nov 22, 2026
3 checks passed
@Kyle-Ye
Kyle-Ye deleted the feature/path_shape branch November 22, 2026 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants