The title says it all...
I was wondering if there's is any way to place a text around a circle, or a section of it.
Any hint will be much appreciated.
Thank you in advance
It is currently October 19th, 2020, 9:19 pm
General topics related to Rainmeter.
4 posts • Page 1 of 1
- Posts: 21421
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Not really. You might be able to do something with TransformationMatrix, that, with some important limitations, could curve a string meter. To be honest though, my response has to be "no".
- Posts: 169
- Joined: July 8th, 2018, 8:05 pm
Yep, I did try first with transformation matrices, but I only get weird result,. some sort of "rotation/skewing" but the result are not even close to "follow an arc"...
Well, it will remain in my wish list for now then...
- Posts: 2760
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
As always, my answer is that it IS possible, and although it will be hugely inconvenient, the limitations mentioned by jsmorley regarding the mouse actions can quite easily be solved.
I'm on mobile now so can't post workable code, but what you'd do is:
- use single characters instead of a multi character string
- apply the appropriate position and Angle option on each String meter
- solve the limitations by using either a text height thick Roundline meter or a text height thick Arc Shape AS A CONTAINER, so that mouse actions are triggered only if it's over that container instead of the still horizontal rectangular "frames" of the meters holding the rotated characters
It will be a bit more difficult to properly design the rotation formulas and the character meters' positions, not to mention being much easier to either use single characters or the whole string to create a similar image in Photoshop that you can use in a similar way, but it is nevertheless possible without any drawbacks beside the huge inconvenience.