It is currently March 29th, 2024, 5:05 am

[D2D][Fixed] Roundline Distortion

Backwards compatibility issues related to the conversion of Rainmeter to D2D.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5384
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

[D2D][Fixed] Roundline Distortion

Post by eclectic-tech »

Elementary analog clock using Roundline meters is distorted in the latest alpha release...

v4.3.0.3225
analog4.3.png
v 4.2.0.3111
analog4.2.png
Brought variables in from the "settings.txt" file so standalone can be tested...

Code: Select all

[Rainmeter]
Update=1000

[Metadata]
Name=Elementary Analog
Author=Flying Hyrax | flyinghyrax.deviantart.com
Information=A simple analog clock in the Elementary style | - You can change the size of the clock using the "scalar" variable in "...\Skins\Elementary\@Resources\Settings.txt"
Version=2.0
License=CC BY-NC-SA 4.0 | http://creativecommons.org/licenses/by-nc-sa/4.0/

[Variables]
color=192,192,192
highlight=#color#
scalar=1
center=90
phi=0.618
second=(#center# * #phi# * #phi#)

[msrTimeHands]
Measure=Time

[styleRoundline]
StartAngle=4.712
RotationAngle=6.283
LineWidth=2
AntiAlias=1
X=#center#
Y=#center#
LineColor=#color#

[mtrBG]
Meter=IMAGE
X=0
Y=0
W=(#center# * 2)
H=(#center# * 2)
SolidColor=0,0,0,1
MouseScrollUpAction=[!WriteKeyValue Variables Scalar (Clamp(#Scalar#+0.1,1,13))][!Refresh]
MouseScrollDownAction=[!WriteKeyValue Variables Scalar (Clamp(#Scalar#-0.1,1,13))][!Refresh]
MiddleMouseUpAction=[!WriteKeyValue Variables Scalar 1][!Refresh]

[mtrRing]
Meter=ROUNDLINE
MeterStyle=styleRoundline
LineStart=(#second# - 4)
LineLength=(#second# - 2)
Solid=1

[mtrSecond]
Meter=ROUNDLINE
MeasureName=msrTimeHands
MeterStyle=styleRoundline
LineStart=#second#
LineLength=(#second# + 2)
LineColor=#highlight#
ValueRemainder=60
Solid=1

[mtrHour]
Meter=ROUNDLINE
MeasureName=msrTimeHands
MeterStyle=styleRoundline
LineStart=0
LineLength=(#center# * #phi#)
ValueRemainder=43200
Solid=0

[mtrMinute]
Meter=ROUNDLINE
MeasureName=msrTimeHands
MeterStyle=styleRoundline
LineStart=0
LineLength=#center#
ValueRemainder=3600
Solid=0
You do not have the required permissions to view the files attached to this post.
Last edited by eclectic-tech on August 10th, 2018, 3:30 am, edited 1 time in total.
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Roundline Distortion

Post by jsmorley »

Can you try the latest r3227 version in the first post of this thread?

Does that fix things for you?
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5384
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Roundline Distortion

Post by eclectic-tech »

V 4.3.0.3227 seems to have corrected it! :thumbup: