You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to reproduce the behavior:
1.add a draw_node
2.use draw_text in draw node
3.apply the draw node a rotation matrix
4.only the text draw won't rotate,but other draws( lines, rects, circles, etc) is normal.
Expected behavior
the text draw should normally be rotate after applying the transform matrix to it's parent(draw_node)
Screenshots/Video
Standalone, minimal, complete and verifiable example
Depending on the use case, you might want for text to actually keep its orientation regardless of rotation 😂 (e.g. text labels). So there should probably be an option to control that.
With regards to implementation, the following discussion looks interesting: ocornut/imgui#1286
Honestly, I wouldn't count on it. DPG is in maintenance mode and no new features are expected. You (or anyone else for that matter) could implement it on your own, and open a pull request to merge into DPG.
This one is supposed to solve many (architectural) issues DPG has, but it will be a different library and a different API. With their main focus on Pilot Light, resources for DPG are limited.
Version: 1.10.1
Operating System: Windows 11
My Issue/Question
The text drew by dpg.draw_text cannot be rotate.
To Reproduce
Steps to reproduce the behavior:
1.add a draw_node
2.use draw_text in draw node
3.apply the draw node a rotation matrix
4.only the text draw won't rotate,but other draws( lines, rects, circles, etc) is normal.
Expected behavior
the text draw should normally be rotate after applying the transform matrix to it's parent(draw_node)
Screenshots/Video
Standalone, minimal, complete and verifiable example
The text was updated successfully, but these errors were encountered: