Skip to content

Updates coordinate system in TMP rect computations to text object's local space#27

Merged
kwan3854 merged 4 commits intomainfrom
v0.6.0
Jun 18, 2025
Merged

Updates coordinate system in TMP rect computations to text object's local space#27
kwan3854 merged 4 commits intomainfrom
v0.6.0

Conversation

@kwan3854
Copy link
Owner

Introduces breaking changes to unify the coordinate system for TMP_Text rects, ensuring returned Rect values are consistently in the local space of the text object's transform. Simplifies the rect computation logic by removing transform dependency for point calculation.

  • Modifies the rect calculation method, removing the transform point conversion
  • Updates documentation to reflect new coordinate system behavior
  • Increments package version to 0.6.0 to indicate the breaking change

Update implementations accordingly as the rects for TMP_Text objects now share the same local coordinate system.

kwan3854 added 4 commits June 18, 2025 10:04
Removes the redundant transform parameter from bounding rect methods,
enabling direct computation of local coordinates. Also updates comments
to reflect the new logic.
Clarifies that Rects are now returned in the text object's local space.
Highlights breaking changes from versions prior to 0.6.0.
Updates version reference to v0.6.0 for package installation.
Adds coordinate system and breaking change notices to README,
highlighting the change from Canvas to text object local space.
Updates package metadata for the next release cycle.
@kwan3854 kwan3854 merged commit e6a83f2 into main Jun 18, 2025
1 check passed
@kwan3854 kwan3854 deleted the v0.6.0 branch June 18, 2025 01:13
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.

1 participant