-
Notifications
You must be signed in to change notification settings - Fork 122
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
How to rotate text easily ? #639
Comments
I don't think dlangui features such a thing. I'm gonna have a closer look, but I don't think there's a solution out of hte box. Just to clarify, do you want a Widget (eg |
Either way is fine. If you think TextWidget is easier to implement, just do it first. In fact, C# WPF has a "transform" function, which can be applied to many widgets. But I guess that's more complicated to implement. |
I'm going to give this an enchancement label and I'll think about how to implement this. If you have ideas - I"ll be more than glad to accept a PR :) |
Maybe the 2 draw() functions in graphics/fonts.d, can be added with a "direction" parameter, but I still don't know how to realize. |
I have investigated a bit. |
If I draw a square MCU pad, with pins on 4 sides. Some pins I might want to label horizontally, others vertically. What's the best way to rotate text?
The text was updated successfully, but these errors were encountered: