Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1486

Help: Rainmeter Skins • Re: Help to assemble a formula

$
0
0
Any suggestions?
Yep. But even if the W and H options are valid on Bitmap meters, on these kind of meters they are used for something else then resizing it. Accordingly the only way to resize such a meter is by a TransformationMatrix option, which has to be added to the meter (to [MeterAnimation]). In this case the task is pretty simple, because the meter is placed "at the origin" (so to X=0 and Y=0) and this simplifies the option.
So, for first, add a [Variables] section and store the Scale variable into it, which obviously will set the scale of the meter (Scale=1 means the normal size, any lower value reduces the size of the meter):

Code:

[Variables]Scale=0.5
Obviously here Scale=0.5 is just an example, you can use any value you need. Just keep in mind that lower values then 1 reduces the size of the image, while larger values are increasing it. However if you're using a larger value, some additional things have to be added. since you've said you want to reduce the image, I don't add them now, but if you are interested, let me know and I'm gonna explain what I mean.
To resize the bitmap, add the following option to the [MeterAnimation] meter: TransformationMatrix=#Scale#;0;0;#Scale#;0;0. Note here that as said above, the second, third, fifth and sixth (last) parameters here are 0, but this just because the meter is placed to X=0 and Y=0. If you want to move the meter away, additional parameters are needed. Also let me know please, for further help, if you need this.

Statistics: Posted by balala — Yesterday, 7:03 pm



Viewing all articles
Browse latest Browse all 1486

Trending Articles