-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
the text rotation (Cry for help) #505
Comments
Duplicate #61 If you want to rush this - you can give it a try implementing this yourself. Basically you need to rotate the CG matrix before drawing, and you need to rotate it also when calculating the "longest label width" - to consider the angle. |
I tried once, but seems I missed something, I rotate the text and the text is gone... Must miss something like anchor point |
I have just implemented this. Cheers :-) (And yes, it was a lot of sitting with a pen, drawing bounds and angles, and figuring out what goes where...) |
Thank you so much for yours attention to this problem. i Look forward to ,haha |
woooooow can't wait it and learn another lesson! The matrix is killing me :) |
The headache here is the anchor points. You want to draw the text rotated
|
old lable:
new lable effect:
how to rotate the label to Stand up to see more dates.
it‘s best to give a demo.
The text was updated successfully, but these errors were encountered: