Yes, I forgot about that new section variable option balala...balala wrote: ↑October 29th, 2019, 7:40 am Just to simplify a little bit the expression (as Yincognito otherwise already posted), I definitely would rewrite the Shape=Rectangle 1,1,180,([Footer2:Y]+[Footer2:H]),5 | Fill Color 0,0,0,50 | StrokeWidth 2 | Extend StrokeAlpha option as Shape=Rectangle 1,1,180,[Footer2:YH],5 | Fill Color 0,0,0,50 | StrokeWidth 2 | Extend StrokeAlpha. It's practically the same thing, but it's shorter: https://docs.rainmeter.net/manual/variables/section-variables/#XWYH
It is currently October 13th, 2024, 7:48 am
Thread for help with the Shape meter
-
- Developer
- Posts: 22851
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Thread for help with the new Shape meter
-
- Rainmeter Sage
- Posts: 16651
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Thread for help with the new Shape meter
It happens to all of us from time to time.
-
- Rainmeter Sage
- Posts: 8442
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Thread for help with the new Shape meter
Yeah, I have to admit I didn't quite get why those [Meter:XW] and [Meter:YH] section variables were introduced in Rainmeter at the beginning (as one could always add X&W and Y&H respectively), but it turns out it helps a lot with simplifying things. If it did simplify things for a single meter (sl23's case), you can imagine how much it simplifies a Max() formula involving all the meters in a skin (assuming one needs the width and height of a skin that includes arbitrarily positioned and sized meters - like those in an animation, for example). The only thing that still complicates a bit calculating the dimensions of a true dynamic shape-based background is the padding, especially when it's not consistent throughout the skin's meters.
It was actually my first time using those section variables...
-
- Posts: 1831
- Joined: February 17th, 2011, 7:45 pm
- Location: a Galaxy S7 far far away
Re: Thread for help with the new Shape meter
Last edited by sl23 on August 23rd, 2024, 10:55 am, edited 1 time in total.
57686174 77696C6C 6265 77696C6C 6265
-
- Rainmeter Sage
- Posts: 8442
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
-
- Developer
- Posts: 22851
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Thread for help with the new Shape meter
No, it's Y+H...
-
- Posts: 1831
- Joined: February 17th, 2011, 7:45 pm
- Location: a Galaxy S7 far far away
Re: Thread for help with the new Shape meter
Last edited by sl23 on August 23rd, 2024, 10:56 am, edited 1 time in total.
57686174 77696C6C 6265 77696C6C 6265
-
- Developer
- Posts: 22851
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Thread for help with the new Shape meter
Oh sorry, I see what you are saying. No, that is not a "mathematical formula" in any sense of the word, but a "function" that we have implemented to combine the value of X and the value of W or the value of Y and the value of H. It is simply shorthand for X+W or Y+H.sl23 wrote: ↑October 29th, 2019, 2:49 pm I think you'll find I'm right
https://www.answers.com/Q/Letters_together_in_algebra
-
- Posts: 1831
- Joined: February 17th, 2011, 7:45 pm
- Location: a Galaxy S7 far far away
Re: Thread for help with the new Shape meter
Last edited by sl23 on August 23rd, 2024, 10:57 am, edited 1 time in total.
57686174 77696C6C 6265 77696C6C 6265
-
- Rainmeter Sage
- Posts: 16651
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Thread for help with the new Shape meter
No, it's not confusing at all. What jsmorley said is ok. [MyMeter:YH] means the vertical position of the meter, plus its height. This way you get the "end" (the coordinate of the lower edge) of the meter.
Mu multiplication.