Skip to content
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

Text rotation fix #203

Merged
merged 4 commits into from
Nov 25, 2023
Merged

Text rotation fix #203

merged 4 commits into from
Nov 25, 2023

Conversation

DJGosnell
Copy link
Contributor

Description

Removed internal linking of the TextEntity.Rotation and TextEntity.AlignmentPoint properties.

Fixes issues with rotation adjusting AlignmentPoint and AlignmentPoint adjusting the rotations. After a bit of research, the AutoCad AlignmentPoint is the location where the text is to be inserted in conjunction with the VerticalAlignment and HorizontalAlignment. Based upon certain configurations of the enumns, either the InsertPoint or the AlignmentPoint is used to determine where the text is to be inserted. As far as I can tell, it does not have anything to do with the Rotation, at least as far as 2D goes. I do not have time to experiment with 3d rotations. Ref #86.

For reference, the InsertionPoints below are the bottom left grips while the AlignmentPoints are the other grips on the text.
image

Related Issues / Pull Requests

#81
#82

@DomCR
Copy link
Owner

DomCR commented Nov 20, 2023

We have a similar implementation for MText, do you know if this works the same for it?

Also there is this PR that you were working on #88, I think it may be closed if the fix is implemented in this one.

@DomCR DomCR linked an issue Nov 20, 2023 that may be closed by this pull request
@DomCR DomCR added the bug Something isn't working label Nov 20, 2023
@DomCR DomCR merged commit a8a50b4 into DomCR:master Nov 25, 2023
2 checks passed
@DomCR DomCR mentioned this pull request Mar 4, 2024
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3D rotation for Arc, Insert and TextEntity
2 participants