I am not sure if this is a bug or not. Just report.
In Bar meter, when set BarImage= and ImageRotate= options, bar end is cut vertically as knife shape. See the attachment. Of course, this cut shape is not in Bar.png.
Same rotation in Image meter works fine. My Rainmeter version is 4.3.1.3321 (64-bit). And "Use hardware acceleration" option does not affect the result.
Sorry if I am missing something.
Last edited by mak_kawa on December 6th, 2019, 1:45 am, edited 1 time in total.
mak_kawa wrote: ↑December 6th, 2019, 12:46 am
I am not sure if this is a bug or not. Just report.
In Bar meter, when set BarImage= and ImageRotate= options, bar end is cut vertically as knife shape. See the attachment. Of course, this cut shape is not in Bar.png.
test.gif
Same rotation in Image meter works fine. My Rainmeter version is 4.3.1.3321 (64-bit). And "Use hardware acceleration" option does not affect the result.
Sorry if I am missing something.
That's because you are rotating the "image" but you can't rotate the Bar meter functionality.
I understand what you say, but honestly in fact maybe I don't understand exactly.
Anyway, this matter is not my serious problem at all. And there are some alternative methods like Shape and (possibly?) Rotator meters. So, I closed this thread.
mak_kawa wrote: ↑December 6th, 2019, 1:44 am
Hi jsmorley
Thank you for instant reply.
I understand what you say, but honestly in fact maybe I don't understand exactly.
Anyway, this matter is not my serious problem at all. And there are some alternative methods like Shape and (possibly?) Rotator meters. So, I closed this thread.
The thing to remember is that the Bar meter itself will always be a rectangle, defined by the starting W and H of the image that is in it. That won't change if you rotate the image inside the meter, it will still be a horizontal or vertical square or rectangle, that will be "revealed" to the point of the measure's percentage. That is why when you rotate that image 45 degrees, you get a "miter" of 45 degrees on the trailing edge. It's being cut off by meter itself.
It's possible you could do something with TransformationMatrix to achieve this. Not sure.