It is currently March 28th, 2024, 8:12 pm

Need help with TransformationMatrix Scaler problem

Get help with creating, editing & fixing problems with skins
rakibdepu
Posts: 9
Joined: October 9th, 2020, 4:43 pm

Need help with TransformationMatrix Scaler problem

Post by rakibdepu »

Greetings to all,

As said in title i need help with scaling problem.

Here my skin zip file:
RClock.zip

Regards
rakibDepu



P.S: Sorry for my English.
You do not have the required permissions to view the files attached to this post.
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Need help with TransformationMatrix Scaler problem

Post by balala »

rakibdepu wrote: November 17th, 2020, 12:01 pm As said in title i need help with scaling problem.
If the problem is with the roundlines and the appropriate strings which are not moving when zou!re scrolling to enlarge / reduce the skin, zou have to add the #Scaler# factor to all X and Y options of all those Roundline and String meters. Something like this:

Code: Select all

[SDot]
...
X= (#RS#*#Scaler#*COS([ThetaS])+#Box#/2)
Y= (#RS#*#Scaler#*SIN([ThetaS])+#Box#/2)
...

[MDot]
...
X= (#RM#*#Scaler#*COS([ThetaM])+#Box#/2)
Y= (#RM#*#Scaler#*SIN([ThetaM])+#Box#/2)
...

[HDot]
...
X= (#RH#*#Scaler#*COS([ThetaH])+#Box#/2)
Y= (#RH#*#Scaler#*SIN([ThetaH])+#Box#/2)
...

[WDDot]
...
X= (#RWD#*#Scaler#*COS([ThetaWD])+#Box#/2)
Y= (#RWD#*#Scaler#*SIN([ThetaWD])+#Box#/2)
...

[DDot]
...
X= (#RD#*#Scaler#*COS([ThetaD])+#Box#/2)
Y= (#RD#*#Scaler#*SIN([ThetaD])+#Box#/2)
...

[MODot]
...
X= (#RMO#*#Scaler#*COS([ThetaMo])+#Box#/2)
Y= (#RMO#*#Scaler#*SIN([ThetaMo])+#Box#/2)
...

[SecondString]
...
X= (#RS#*#Scaler#*COS([ThetaS])+#Box#/2)
Y= (#RS#*#Scaler#*SIN([ThetaS])+#Box#/2-#FontSize#*0.7)
...

[MinutesString]
...
X= (#RM#*#Scaler#*COS([ThetaM])+#Box#/2)
Y= (#RM#*#Scaler#*SIN([ThetaM])+#Box#/2-#FontSize#*0.7)
...

[HoursString]
...
X= (#RH#*#Scaler#*COS([ThetaH])+#Box#/2)
Y= (#RH#*#Scaler#*SIN([ThetaH])+#Box#/2-#FontSize#*0.7)
...

[WeekDaysString]
...
X= (#RWD#*#Scaler#*COS([ThetaWD])+#Box#/2)
Y= (#RWD#*#Scaler#*SIN([ThetaWD])+#Box#/2-#FontSize#*0.7)
...

[DaysString]
...
X= (#RD#*#Scaler#*COS([ThetaD])+#Box#/2)
Y= (#RD#*#Scaler#*SIN([ThetaD])+#Box#/2-#FontSize#*0.7)
...

[MonthsString]
...
X= (#RMO#*#Scaler#*COS([ThetaMo])+#Box#/2)
Y= (#RMO#*#Scaler#*SIN([ThetaMo])+#Box#/2-#FontSize#*0.7)
...
rakibdepu
Posts: 9
Joined: October 9th, 2020, 4:43 pm

Re: Need help with TransformationMatrix Scaler problem

Post by rakibdepu »

its work
Thanks for the help.
rakibdepu
Posts: 9
Joined: October 9th, 2020, 4:43 pm

Re: Need help with TransformationMatrix Scaler problem

Post by rakibdepu »

Image and shape truncate while Zoom out . . .
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Need help with TransformationMatrix Scaler problem

Post by balala »

rakibdepu wrote: November 17th, 2020, 2:27 pm Image and shape truncate while Zoom out . . .
Could you please post a screenshot, because I can't figure out where?
rakibdepu
Posts: 9
Joined: October 9th, 2020, 4:43 pm

Re: Need help with TransformationMatrix Scaler problem

Post by rakibdepu »

Here is . . .
Screenshot.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Need help with TransformationMatrix Scaler problem

Post by balala »

rakibdepu wrote: November 17th, 2020, 3:41 pm Here is . . .
I see. Try to remove the TransformationMatrix option of the [Meter_Container] meter and add the Scaler variable directly to the Shape option, as it follows: Shape=Ellipse (#Box# / 2), (#Box# / 2), (#PicSize#*#Scaler# / 2), (#PicSize#*#Scaler# / 2) | Stroke Color FF000000 | Fill Color FF0000FF
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5382
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Need help with TransformationMatrix Scaler problem

Post by eclectic-tech »

rakibdepu wrote: November 17th, 2020, 3:41 pm Here is . . .
Beside the changes balala suggested above for the container and shape, you also need to make changes to the orbit and dot style sections in @Resources\Measures.inc...

Here is a package or your RClock skin that scales from 0.5 to 1.4; above 1.4 clipping starts and would require more changes to the initial positions of your meters to prevent.
rclock2.png
Hope this gives you enough scaling...
You do not have the required permissions to view the files attached to this post.