Skip to content

feat: added CenterOffset anchor and consolidated anchor types - #222

Open
Fliqqr wants to merge 3 commits into
linebender:mainfrom
Fliqqr:feat-custom-anchor
Open

feat: added CenterOffset anchor and consolidated anchor types#222
Fliqqr wants to merge 3 commits into
linebender:mainfrom
Fliqqr:feat-custom-anchor

Conversation

@Fliqqr

@Fliqqr Fliqqr commented May 30, 2026

Copy link
Copy Markdown
Contributor

Changes

  • consolidated all the various anchor types into a single VelloAnchor in common.rs
  • added helper methods to VelloAnchor to avoid redundancies
  • added CenterOffset(Vec2) anchor type to VelloAnchor which allows for custom offset from the center
  • added tests for CenterOffset anchor
  • added an example for CenterOffset anchor

Comment thread CHANGELOG.md
@Fliqqr
Fliqqr force-pushed the feat-custom-anchor branch from 35b0381 to 0111945 Compare May 30, 2026 17:53
@Fliqqr
Fliqqr requested a review from nuzzles May 30, 2026 17:57
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