I have a shape meter that has 8 shapes, I want to scale all shapes together so they all follow the background size. I have 2 problems:
1.- I can't combine the shapes because they all have different attribute modifiers (colors) that are lost when combined.
2.- Using ([#W]/[&[#CurrentSection]:W]) and ([#H]/[&[#CurrentSection]:H]) on the Scale modifier is not scaling them properly.
So I'm looking for a way to scale them all together, so they all follow the background's W and H, and keep their positions and modifiers.
Example skin:
It is loggin Formula: Division by 0: (180/0) and Formula: Division by 0: (320/0). If you change W or H variables then it starts flickering from scale to default.
Note: The shapes were converted from a 320x180 svg.
1.- I can't combine the shapes because they all have different attribute modifiers (colors) that are lost when combined.
2.- Using ([#W]/[&[#CurrentSection]:W]) and ([#H]/[&[#CurrentSection]:H]) on the Scale modifier is not scaling them properly.
So I'm looking for a way to scale them all together, so they all follow the background's W and H, and keep their positions and modifiers.
Example skin:
Code:
[Rainmeter]Update=1000AccurateText=1DynamicWindowSize=1[Variables]W=320H=180[BG]Meter=ShapeShape=Rectangle 0,0,[#W],[#H] | Fill Color 091,091,091 | StrokeWidth 0DynamicVariables=1[Shapes]Meter=ShapeX=0Y=0Shape = Path Path1 | fill color 43, 43, 43 | StrokeWidth 0 | Extend ScaleShape2 = Path Path2 | fill color 58, 58, 58 | StrokeWidth 0 | Extend ScaleShape3 = Path Path3 | fill color 76, 76, 77 | StrokeWidth 0 | Extend ScalePath1 = 320, 141.4 | LineTo 320, 180 | LineTo 0, 180 | LineTo 0, 125.5 | CurveTo 40, 128, 8.2, 125.8, 19.5, 127.2 | CurveTo 130, 153, 92, 130, 87, 146 | CurveTo 258, 134, 173, 160, 184, 138 | CurveTo 320, 141.4, 282.5, 132.7, 303.2, 136.2 | ClosePath 1Path2 = 320, 101.6 | LineTo 320, 141.4 | CurveTo 258, 134, 303.2, 136.2, 282.5, 132.7 | CurveTo 130, 153, 184, 138, 173, 160 | CurveTo 40, 128, 87, 146, 92, 130 | CurveTo 0, 125.5, 19.5, 127.2, 8.2, 125.8 | LineTo 0, 96.3 | CurveTo 59.5, 76.5, 12.3, 87.8, 34.2, 75.8 | CurveTo 135.5, 107.5, 98.5, 77.5, 101.5, 107.5 | CurveTo 211.5, 79.5, 169.5, 107.5, 181.5, 90.5 | CurveTo 320, 101.6, 233.5, 71.5, 287, 84.8 | ClosePath 1Path3 = 320, 80 | LineTo 320, 101.6 | CurveTo 211.5, 79.5, 287, 84.8, 233.5, 71.5 | CurveTo 135.5, 107.5, 181.5, 90.5, 169.5, 107.5 | CurveTo 59.5, 76.5, 101.5, 107.5, 98.5, 77.5 | CurveTo 0, 96.3, 34.2, 75.8, 12.3, 87.8 | LineTo 0, 40 | CurveTo 103, 71, 27.2, 44.8, 64.7, 60.7 | CurveTo 166, 52, 166, 88, 148, 64 | CurveTo 251, 55, 184, 40, 227, 40 | CurveTo 320, 80, 267.8, 65.5, 292.4, 71.1 | ClosePath 1Scale= Scale ([#W]/[&[#CurrentSection]:W]),([#H]/[&[#CurrentSection]:H])DynamicVariables=1
Note: The shapes were converted from a 320x180 svg.
Statistics: Posted by RicardoTM — Yesterday, 2:51 pm — Replies 0 — Views 63