Browse Source

Add min/max lights to Rescale.

tags/v2.6.1
Andrew Belt 1 year ago
parent
commit
5ed7954416
2 changed files with 440 additions and 223 deletions
  1. +406
    -221
      res/Rescale.svg
  2. +34
    -2
      src/Rescale.cpp

+ 406
- 221
res/Rescale.svg View File

@@ -1,221 +1,406 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 27.8.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.0"
id="svg6589" xmlns:svg="http://www.w3.org/2000/svg" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="45px" height="380px"
viewBox="0 0 45 380" enable-background="new 0 0 45 380" xml:space="preserve">
<sodipodi:namedview bordercolor="#000000" borderopacity="0.25" id="namedview6591" inkscape:current-layer="svg6589" inkscape:cx="22.689988" inkscape:cy="190.22919" inkscape:deskcolor="#d1d1d1" inkscape:pagecheckerboard="0" inkscape:pageopacity="0.0" inkscape:showpageshadow="2" inkscape:window-height="1009" inkscape:window-maximized="1" inkscape:window-width="1920" inkscape:window-x="-8" inkscape:window-y="-8" inkscape:zoom="2.1815789" pagecolor="#ffffff" showgrid="false">
</sodipodi:namedview>
<g id="uuid-7ff80f40-97dc-492e-8d52-829bd0761691">
<linearGradient id="rect6480_00000091703291140784276480000009111270293998263951_" gradientUnits="userSpaceOnUse" x1="22.5" y1="381.27557" x2="22.5" y2="1.27557" gradientTransform="matrix(1 0 0 -1 0 381.27557)">
<stop offset="0" style="stop-color:#EBEBEB"/>
<stop offset="1" style="stop-color:#E1E1E1"/>
</linearGradient>
<rect id="rect6480" y="0" fill="url(#rect6480_00000091703291140784276480000009111270293998263951_)" width="45" height="380"/>
</g>
<g id="uuid-fd6320f7-8c0a-4368-9328-e3756adac1e4">
<path id="rect6483" fill="#1F1F1F" d="M11.05887,309.05634h22.88225c1.56553,0,2.83465,1.26913,2.83465,2.83466v33.48761
c0,1.56552-1.26912,2.83466-2.83465,2.83466H11.05887c-1.56553,0-2.83465-1.26913-2.83465-2.83466v-33.48761
C8.22422,310.32547,9.49334,309.05634,11.05887,309.05634z"/>
<g id="g6489">
<path id="path6485" fill="none" stroke="#1F1F1F" stroke-width="0.8" stroke-linecap="round" stroke-linejoin="round" d="
M13.92012,87.35089c-4.87734-2.91881-8.14264-8.25353-8.14264-14.35091c0-9.23,7.48239-16.71239,16.71239-16.71239
s16.71239,7.48239,16.71239,16.71239c0,6.06564-3.2314,11.37655-8.06662,14.30514"/>
<circle id="circle6487" fill="none" cx="22.5" cy="72.99995" r="20.69419"/>
</g>
<g id="g6495">
<path id="path6491" fill="none" stroke="#1F1F1F" stroke-width="0.8" stroke-linecap="round" stroke-linejoin="round" d="
M13.90998,141.41229c-4.87734-2.91881-8.14264-8.25352-8.14264-14.35091c0-9.23,7.48239-16.71239,16.71239-16.71239
s16.71239,7.48239,16.71239,16.71239c0,6.06564-3.2314,11.37656-8.06662,14.30515"/>
<circle id="circle6493" fill="none" cx="22.48986" cy="127.06135" r="20.69419"/>
</g>
<line id="line6497" fill="none" stroke="#1F1F1F" stroke-width="0.8" stroke-linecap="round" stroke-linejoin="round" x1="22.48986" y1="110.78674" x2="22.48986" y2="119.73803"/>
<line id="line6499" fill="none" stroke="#1F1F1F" stroke-width="0.8" stroke-linecap="round" stroke-linejoin="round" x1="22.48986" y1="56.2876" x2="22.48986" y2="65.2389"/>
<path id="path6501" fill="none" stroke="#1F1F1F" stroke-width="0.8" stroke-linecap="round" stroke-linejoin="round" d="
M15.30245,201.92113c-4.18524-2.51474-6.75324-7.05367-6.75324-11.93631c0-7.63919,6.28611-13.92529,13.9253-13.92529
s13.9253,6.28612,13.9253,13.92529c0,4.9171-2.60439,9.48308-6.83674,11.98608l-7.44259-12.12157"/>
<path id="path6503" fill="none" stroke="#1F1F1F" stroke-width="0.8" stroke-linecap="round" stroke-linejoin="round" d="
M29.56306,249.96669c4.23236-2.50301,6.83674-7.06898,6.83674-11.98608c0-7.63919-6.28611-13.92529-13.9253-13.92529
s-13.9253,6.28612-13.9253,13.92529c0,4.88264,2.568,9.42157,6.75324,11.93631l7.32949-12.51059"/>
<g id="g6513">
<circle id="circle6505" fill="#1F1F1F" cx="23.00165" cy="355.83102" r="1.1857"/>
<path id="path6507" fill="#1F1F1F" d="M14.35927,359.75299c-0.34551,0-0.66126-0.19519-0.8158-0.50418l-2.96428-5.92856
c-0.22526-0.45056-0.04266-0.99844,0.40794-1.22369c0.45008-0.22534,0.99831-0.04272,1.22366,0.4079l2.14848,4.29697
l2.14848-4.29697c0.22526-0.45056,0.77314-0.63324,1.22366-0.4079c0.45061,0.22525,0.63321,0.77313,0.40794,1.22369
l-2.96428,5.92856C15.02053,359.5578,14.70478,359.75299,14.35927,359.75299z"/>
<path id="path6509" fill="#1F1F1F" d="M30.64073,359.75299c-0.34551,0-0.66126-0.19519-0.8158-0.50418l-2.96428-5.92856
c-0.22526-0.45056-0.04266-0.99844,0.40794-1.22369c0.45016-0.22534,0.9984-0.04272,1.22366,0.4079l2.14848,4.29697
l2.14848-4.29697c0.22526-0.45056,0.77305-0.63324,1.22366-0.4079c0.45061,0.22525,0.63321,0.77313,0.40794,1.22369
l-2.96428,5.92856C31.30199,359.5578,30.98624,359.75299,30.64073,359.75299z"/>
<path id="path6511" fill="#1F1F1F" d="M22.94242,359.75299c-2.13744,0-3.87637-1.73892-3.87637-3.87637
s1.73893-3.87637,3.87637-3.87637c0.84653,0,1.65102,0.26819,2.32653,0.77554c0.40278,0.30252,0.48401,0.87427,0.18153,1.27704
c-0.30248,0.40274-0.87432,0.48401-1.2771,0.18149c-0.357-0.26816-0.78267-0.40991-1.23096-0.40991
c-1.13156,0-2.05219,0.92059-2.05219,2.05219s0.92064,2.05219,2.05219,2.05219c0.44829,0,0.87396-0.14175,1.23096-0.40991
c0.40269-0.3027,0.97444-0.22125,1.2771,0.18149c0.30248,0.40277,0.22125,0.97452-0.18153,1.27704
c-0.67551,0.50735-1.48,0.77554-2.32653,0.77554V359.75299z"/>
</g>
<line id="line12" fill="none" stroke="#1F1F1F" stroke-width="0.8" stroke-linecap="round" stroke-linejoin="round" x1="22.49994" y1="288.95596" x2="22.49994" y2="321.15515"/>
</g>
<g id="uuid-06d277f6-1463-4a4e-9530-518f7d72c0ea">
<g id="g6528">
<path id="path6516" fill="#1F1F1F" d="M5.38184,102.25439v-0.0166c0-1.64404,1.26855-3.02148,3.06348-3.02148
s3.04688,1.36084,3.04688,3.00488v0.0166c0,1.64453-1.26953,3.02148-3.06348,3.02148
C6.6338,105.25927,5.38184,103.89892,5.38184,102.25439z M10.41504,102.25439v-0.0166c0-1.13525-0.82617-2.07812-1.98633-2.07812
s-1.96973,0.92627-1.96973,2.06152v0.0166c0,1.13525,0.82617,2.06982,1.98633,2.06982S10.41504,103.38964,10.41504,102.25439z"/>
<path id="path6518" fill="#1F1F1F" d="M12.92188,99.83398c0-0.29199,0.22559-0.51758,0.51758-0.51758h3.40527
c0.25879,0,0.46777,0.20898,0.46777,0.46777s-0.20898,0.46729-0.46777,0.46729h-2.89648v1.59424h2.52148
c0.25879,0,0.4668,0.2085,0.4668,0.46729s-0.20801,0.46729-0.4668,0.46729h-2.52148v1.91162
c0,0.28369-0.22461,0.50879-0.50879,0.50879c-0.29199,0-0.51758-0.2251-0.51758-0.50879V99.834V99.83398z"/>
<path id="path6520" fill="#1F1F1F" d="M18.49609,99.83398c0-0.29199,0.22559-0.51758,0.51758-0.51758h3.40527
c0.25879,0,0.46777,0.20898,0.46777,0.46777s-0.20898,0.46729-0.46777,0.46729h-2.89648v1.59424h2.52148
c0.25879,0,0.4668,0.2085,0.4668,0.46729s-0.20801,0.46729-0.4668,0.46729h-2.52148v1.91162
c0,0.28369-0.22461,0.50879-0.50879,0.50879c-0.29199,0-0.51758-0.2251-0.51758-0.50879V99.834L18.49609,99.83398z"/>
<path id="path6522" fill="#1F1F1F" d="M23.88086,104.5083c-0.11621-0.0835-0.2002-0.22559-0.2002-0.39258
c0-0.26709,0.2168-0.47559,0.48438-0.47559c0.1416,0,0.2334,0.0415,0.30078,0.0918
c0.4834,0.38379,1.00098,0.60107,1.63574,0.60107c0.63379,0,1.03516-0.30078,1.03516-0.73486v-0.0166
c0-0.41699-0.23438-0.64258-1.31934-0.89307c-1.24316-0.30029-1.94434-0.66748-1.94434-1.74414v-0.01709
c0-1.00146,0.83496-1.69434,1.99512-1.69434c0.73438,0,1.32617,0.19238,1.85254,0.54297
c0.11719,0.06641,0.22559,0.2085,0.22559,0.40869c0,0.26709-0.21777,0.47559-0.48438,0.47559
c-0.10059,0-0.18359-0.0249-0.26758-0.07471c-0.4502-0.29248-0.88379-0.44238-1.34375-0.44238
c-0.60059,0-0.95117,0.30859-0.95117,0.69238v0.01709c0,0.45068,0.26758,0.65088,1.39355,0.91797
c1.23535,0.30029,1.87012,0.74268,1.87012,1.71094v0.0166c0,1.09375-0.85938,1.74463-2.08691,1.74463
c-0.79297,0-1.54395-0.25049-2.19531-0.73438L23.88086,104.5083z"/>
<path id="path6524" fill="#1F1F1F" d="M29.58691,104.6416v-4.80762c0-0.29199,0.22559-0.51758,0.51758-0.51758h3.39746
c0.25,0,0.45898,0.20898,0.45898,0.45947c0,0.2583-0.20898,0.45898-0.45898,0.45898h-2.88867v1.51904h2.5127
c0.25098,0,0.45898,0.2085,0.45898,0.46729c0,0.25049-0.20801,0.45068-0.45898,0.45068h-2.5127v1.56934h2.92969
c0.25098,0,0.45996,0.2085,0.45996,0.45898c0,0.25879-0.20898,0.45898-0.45996,0.45898h-3.43848
C29.8125,105.15917,29.58691,104.93358,29.58691,104.6416z"/>
<path id="path6526" fill="#1F1F1F" d="M36.86719,100.26807h-1.41895c-0.2666,0-0.47559-0.2168-0.47559-0.47559
s0.20898-0.47607,0.47559-0.47607h3.88184c0.25879,0,0.4668,0.21729,0.4668,0.47607s-0.20801,0.47559-0.4668,0.47559h-1.42773
v4.42383c0,0.28369-0.2334,0.50879-0.51758,0.50879c-0.2832,0-0.51758-0.2251-0.51758-0.50879
C36.8672,104.69189,36.8672,100.26807,36.86719,100.26807z"/>
</g>
<g id="g6538">
<path id="path6530" fill="#1F1F1F" d="M11.68457,48.20996v-0.0166c0-1.63574,1.25195-3.02148,3.01367-3.02148
c0.87598,0,1.45996,0.20898,1.99414,0.59277c0.10059,0.0752,0.20898,0.2168,0.20898,0.41748
c0,0.27539-0.22559,0.50879-0.50879,0.50879c-0.13379,0-0.23438-0.05811-0.31738-0.1167
c-0.37598-0.27539-0.78418-0.45898-1.41895-0.45898c-1.07715,0-1.89453,0.94287-1.89453,2.06152v0.0166
c0,1.20215,0.79297,2.08691,1.98633,2.08691c0.55078,0,1.05176-0.17529,1.41016-0.44238v-1.09375h-1.15137
c-0.25,0-0.45898-0.19189-0.45898-0.44238c0-0.25,0.20898-0.45068,0.45898-0.45068h1.62793
c0.29199,0,0.5166,0.22559,0.5166,0.51758v1.56104c0,0.29199-0.11621,0.50049-0.3584,0.65088
c-0.50098,0.33398-1.20215,0.63428-2.07812,0.63428c-1.82812,0-3.03027-1.30225-3.03027-3.00488L11.68457,48.20996z"/>
<path id="path6532" fill="#1F1F1F" d="M18.25586,50.44678l2.1709-4.84082c0.11621-0.25879,0.3252-0.41748,0.61719-0.41748h0.0498
c0.29199,0,0.49316,0.15869,0.60938,0.41748l2.16992,4.84082c0.04199,0.0752,0.05859,0.15039,0.05859,0.21729
c0,0.27539-0.20801,0.49219-0.48438,0.49219c-0.24121,0-0.4082-0.1416-0.5-0.35889l-0.47559-1.09326h-2.83789l-0.49316,1.12695
c-0.08301,0.2085-0.25879,0.3252-0.47559,0.3252c-0.2666,0-0.47559-0.2085-0.47559-0.47559
C18.18944,50.60547,18.21483,50.53028,18.25586,50.44678z M22.0791,48.79444l-1.02637-2.3623l-1.02734,2.3623
C20.02539,48.79444,22.0791,48.79444,22.0791,48.79444z"/>
<path id="path6534" fill="#1F1F1F" d="M25.16406,45.73975c0-0.28418,0.22559-0.50928,0.51758-0.50928
c0.28418,0,0.50879,0.2251,0.50879,0.50928v4.90771c0,0.28369-0.22461,0.50879-0.50879,0.50879
c-0.29199,0-0.51758-0.2251-0.51758-0.50879V45.73975z"/>
<path id="path6536" fill="#1F1F1F" d="M27.94141,45.75635c0-0.28369,0.22559-0.51758,0.51758-0.51758h0.1084
c0.25098,0,0.39258,0.125,0.53418,0.30029l2.92188,3.78125v-3.58887c0-0.27588,0.22461-0.50098,0.5-0.50098
c0.28418,0,0.50977,0.2251,0.50977,0.50098v4.90771c0,0.28369-0.2168,0.50879-0.50098,0.50879h-0.04199
c-0.24219,0-0.3916-0.125-0.53418-0.30859l-3.00488-3.88965v3.70605c0,0.27539-0.22461,0.50049-0.5,0.50049
c-0.28418,0-0.50977-0.2251-0.50977-0.50049v-4.89941L27.94141,45.75635z"/>
</g>
<g id="g6548">
<path id="path6540" fill="#1F1F1F" d="M6.44336,20.49121c0-0.5376,0.42578-0.96289,0.96387-0.96289h3.04004
c1.11377,0,1.97705,0.3125,2.55273,0.88818c0.48779,0.48779,0.75098,1.17627,0.75098,2.00195v0.0249
c0,1.37646-0.68848,2.22754-1.75195,2.66504l1.33887,1.62695c0.1875,0.2373,0.3125,0.4375,0.3125,0.73828
c0,0.5376-0.4502,0.88818-0.91309,0.88818c-0.43799,0-0.72559-0.21289-0.95117-0.50049l-1.87646-2.37744H8.37062v1.91455
c0,0.53809-0.42529,0.96338-0.96338,0.96338s-0.96387-0.42529-0.96387-0.96338v-6.90723L6.44336,20.49121z M10.32227,23.78223
c0.93848,0,1.47656-0.50049,1.47656-1.23877v-0.0249c0-0.82617-0.57568-1.25098-1.51416-1.25098H8.37061v2.51465H10.32227z"/>
<path id="path6542" fill="#1F1F1F" d="M15.44482,27.36084c-0.21289-0.15039-0.36279-0.42529-0.36279-0.72607
c0-0.5,0.40039-0.88818,0.90088-0.88818c0.25,0,0.42529,0.0874,0.55029,0.17529c0.66309,0.48779,1.38867,0.78809,2.23975,0.78809
c0.78809,0,1.26367-0.3125,1.26367-0.82568v-0.0249c0-0.48828-0.30029-0.73828-1.76416-1.11377
c-1.76416-0.45068-2.90283-0.93848-2.90283-2.67725v-0.02539c0-1.58887,1.27637-2.64014,3.06543-2.64014
c1.06348,0,1.98975,0.27539,2.77783,0.77588c0.21289,0.125,0.42529,0.3877,0.42529,0.76318
c0,0.50049-0.40039,0.88818-0.90088,0.88818c-0.1875,0-0.33789-0.0498-0.48779-0.1377
c-0.63818-0.375-1.23877-0.58789-1.83936-0.58789c-0.73828,0-1.12598,0.33789-1.12598,0.76367v0.02441
c0,0.57617,0.375,0.76367,1.88916,1.15137c1.77686,0.46289,2.77783,1.10107,2.77783,2.62793v0.02441
c0,1.73926-1.32617,2.71533-3.21582,2.71533c-1.15088,0-2.31445-0.3501-3.29053-1.05078L15.44482,27.36084z"/>
<path id="path6544" fill="#1F1F1F" d="M23.21387,23.93262v-0.02539c0-2.48975,1.87695-4.5293,4.56689-4.5293
c1.31396,0,2.20215,0.35059,2.92822,0.88867c0.2002,0.1499,0.375,0.4248,0.375,0.7627c0,0.52588-0.42529,0.93848-0.95068,0.93848
c-0.2627,0-0.43799-0.09961-0.57568-0.1875c-0.53809-0.40039-1.10107-0.62549-1.78906-0.62549
c-1.47656,0-2.54004,1.22607-2.54004,2.72754v0.0249c0,1.50146,1.03857,2.75293,2.54004,2.75293
c0.81299,0,1.35107-0.25049,1.90186-0.68848c0.1499-0.125,0.3501-0.2124,0.5752-0.2124c0.48828,0,0.90088,0.40039,0.90088,0.88818
c0,0.30029-0.1499,0.53809-0.3252,0.68848c-0.78809,0.68799-1.71387,1.10059-3.11523,1.10059
C25.12843,28.43653,23.21388,26.44727,23.21387,23.93262z"/>
<path id="path6546" fill="#1F1F1F" d="M32.90918,20.4165c0-0.53809,0.42578-0.96338,0.96387-0.96338
s0.96338,0.42529,0.96338,0.96338v6.11865h3.56592c0.48779,0,0.87598,0.3877,0.87598,0.87549s-0.38818,0.87598-0.87598,0.87598
h-4.5293c-0.53809,0-0.96387-0.42529-0.96387-0.96338V20.4165z"/>
</g>
<g id="g6556">
<path id="path6550" fill="#F0F0F0" d="M15.01318,316.55127v-0.01367c0-1.34814,1.06396-2.45264,2.52734-2.45264
s2.51318,1.09082,2.51318,2.43945v0.01318c0,1.34814-1.06348,2.45264-2.52686,2.45264S15.01317,317.89941,15.01318,316.55127z
M18.96289,316.55127v-0.01367c0-0.81299-0.5957-1.49023-1.43604-1.49023s-1.42285,0.66357-1.42285,1.47705v0.01318
c0,0.81299,0.59619,1.49072,1.43652,1.49072c0.83984,0,1.42236-0.66406,1.42236-1.47705H18.96289z"/>
<path id="path6552" fill="#F0F0F0" d="M21.13232,316.87646v-2.229c0-0.29102,0.23047-0.52148,0.52148-0.52148
c0.2915,0,0.52197,0.23047,0.52197,0.52148v2.20215c0,0.77197,0.38574,1.17188,1.02295,1.17188
c0.63672,0,1.02295-0.38623,1.02295-1.13818v-2.23584c0-0.29102,0.23047-0.52148,0.52148-0.52148
c0.2915,0,0.52197,0.23047,0.52197,0.52148v2.19531c0,1.43604-0.80615,2.14062-2.08008,2.14062
S21.13231,318.27197,21.13232,316.87646z"/>
<path id="path6554" fill="#F0F0F0" d="M27.61719,315.12842h-1.00244c-0.26416,0-0.48096-0.2168-0.48096-0.48096
s0.2168-0.48096,0.48096-0.48096h3.04834c0.26465,0,0.48145,0.2168,0.48145,0.48096s-0.2168,0.48096-0.48145,0.48096h-1.00244
v3.29932c0,0.2915-0.23047,0.52197-0.52197,0.52197c-0.29102,0-0.52148-0.23047-0.52148-0.52197
C27.6172,318.42773,27.6172,315.12842,27.61719,315.12842z"/>
</g>
<g id="g6562">
<path id="path6558" fill="#1F1F1F" d="M19.30615,266.60156c0-0.23047,0.18311-0.41309,0.41992-0.41309
c0.23047,0,0.41357,0.18262,0.41357,0.41309v3.9834c0,0.23047-0.18311,0.41357-0.41357,0.41357
c-0.23682,0-0.41992-0.18311-0.41992-0.41357V266.60156z"/>
<path id="path6560" fill="#1F1F1F" d="M21.61572,266.61523c0-0.23047,0.18311-0.41992,0.41992-0.41992h0.08838
c0.20312,0,0.31836,0.10156,0.43359,0.24365l2.37109,3.06885v-2.91309c0-0.22363,0.18262-0.40625,0.40625-0.40625
c0.23047,0,0.41309,0.18262,0.41309,0.40625v3.9834c0,0.23047-0.17578,0.41357-0.40625,0.41357h-0.03418
c-0.19629,0-0.31836-0.10156-0.43359-0.25049l-2.43848-3.15723v3.00781c0,0.22363-0.18311,0.40674-0.40674,0.40674
c-0.22998,0-0.41309-0.18311-0.41309-0.40674C21.61571,270.5918,21.61571,266.61523,21.61572,266.61523z"/>
</g>
<g id="g6570">
<path id="path6564" fill="#1F1F1F" d="M16.48438,215.25439c0-0.23047,0.18262-0.42041,0.41992-0.42041h0.08789
c0.18311,0,0.30518,0.09521,0.38623,0.22363l1.43652,2.24951l1.44287-2.25635c0.08789-0.14209,0.20996-0.2168,0.37939-0.2168
h0.08838c0.23682,0,0.41992,0.18994,0.41992,0.42041v3.97021c0,0.22998-0.18311,0.41309-0.41992,0.41309
c-0.22363,0-0.41357-0.18945-0.41357-0.41309v-2.8457l-1.15869,1.74121c-0.08789,0.13574-0.19629,0.2168-0.35205,0.2168
c-0.14893,0-0.25732-0.08105-0.3457-0.2168l-1.15137-1.72754v2.83887c0,0.22998-0.18311,0.40625-0.41357,0.40625
s-0.40625-0.17627-0.40625-0.40625C16.48438,219.23145,16.48438,215.25439,16.48438,215.25439z"/>
<path id="path6566" fill="#1F1F1F" d="M22.6377,215.24072c0-0.23047,0.18262-0.41357,0.41992-0.41357
c0.23047,0,0.41309,0.18311,0.41309,0.41357v3.98389c0,0.22998-0.18262,0.41309-0.41309,0.41309
c-0.2373,0-0.41992-0.18311-0.41992-0.41309V215.24072z"/>
<path id="path6568" fill="#1F1F1F" d="M24.94727,215.25439c0-0.23047,0.18262-0.42041,0.41992-0.42041h0.08789
c0.20361,0,0.31836,0.10156,0.43359,0.24414l2.37158,3.06934v-2.91357c0-0.22363,0.18262-0.40674,0.40625-0.40674
c0.23047,0,0.41357,0.18311,0.41357,0.40674v3.98389c0,0.23047-0.17627,0.41309-0.40674,0.41309h-0.03369
c-0.19678,0-0.31836-0.10156-0.43359-0.25098l-2.43896-3.15674v3.0083c0,0.22314-0.18311,0.40625-0.40674,0.40625
c-0.23047,0-0.41309-0.18311-0.41309-0.40625C24.94726,219.23145,24.94726,215.25439,24.94727,215.25439z"/>
</g>
<g id="g6578">
<path id="path6572" fill="#1F1F1F" d="M15.22412,167.27881c0-0.23047,0.18262-0.42041,0.41992-0.42041h0.08789
c0.18311,0,0.30518,0.09521,0.38623,0.22363l1.43652,2.24951l1.44287-2.25635c0.08838-0.14209,0.20996-0.2168,0.37939-0.2168
h0.08789c0.2373,0,0.42041,0.18994,0.42041,0.42041v3.97021c0,0.22998-0.18311,0.41309-0.42041,0.41309
c-0.22314,0-0.41309-0.18945-0.41309-0.41309v-2.8457l-1.1582,1.74121c-0.08838,0.13574-0.19678,0.2168-0.35254,0.2168
c-0.14893,0-0.25732-0.08105-0.3457-0.2168l-1.15137-1.72754v2.83887c0,0.22998-0.18311,0.40625-0.41357,0.40625
c-0.22998,0-0.40625-0.17627-0.40625-0.40625C15.22411,171.25586,15.22411,167.27881,15.22412,167.27881z"/>
<path id="path6574" fill="#1F1F1F" d="M20.97021,171.08594l1.76123-3.9292c0.09473-0.20996,0.26416-0.33887,0.50146-0.33887
h0.04053c0.2373,0,0.3999,0.12891,0.49463,0.33887l1.76172,3.9292c0.03369,0.06152,0.04736,0.12207,0.04736,0.17627
c0,0.22363-0.16943,0.3999-0.39307,0.3999c-0.19629,0-0.33203-0.11523-0.40674-0.2915l-0.38574-0.88721h-2.30371l-0.39941,0.91455
c-0.06787,0.16943-0.21045,0.26416-0.38623,0.26416c-0.2168,0-0.38623-0.16943-0.38623-0.38623
C20.91601,171.21484,20.93603,171.15381,20.97021,171.08594z M24.07324,169.74463l-0.8335-1.91748l-0.8335,1.91748
C22.40624,169.74463,24.07323,169.74463,24.07324,169.74463z"/>
<path id="path6576" fill="#1F1F1F" d="M26.60107,170.96436l1.40918-1.74805l-1.32764-1.646
c-0.06787-0.08838-0.12891-0.19678-0.12891-0.31201c0-0.22998,0.17627-0.40674,0.41309-0.40674
c0.17627,0,0.27783,0.06836,0.37939,0.20361l1.19922,1.57861l1.18555-1.55176c0.1084-0.14893,0.22363-0.23047,0.40674-0.23047
c0.18262,0,0.37939,0.14941,0.37939,0.37988c0,0.12207-0.04736,0.2168-0.12891,0.31836l-1.32764,1.65283l1.39551,1.74121
c0.06787,0.08838,0.12891,0.18994,0.12891,0.31201c0,0.22998-0.17627,0.40625-0.41357,0.40625
c-0.17627,0-0.27783-0.06787-0.37939-0.20312l-1.27344-1.66016l-1.25342,1.63281
c-0.11523,0.14941-0.22363,0.23047-0.40674,0.23047c-0.18945,0-0.37939-0.14941-0.37939-0.38623
C26.479,171.16064,26.52636,171.06592,26.60107,170.96436z"/>
</g>
</g>
<g id="uuid-7325cf2b-8eed-4c52-8f90-00d78380668c" inkscape:groupmode="layer" display="none">
<circle id="uuid-6b7de1fc-81ed-48d8-b84a-a17b442d19d7" display="inline" fill="#00FF00" cx="22.5" cy="286.00003" r="5"/>
<circle id="uuid-3762b4fd-9a93-41fd-a5a2-7ab915fc8aa6" display="inline" fill="#0000FF" cx="22.5" cy="334" r="5"/>
<circle id="uuid-e8d36fd9-e3da-406d-bbdd-3517776d0bd4" display="inline" fill="#00FF00" cx="22.5" cy="286" r="5"/>
<circle id="uuid-f4fb15da-ec19-4d2b-93e7-1806b325749d" display="inline" fill="#FF0000" cx="22.5" cy="72.99995" r="5"/>
<circle id="uuid-b94e1723-f3e2-45fb-9947-7db05befdb87" display="inline" fill="#FF0000" cx="22.48986" cy="127.06135" r="5"/>
<circle id="uuid-cd4dfb41-5aef-4ac0-9daf-2fb02d037e7c" display="inline" fill="#FF0000" cx="22.47665" cy="189.99173" r="5"/>
<circle id="uuid-447af012-8785-4df0-a7fb-37d82470eba6" display="inline" fill="#FF0000" cx="22.47619" cy="237.983" r="5"/>
</g>
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="45"
height="380"
viewBox="0 0 45 380"
version="1.1"
id="svg120"
sodipodi:docname="RESCALE.svg"
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview122"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
showgrid="false"
inkscape:zoom="1.8921053"
inkscape:cx="22.461752"
inkscape:cy="190"
inkscape:window-width="1920"
inkscape:window-height="1009"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="uuid-74e84abf-8e5d-407e-9a5d-d1bc6264c23e" />
<defs
id="defs7">
<linearGradient
id="uuid-f9628f16-3308-4e2b-b663-93ecfe510428"
x1="22.5"
y1="0"
x2="22.5"
y2="380"
gradientUnits="userSpaceOnUse">
<stop
offset="0"
stop-color="#ebebeb"
id="stop2" />
<stop
offset="1"
stop-color="#e1e1e1"
id="stop4" />
</linearGradient>
</defs>
<g
id="uuid-5771cbd1-e0d2-4f6d-9f31-39ca50b4dccc"
data-name="FND BG">
<rect
width="45"
height="380"
fill="url(#uuid-f9628f16-3308-4e2b-b663-93ecfe510428)"
stroke-width="0"
id="rect9" />
</g>
<g
id="uuid-b9fec7b1-0c72-498f-879d-a92e9614f56a"
data-name="FND GRAPH">
<rect
x="8.22422"
y="309.05634"
width="28.55155"
height="39.15691"
rx="2.83465"
ry="2.83465"
fill="#1f1f1f"
stroke-width="0"
id="rect12" />
<g
id="g18">
<path
d="m13.92012,87.35089c-4.87734-2.91881-8.14264-8.25353-8.14264-14.35091,0-9.23,7.48239-16.71239,16.71239-16.71239s16.71239,7.48239,16.71239,16.71239c0,6.06564-3.2314,11.37655-8.06662,14.30514"
fill="none"
stroke="#1f1f1f"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width=".8"
id="path14" />
<circle
cx="22.5"
cy="72.99995"
r="20.69419"
fill="none"
isolation="isolate"
opacity=".69"
stroke-width="0"
id="circle16" />
</g>
<g
id="g24">
<path
d="m13.90998,141.41229c-4.87734-2.91881-8.14264-8.25353-8.14264-14.35091,0-9.23,7.48239-16.71239,16.71239-16.71239s16.71239,7.48239,16.71239,16.71239c0,6.06564-3.2314,11.37655-8.06662,14.30514"
fill="none"
stroke="#1f1f1f"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width=".8"
id="path20" />
<circle
cx="22.48986"
cy="127.06135"
r="20.69419"
fill="none"
isolation="isolate"
opacity=".69"
stroke-width="0"
id="circle22" />
</g>
<line
x1="22.48986"
y1="110.78674"
x2="22.48986"
y2="119.73803"
fill="none"
stroke="#1f1f1f"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width=".8"
id="line26" />
<line
x1="22.48986"
y1="56.2876"
x2="22.48986"
y2="65.2389"
fill="none"
stroke="#1f1f1f"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width=".8"
id="line28" />
<path
d="m15.30245,201.92112c-4.18524-2.51474-6.75324-7.05367-6.75324-11.93631,0-7.63919,6.28611-13.9253,13.9253-13.9253s13.9253,6.28611,13.9253,13.9253c0,4.9171-2.60439,9.48308-6.83674,11.98609l-7.44259-12.12156"
fill="none"
stroke="#1f1f1f"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width=".8"
id="path30" />
<path
d="m29.56306,249.96669c4.23236-2.50301,6.83674-7.06899,6.83674-11.98609,0-7.63919-6.28611-13.9253-13.9253-13.9253s-13.9253,6.28611-13.9253,13.9253c0,4.88264,2.568,9.42157,6.75324,11.93631l7.32949-12.51059"
fill="none"
stroke="#1f1f1f"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width=".8"
id="path32" />
<g
id="g42">
<circle
cx="23.00165"
cy="355.83101"
r="1.18571"
fill="#1f1f1f"
stroke-width="0"
id="circle34" />
<path
d="m14.35927,359.75298c-.34551,0-.66126-.1952-.8158-.50419l-2.96428-5.92856c-.22526-.45057-.04266-.99844.40794-1.2237.45008-.22535.99831-.04271,1.22366.4079l2.14848,4.29696,2.14848-4.29696c.22526-.45057.77314-.63325,1.22366-.4079.45061.22526.63321.77314.40794,1.2237l-2.96428,5.92856c-.15454.30899-.47029.50419-.8158.50419Z"
fill="#1f1f1f"
stroke-width="0"
id="path36" />
<path
d="m30.64073,359.75298c-.34551,0-.66126-.1952-.8158-.50419l-2.96428-5.92856c-.22526-.45057-.04266-.99844.40794-1.2237.45016-.22535.9984-.04271,1.22366.4079l2.14848,4.29696,2.14848-4.29696c.22526-.45057.77305-.63325,1.22366-.4079.45061.22526.63321.77314.40794,1.2237l-2.96428,5.92856c-.15454.30899-.47029.50419-.8158.50419Z"
fill="#1f1f1f"
stroke-width="0"
id="path38" />
<path
d="m22.94242,359.75298c-2.13744,0-3.87637-1.73893-3.87637-3.87637s1.73893-3.87637,3.87637-3.87637c.84653,0,1.65102.26819,2.32653.77554.40278.30253.48401.87428.18153,1.27705-.30248.40273-.87432.48401-1.2771.18148-.357-.26815-.78267-.4099-1.23096-.4099-1.13156,0-2.05219.92059-2.05219,2.05219s.92064,2.05219,2.05219,2.05219c.44829,0,.87396-.14176,1.23096-.4099.40269-.30271.97444-.22125,1.2771.18148.30248.40278.22125.97453-.18153,1.27705-.67551.50735-1.48.77554-2.32653.77554Z"
fill="#1f1f1f"
stroke-width="0"
id="path40" />
</g>
</g>
<g
id="uuid-c8987d6d-c941-4d6a-b542-d89381de8a13"
data-name="FND TXT">
<g
id="g57">
<path
d="m5.38184,102.25439v-.0166c0-1.64404,1.26855-3.02148,3.06348-3.02148s3.04688,1.36084,3.04688,3.00488v.0166c0,1.64453-1.26953,3.02148-3.06348,3.02148-1.79492,0-3.04688-1.36035-3.04688-3.00488Zm5.0332,0v-.0166c0-1.13525-.82617-2.07812-1.98633-2.07812s-1.96973.92627-1.96973,2.06152v.0166c0,1.13525.82617,2.06982,1.98633,2.06982s1.96973-.91797,1.96973-2.05322Z"
fill="#1f1f1f"
stroke-width="0"
id="path45" />
<path
d="m12.92188,99.83398c0-.29199.22559-.51758.51758-.51758h3.40527c.25879,0,.46777.20898.46777.46777s-.20898.46729-.46777.46729h-2.89648v1.59424h2.52148c.25879,0,.4668.2085.4668.46729s-.20801.46729-.4668.46729h-2.52148v1.91162c0,.28369-.22461.50879-.50879.50879-.29199,0-.51758-.2251-.51758-.50879v-4.85791Z"
fill="#1f1f1f"
stroke-width="0"
id="path47" />
<path
d="m18.49609,99.83398c0-.29199.22559-.51758.51758-.51758h3.40527c.25879,0,.46777.20898.46777.46777s-.20898.46729-.46777.46729h-2.89648v1.59424h2.52148c.25879,0,.4668.2085.4668.46729s-.20801.46729-.4668.46729h-2.52148v1.91162c0,.28369-.22461.50879-.50879.50879-.29199,0-.51758-.2251-.51758-.50879v-4.85791Z"
fill="#1f1f1f"
stroke-width="0"
id="path49" />
<path
d="m23.88086,104.5083c-.11621-.0835-.2002-.22559-.2002-.39258,0-.26709.2168-.47559.48438-.47559.1416,0,.2334.0415.30078.0918.4834.38379,1.00098.60107,1.63574.60107.63379,0,1.03516-.30078,1.03516-.73486v-.0166c0-.41699-.23438-.64258-1.31934-.89307-1.24316-.30029-1.94434-.66748-1.94434-1.74414v-.01709c0-1.00146.83496-1.69434,1.99512-1.69434.73438,0,1.32617.19238,1.85254.54297.11719.06641.22559.2085.22559.40869,0,.26709-.21777.47559-.48438.47559-.10059,0-.18359-.0249-.26758-.07471-.4502-.29248-.88379-.44238-1.34375-.44238-.60059,0-.95117.30859-.95117.69238v.01709c0,.45068.26758.65088,1.39355.91797,1.23535.30029,1.87012.74268,1.87012,1.71094v.0166c0,1.09375-.85938,1.74463-2.08691,1.74463-.79297,0-1.54395-.25049-2.19531-.73438Z"
fill="#1f1f1f"
stroke-width="0"
id="path51" />
<path
d="m29.58691,104.6416v-4.80762c0-.29199.22559-.51758.51758-.51758h3.39746c.25,0,.45898.20898.45898.45947,0,.2583-.20898.45898-.45898.45898h-2.88867v1.51904h2.5127c.25098,0,.45898.2085.45898.46729,0,.25049-.20801.45068-.45898.45068h-2.5127v1.56934h2.92969c.25098,0,.45996.2085.45996.45898,0,.25879-.20898.45898-.45996.45898h-3.43848c-.29199,0-.51758-.22559-.51758-.51758Z"
fill="#1f1f1f"
stroke-width="0"
id="path53" />
<path
d="m36.86719,100.26807h-1.41895c-.2666,0-.47559-.2168-.47559-.47559s.20898-.47607.47559-.47607h3.88184c.25879,0,.4668.21729.4668.47607s-.20801.47559-.4668.47559h-1.42773v4.42383c0,.28369-.2334.50879-.51758.50879-.2832,0-.51758-.2251-.51758-.50879v-4.42383Z"
fill="#1f1f1f"
stroke-width="0"
id="path55" />
</g>
<g
id="g67">
<path
d="m11.68457,48.20996v-.0166c0-1.63574,1.25195-3.02148,3.01367-3.02148.87598,0,1.45996.20898,1.99414.59277.10059.0752.20898.2168.20898.41748,0,.27539-.22559.50879-.50879.50879-.13379,0-.23438-.05811-.31738-.1167-.37598-.27539-.78418-.45898-1.41895-.45898-1.07715,0-1.89453.94287-1.89453,2.06152v.0166c0,1.20215.79297,2.08691,1.98633,2.08691.55078,0,1.05176-.17529,1.41016-.44238v-1.09375h-1.15137c-.25,0-.45898-.19189-.45898-.44238,0-.25.20898-.45068.45898-.45068h1.62793c.29199,0,.5166.22559.5166.51758v1.56104c0,.29199-.11621.50049-.3584.65088-.50098.33398-1.20215.63428-2.07812.63428-1.82812,0-3.03027-1.30225-3.03027-3.00488Z"
fill="#1f1f1f"
stroke-width="0"
id="path59" />
<path
d="m18.25586,50.44678l2.1709-4.84082c.11621-.25879.3252-.41748.61719-.41748h.0498c.29199,0,.49316.15869.60938.41748l2.16992,4.84082c.04199.0752.05859.15039.05859.21729,0,.27539-.20801.49219-.48438.49219-.24121,0-.4082-.1416-.5-.35889l-.47559-1.09326h-2.83789l-.49316,1.12695c-.08301.2085-.25879.3252-.47559.3252-.2666,0-.47559-.2085-.47559-.47559,0-.0752.02539-.15039.06641-.23389Zm3.82324-1.65234l-1.02637-2.3623-1.02734,2.3623h2.05371Z"
fill="#1f1f1f"
stroke-width="0"
id="path61" />
<path
d="m25.16406,45.73975c0-.28418.22559-.50928.51758-.50928.28418,0,.50879.2251.50879.50928v4.90771c0,.28369-.22461.50879-.50879.50879-.29199,0-.51758-.2251-.51758-.50879v-4.90771Z"
fill="#1f1f1f"
stroke-width="0"
id="path63" />
<path
d="m27.94141,45.75635c0-.28369.22559-.51758.51758-.51758h.1084c.25098,0,.39258.125.53418.30029l2.92188,3.78125v-3.58887c0-.27588.22461-.50098.5-.50098.28418,0,.50977.2251.50977.50098v4.90771c0,.28369-.2168.50879-.50098.50879h-.04199c-.24219,0-.3916-.125-.53418-.30859l-3.00488-3.88965v3.70605c0,.27539-.22461.50049-.5.50049-.28418,0-.50977-.2251-.50977-.50049v-4.89941Z"
fill="#1f1f1f"
stroke-width="0"
id="path65" />
</g>
<g
id="g77">
<path
d="m6.44336,20.49121c0-.5376.42578-.96289.96387-.96289h3.04004c1.11377,0,1.97705.3125,2.55273.88818.48779.48779.75098,1.17627.75098,2.00195v.0249c0,1.37646-.68848,2.22754-1.75195,2.66504l1.33887,1.62695c.1875.2373.3125.4375.3125.73828,0,.5376-.4502.88818-.91309.88818-.43799,0-.72559-.21289-.95117-.50049l-1.87646-2.37744h-1.53906v1.91455c0,.53809-.42529.96338-.96338.96338s-.96387-.42529-.96387-.96338v-6.90723Zm3.87891,3.29102c.93848,0,1.47656-.50049,1.47656-1.23877v-.0249c0-.82617-.57568-1.25098-1.51416-1.25098h-1.91406v2.51465h1.95166Z"
fill="#1f1f1f"
stroke-width="0"
id="path69" />
<path
d="m15.44482,27.36084c-.21289-.15039-.36279-.42529-.36279-.72607,0-.5.40039-.88818.90088-.88818.25,0,.42529.0874.55029.17529.66309.48779,1.38867.78809,2.23975.78809.78809,0,1.26367-.3125,1.26367-.82568v-.0249c0-.48828-.30029-.73828-1.76416-1.11377-1.76416-.45068-2.90283-.93848-2.90283-2.67725v-.02539c0-1.58887,1.27637-2.64014,3.06543-2.64014,1.06348,0,1.98975.27539,2.77783.77588.21289.125.42529.3877.42529.76318,0,.50049-.40039.88818-.90088.88818-.1875,0-.33789-.0498-.48779-.1377-.63818-.375-1.23877-.58789-1.83936-.58789-.73828,0-1.12598.33789-1.12598.76367v.02441c0,.57617.375.76367,1.88916,1.15137,1.77686.46289,2.77783,1.10107,2.77783,2.62793v.02441c0,1.73926-1.32617,2.71533-3.21582,2.71533-1.15088,0-2.31445-.3501-3.29053-1.05078Z"
fill="#1f1f1f"
stroke-width="0"
id="path71" />
<path
d="m23.21387,23.93262v-.02539c0-2.48975,1.87695-4.5293,4.56689-4.5293,1.31396,0,2.20215.35059,2.92822.88867.2002.1499.375.4248.375.7627,0,.52588-.42529.93848-.95068.93848-.2627,0-.43799-.09961-.57568-.1875-.53809-.40039-1.10107-.62549-1.78906-.62549-1.47656,0-2.54004,1.22607-2.54004,2.72754v.0249c0,1.50146,1.03857,2.75293,2.54004,2.75293.81299,0,1.35107-.25049,1.90186-.68848.1499-.125.3501-.2124.5752-.2124.48828,0,.90088.40039.90088.88818,0,.30029-.1499.53809-.3252.68848-.78809.68799-1.71387,1.10059-3.11523,1.10059-2.57764,0-4.49219-1.98926-4.49219-4.50391Z"
fill="#1f1f1f"
stroke-width="0"
id="path73" />
<path
d="m32.90918,20.4165c0-.53809.42578-.96338.96387-.96338s.96338.42529.96338.96338v6.11865h3.56592c.48779,0,.87598.3877.87598.87549s-.38818.87598-.87598.87598h-4.5293c-.53809,0-.96387-.42529-.96387-.96338v-6.90674Z"
fill="#1f1f1f"
stroke-width="0"
id="path75" />
</g>
<g
id="g85">
<path
d="m15.01318,316.55127v-.01367c0-1.34814,1.06396-2.45264,2.52734-2.45264s2.51318,1.09082,2.51318,2.43945v.01318c0,1.34814-1.06348,2.45264-2.52686,2.45264s-2.51367-1.09082-2.51367-2.43896Zm3.94971,0v-.01367c0-.81299-.5957-1.49023-1.43604-1.49023s-1.42285.66357-1.42285,1.47705v.01318c0,.81299.59619,1.49072,1.43652,1.49072.83984,0,1.42236-.66406,1.42236-1.47705Z"
fill="#f0f0f0"
stroke-width="0"
id="path79" />
<path
d="m21.13232,316.87646v-2.229c0-.29102.23047-.52148.52148-.52148.2915,0,.52197.23047.52197.52148v2.20215c0,.77197.38574,1.17188,1.02295,1.17188.63672,0,1.02295-.38623,1.02295-1.13818v-2.23584c0-.29102.23047-.52148.52148-.52148.2915,0,.52197.23047.52197.52148v2.19531c0,1.43604-.80615,2.14062-2.08008,2.14062s-2.05273-.71143-2.05273-2.10693Z"
fill="#f0f0f0"
stroke-width="0"
id="path81" />
<path
d="m27.61719,315.12842h-1.00244c-.26416,0-.48096-.2168-.48096-.48096s.2168-.48096.48096-.48096h3.04834c.26465,0,.48145.2168.48145.48096s-.2168.48096-.48145.48096h-1.00244v3.29932c0,.2915-.23047.52197-.52197.52197-.29102,0-.52148-.23047-.52148-.52197v-3.29932Z"
fill="#f0f0f0"
stroke-width="0"
id="path83" />
</g>
<g
id="g91">
<path
d="m19.30615,266.60156c0-.23047.18311-.41309.41992-.41309.23047,0,.41357.18262.41357.41309v3.9834c0,.23047-.18311.41357-.41357.41357-.23682,0-.41992-.18311-.41992-.41357v-3.9834Z"
fill="#1f1f1f"
stroke-width="0"
id="path87" />
<path
d="m21.61572,266.61523c0-.23047.18311-.41992.41992-.41992h.08838c.20312,0,.31836.10156.43359.24365l2.37109,3.06885v-2.91309c0-.22363.18262-.40625.40625-.40625.23047,0,.41309.18262.41309.40625v3.9834c0,.23047-.17578.41357-.40625.41357h-.03418c-.19629,0-.31836-.10156-.43359-.25049l-2.43848-3.15723v3.00781c0,.22363-.18311.40674-.40674.40674-.22998,0-.41309-.18311-.41309-.40674v-3.97656Z"
fill="#1f1f1f"
stroke-width="0"
id="path89" />
</g>
<g
id="g99">
<path
d="m16.48438,215.25439c0-.23047.18262-.42041.41992-.42041h.08789c.18311,0,.30518.09521.38623.22363l1.43652,2.24951,1.44287-2.25635c.08789-.14209.20996-.2168.37939-.2168h.08838c.23682,0,.41992.18994.41992.42041v3.97021c0,.22998-.18311.41309-.41992.41309-.22363,0-.41357-.18945-.41357-.41309v-2.8457l-1.15869,1.74121c-.08789.13574-.19629.2168-.35205.2168-.14893,0-.25732-.08105-.3457-.2168l-1.15137-1.72754v2.83887c0,.22998-.18311.40625-.41357.40625s-.40625-.17627-.40625-.40625v-3.97705Z"
fill="#1f1f1f"
stroke-width="0"
id="path93" />
<path
d="m22.6377,215.24072c0-.23047.18262-.41357.41992-.41357.23047,0,.41309.18311.41309.41357v3.98389c0,.22998-.18262.41309-.41309.41309-.2373,0-.41992-.18311-.41992-.41309v-3.98389Z"
fill="#1f1f1f"
stroke-width="0"
id="path95" />
<path
d="m24.94727,215.25439c0-.23047.18262-.42041.41992-.42041h.08789c.20361,0,.31836.10156.43359.24414l2.37158,3.06934v-2.91357c0-.22363.18262-.40674.40625-.40674.23047,0,.41357.18311.41357.40674v3.98389c0,.23047-.17627.41309-.40674.41309h-.03369c-.19678,0-.31836-.10156-.43359-.25098l-2.43896-3.15674v3.0083c0,.22314-.18311.40625-.40674.40625-.23047,0-.41309-.18311-.41309-.40625v-3.97705Z"
fill="#1f1f1f"
stroke-width="0"
id="path97" />
</g>
<g
id="g107">
<path
d="m15.22412,167.27881c0-.23047.18262-.42041.41992-.42041h.08789c.18311,0,.30518.09521.38623.22363l1.43652,2.24951,1.44287-2.25635c.08838-.14209.20996-.2168.37939-.2168h.08789c.2373,0,.42041.18994.42041.42041v3.97021c0,.22998-.18311.41309-.42041.41309-.22314,0-.41309-.18945-.41309-.41309v-2.8457l-1.1582,1.74121c-.08838.13574-.19678.2168-.35254.2168-.14893,0-.25732-.08105-.3457-.2168l-1.15137-1.72754v2.83887c0,.22998-.18311.40625-.41357.40625-.22998,0-.40625-.17627-.40625-.40625v-3.97705Z"
fill="#1f1f1f"
stroke-width="0"
id="path101" />
<path
d="m20.97021,171.08594l1.76123-3.9292c.09473-.20996.26416-.33887.50146-.33887h.04053c.2373,0,.3999.12891.49463.33887l1.76172,3.9292c.03369.06152.04736.12207.04736.17627,0,.22363-.16943.3999-.39307.3999-.19629,0-.33203-.11523-.40674-.2915l-.38574-.88721h-2.30371l-.39941.91455c-.06787.16943-.21045.26416-.38623.26416-.2168,0-.38623-.16943-.38623-.38623,0-.06104.02002-.12207.0542-.18994Zm3.10303-1.34131l-.8335-1.91748-.8335,1.91748h1.66699Z"
fill="#1f1f1f"
stroke-width="0"
id="path103" />
<path
d="m26.60107,170.96436l1.40918-1.74805-1.32764-1.646c-.06787-.08838-.12891-.19678-.12891-.31201,0-.22998.17627-.40674.41309-.40674.17627,0,.27783.06836.37939.20361l1.19922,1.57861,1.18555-1.55176c.1084-.14893.22363-.23047.40674-.23047.18262,0,.37939.14941.37939.37988,0,.12207-.04736.2168-.12891.31836l-1.32764,1.65283,1.39551,1.74121c.06787.08838.12891.18994.12891.31201,0,.22998-.17627.40625-.41357.40625-.17627,0-.27783-.06787-.37939-.20312l-1.27344-1.66016-1.25342,1.63281c-.11523.14941-.22363.23047-.40674.23047-.18945,0-.37939-.14941-.37939-.38623,0-.11523.04736-.20996.12207-.31152Z"
fill="#1f1f1f"
stroke-width="0"
id="path105" />
</g>
</g>
<g
id="uuid-74e84abf-8e5d-407e-9a5d-d1bc6264c23e"
data-name="components"
style="display:none"
inkscape:groupmode="layer">
<circle
id="uuid-09a2a930-0a67-419b-9379-7a33e9925cf1"
data-name="Max#TinyLight"
cx="36.399811"
cy="169.19254"
r="1.5"
fill="#ff00ff"
stroke-width="0" />
<circle
id="uuid-7c854583-7a85-4f7f-a568-460fcb2412da"
data-name="Min#TinyLight"
cx="36.399811"
cy="217.20084"
r="1.5"
fill="#ff00ff"
stroke-width="0" />
<circle
id="uuid-710a8abe-72d8-48dd-8fa5-8691ea16648e"
data-name="In#PJ301MPort"
cx="22.5"
cy="286.00003"
r="5"
fill="#00ff00"
stroke-width="0" />
<circle
id="uuid-33153587-a540-4a33-9517-9aebd3e87806"
data-name="Out#PJ301MPort"
cx="22.5"
cy="334"
r="5"
fill="#0000ff"
stroke-width="0" />
<circle
id="uuid-3eef6b74-cb77-48ff-a68b-570af9e294f3"
data-name="In#PJ301MPort"
cx="22.5"
cy="286"
r="5"
fill="#00ff00"
stroke-width="0" />
<circle
id="uuid-07ddaaa2-2f04-483d-b82e-cb2b1f9b0a6b"
data-name="Gain#RoundBlackKnob"
cx="22.5"
cy="72.999947"
r="5"
fill="#ff0000"
stroke-width="0" />
<circle
id="uuid-59149c06-48ba-4af5-9ffc-5220c780f022"
data-name="Offset#RoundBlackKnob"
cx="22.489861"
cy="127.06135"
r="5"
fill="#ff0000"
stroke-width="0" />
<circle
id="uuid-c4fd1859-3b94-461a-8c5f-81218e6f071b"
data-name="Max#RoundSmallBlackKnob"
cx="22.47665"
cy="189.99173"
r="5"
fill="#ff0000"
stroke-width="0" />
<circle
id="uuid-786a2c7d-92ea-4d32-96b0-0922dae6feca"
data-name="Min#RoundSmallBlackKnob"
cx="22.476191"
cy="237.983"
r="5"
fill="#ff0000"
stroke-width="0" />
</g>
</svg>

+ 34
- 2
src/Rescale.cpp View File

@@ -18,12 +18,15 @@ struct Rescale : Module {
OUTPUTS_LEN
};
enum LightId {
ENUMS(MAX_LIGHT, 2),
ENUMS(MIN_LIGHT, 2),
LIGHTS_LEN
};

float multiplier = 1.f;
bool reflectMin = false;
bool reflectMax = false;
dsp::ClockDivider lightDivider;

Rescale() {
config(PARAMS_LEN, INPUTS_LEN, OUTPUTS_LEN, LIGHTS_LEN);
@@ -49,6 +52,8 @@ struct Rescale : Module {
configInput(IN_INPUT, "Signal");
configOutput(OUT_OUTPUT, "Signal");
configBypass(IN_INPUT, OUT_OUTPUT);

lightDivider.setDivision(16);
}

void onReset(const ResetEvent& e) override {
@@ -68,9 +73,24 @@ struct Rescale : Module {
float min = params[MIN_PARAM].getValue();
float max = params[MAX_PARAM].getValue();

bool maxLight = false;
bool minLight = false;
bool lightProcess = lightDivider.process();

for (int c = 0; c < channels; c += 4) {
float_4 x = inputs[IN_INPUT].getPolyVoltageSimd<float_4>(c);
x = x * gain + offset;
float_4 x = inputs[IN_INPUT].getVoltageSimd<float_4>(c);
x *= gain;
x += offset;

// Check lights
if (lightProcess) {
// Mask result for non factor of 4 channels.
int mask = 0xffff >> (16 - channels + c);
if (simd::movemask(x <= min) & mask)
minLight = true;
if (simd::movemask(x >= max) & mask)
maxLight = true;
}

if (max <= min) {
x = min;
@@ -100,6 +120,15 @@ struct Rescale : Module {
}

outputs[OUT_OUTPUT].setChannels(channels);

// Lights
if (lightProcess) {
float lightTime = args.sampleTime * lightDivider.getDivision();
lights[MAX_LIGHT + 0].setBrightnessSmooth(maxLight && (channels <= 1), lightTime);
lights[MAX_LIGHT + 1].setBrightnessSmooth(maxLight && (channels > 1), lightTime);
lights[MIN_LIGHT + 0].setBrightnessSmooth(minLight && (channels <= 1), lightTime);
lights[MIN_LIGHT + 1].setBrightnessSmooth(minLight && (channels > 1), lightTime);
}
}

json_t* dataToJson() override {
@@ -144,6 +173,9 @@ struct RescaleWidget : ModuleWidget {
addInput(createInputCentered<ThemedPJ301MPort>(mm2px(Vec(7.62, 96.859)), module, Rescale::IN_INPUT));

addOutput(createOutputCentered<ThemedPJ301MPort>(mm2px(Vec(7.62, 113.115)), module, Rescale::OUT_OUTPUT));

addChild(createLightCentered<TinyLight<YellowBlueLight<>>>(mm2px(Vec(12.327, 57.3)), module, Rescale::MAX_LIGHT));
addChild(createLightCentered<TinyLight<YellowBlueLight<>>>(mm2px(Vec(12.327, 73.559)), module, Rescale::MIN_LIGHT));
}

void appendContextMenu(Menu* menu) override {


Loading…
Cancel
Save