https://wiki.synfig.org/api.php?action=feedcontributions&user=Ugajin&feedformat=atomSynfig Studio :: Documentation - User contributions [en]2024-03-28T11:12:53ZUser contributionsMediaWiki 1.26.3https://wiki.synfig.org/index.php?title=Talk:Scale_Layer&diff=22340Talk:Scale Layer2016-10-31T14:02:25Z<p>Ugajin: Created page with "==Origin parameter== I note the entry for the Origin parameter reads: 'The Origin is the center of the scale.' This is not a well formed sentence, and seems confused. ~~Use..."</p>
<hr />
<div>==Origin parameter==<br />
<br />
I note the entry for the Origin parameter reads: 'The Origin is the center of the scale.' This is not a well formed sentence, and seems confused. ~~[[User:Example|ugajin]] 31 October 2016<br />
<br />
==Stretch primitive==<br />
<br />
It may help to include a note for users who may be looking for a scale primitive to be directed to the Stretch primitive. ~~[[User:Example|ugajin]] 31 October 2016<br />
<br />
==Primitive name(s) and menu locations==<br />
<br />
Re: ' In versions prior to 0.63.05 Scale Layer was called "Zoom layer".'. I feel re-naming 'Zoom Layer' as 'Scale Layer' was probably a mistake, and that the change ought to be reversed. Naming it 'Scale Layer' brings certain expectations about what it does, and how the primitive ought to behave, and give rise to confusion. Any expectations may be better met if the primitive is named 'Zoom Layer'. <br />
<br />
The Stretch primitive appears to operate more like a scale operation than Scale Layer. Stretch, may also be wrongly located in the Distortions sub-menu. However, relocating and/or re-naming Stretch e.g. as Scale and placing it in the Transform menu is probably not a good idea unless Scale Layer is e.g. re-named Zoom Layer.<br />
<br />
The Stretch primitive, both stretches and compresses content, and appears to behave as a 'Scale' layer would do. The user can scale content both x and/or y axes independently, and define a unit value. However, assuming one wanted to do so, it cannot easily be named Scale, if that name is already taken. ~~[[User:Example|ugajin]] 31 October 2016</div>Ugajinhttps://wiki.synfig.org/index.php?title=Scale_Layer&diff=22339Scale Layer2016-10-31T13:24:02Z<p>Ugajin: Made correction re: Amount parameter.</p>
<hr />
<div><!-- Page info --><br />
{{Title|Scale Layer}}<br />
{{Category|Layers}}<br />
{{NewTerminology}}<br />
<!-- Page info end --><br />
<br />
{{l|Image:Layer_transform_zoom_icon.png|64px}}<br />
<br />
== About Scale Layers==<br />
<br />
A {{Literal|Scale Layer}} scales the size of any {{l|Primitive Layer|primitive layers}} ({{l|Region Layer|regions}}, {{l|Layer#Gradients|gradients}}, etc.) below it. {{Literal|Scale Layer}} is part of {{l|Layers#Transform|Transform Layers}} category.<br />
<br />
==Parameters of Scale Layers==<br />
<br />
The parameters of the Scale Layers are:<br />
<br />
{|border="0" align="none" style="border-collapse" cellpadding="3" cellspacing="0" <br />
|-style="background:#c8c8c8"<br />
|'''Name'''||'''Value'''||'''Type''' <br />
|-style="background:#"<br />
||{{l|Image:Type_real_icon.png|16px}} {{l|Amount Parameter|Amount}}<br />
||1.000000<br />
||real<br />
<br />
|-style="background:#eeeeee"<br />
||{{l|Image:Type_vector_icon.png|16px}} {{l|Origin Parameter|Origin}}<br />
||0.000000u,0.000000u<br />
||vector<br />
|}<br />
<br />
The Amount parameter may take the inverse of the exponential function (the natural log), as a raw value. For example:<br />
<br />
* the natural log of 2.00 is 0.693147181, which up-scales to 200.0%<br />
* the natural log of 1.00 is 0.0, which scales by 0.0%<br />
* the natural log of 0.50 is -0.693147181, which down-scales to 50.0%<br />
* the natural log of 0.10 is -2.302585092994045, which down-scales to 10.0%<br />
* the natural log of 0.01 is -4.605170185988091, which down-scales to 1.0%<br />
The {{l|Origin Parameter|Origin}} is the center of the scale.<br />
<br />
<br />
''In versions prior to 0.63.05 Scale Layer was called "Zoom layer".''</div>Ugajin