Skip to content

PAINTROID-759 Implement Text Tool #120

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

Amit-Matth
Copy link
Contributor

@Amit-Matth Amit-Matth commented Jun 4, 2025

This pull request introduces the new Text Tool and a completely revamped BoundingBox for easier and more powerful object editing. It also cleans up how shapes are handled.

PAINTROID-759

New Features and Enhancements

  • Added Text Tool: You can now add text to your drawings! The text can be moved, resized, and rotated using a new, more advanced bounding box.
  • Add comprehensive and reasonable tests for the Text Tool functionality.
  • Made the Bounding Box Smarter: The box that appears around shapes and text is now much better. It has new handles for easier rotation and for stretching edges, and it draws itself more clearly.

Refactorings and Bug Fixes

  • Modify the Bounding Box Code: The way the selection box (BoundingBox) works behind the scenes has been completely updated to support the new features and make it more reliable.
  • Simplified the Shapes Tool: The tool for drawing shapes now uses the new, smarter BoundingBox, making it simpler and more consistent with the Text Tool.
  • Cleaned up Shape Options: Removed the separate "rotate mode" button and rotate parameter for shapes because the new BoundingBox handles rotation more directly.
  • Updated Related Tests: Made sure all the tests for the BoundingBox are up-to-date with these big changes and that everything works as expected.

Checklist

Your checklist for this pull request

Please review the contributing guidelines and wiki pages of this repository.

  • Include the name of the Jira ticket in the PR’s title
  • Add the link to the ticket in Jira in the description of the PR
  • Include a summary of the changes plus the relevant context
  • Choose the proper base branch (develop)
  • Confirm that the changes follow the project’s coding guidelines (Wiki)
  • Verify that the changes generate no compiler or linter warnings
  • Perform a self-review of the changes
  • Verify to commit no other files than the intentionally changed ones
  • Include reasonable and readable tests verifying the added or changed behavior
  • Confirm that new and existing tests pass locally
  • Check that the commits’ message style matches the project’s guideline
  • Verify that your changes do not have any conflicts with the base branch
  • After the PR, verify that all CI checks have passed
  • Add new information to the Wiki

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