Difference between revisions of "Scale Layer"

From Synfig Studio :: Documentation
Jump to: navigation, search
m (Parameters of Scale Layers: Terminology update : center parameter is now named Origin + Intra Links)
m
 
(7 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
{{Title|Scale Layer}}
 
{{Title|Scale Layer}}
 
{{Category|Layers}}
 
{{Category|Layers}}
 +
{{Category|Transform}}
 
{{NewTerminology}}
 
{{NewTerminology}}
 
<!-- Page info end -->
 
<!-- Page info end -->
Line 9: Line 10:
 
== About Scale Layers==
 
== About Scale Layers==
  
A Scale Layer scales the size of any primitive layers (regions, gradients, etc.) below it.
+
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.
  
 
==Parameters of Scale Layers==
 
==Parameters of Scale Layers==
Line 15: Line 16:
 
The parameters of the Scale Layers are:
 
The parameters of the Scale Layers are:
  
{|border="0" align="left" style="border-collapse"  cellpadding="3" cellspacing="0"  
+
{|border="0" align="none" style="border-collapse"  cellpadding="3" cellspacing="0"  
 
|-style="background:#c8c8c8"
 
|-style="background:#c8c8c8"
 
|'''Name'''||'''Value'''||'''Type'''   
 
|'''Name'''||'''Value'''||'''Type'''   
Line 28: Line 29:
 
||vector
 
||vector
 
|}
 
|}
<br/><br/><br/><br/><br/>
 
For ''Amount'', a positive value will scale up and a negative value will scale down.
 
A value of 1.0 will double the original size of the object. A value of 0.5 will increase the object by 50%. While a value of -1.0 will reduce an object to half its original size.
 
  
The {{l|Origin Parameter|Origin}} is the centre of the scale.
+
The Amount parameter may take the inverse of the exponential function (the natural log), as a raw value. For example:
 +
 
 +
* the natural log of 2.00 is 0.693147181, which up-scales to 200.0%
 +
* the natural log of 1.00 is 0.0, which scales by 0.0%
 +
* the natural log of 0.50 is -0.693147181, which down-scales to 50.0%
 +
* the natural log of 0.10 is -2.302585092994045, which down-scales to 10.0%
 +
* the natural log of 0.01 is -4.605170185988091, which down-scales to 1.0%
 +
The {{l|Origin Parameter|Origin}} is the center of the scale.
 +
 
  
 
   ''In versions prior to 0.63.05 Scale Layer was called "Zoom layer".''
 
   ''In versions prior to 0.63.05 Scale Layer was called "Zoom layer".''

Latest revision as of 12:55, 26 February 2017

Languages Language: 

English • čeština


Layer transform zoom icon.png

About Scale Layers

A "Scale Layer" scales the size of any primitive layers (regions, gradients, etc.) below it. "Scale Layer" is part of Transform Layers category.

Parameters of Scale Layers

The parameters of the Scale Layers are:

Name Value Type
Type real icon.png Amount 1.000000 real
Type vector icon.png Origin 0.000000u,0.000000u vector

The Amount parameter may take the inverse of the exponential function (the natural log), as a raw value. For example:

  • the natural log of 2.00 is 0.693147181, which up-scales to 200.0%
  • the natural log of 1.00 is 0.0, which scales by 0.0%
  • the natural log of 0.50 is -0.693147181, which down-scales to 50.0%
  • the natural log of 0.10 is -2.302585092994045, which down-scales to 10.0%
  • the natural log of 0.01 is -4.605170185988091, which down-scales to 1.0%

The Origin is the center of the scale.


 In versions prior to 0.63.05 Scale Layer was called "Zoom layer".


Languages Language: 

English • čeština