Difference between revisions of "Scale Layer"
From Synfig Studio :: Documentation
m (Proper categorization) |
m |
||
(21 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
<!-- Page info --> | <!-- Page info --> | ||
− | {{Title| | + | {{Title|Scale Layer}} |
− | + | {{Category|Layers}} | |
+ | {{Category|Transform}} | ||
+ | {{NewTerminology}} | ||
<!-- Page info end --> | <!-- Page info end --> | ||
− | |||
− | A | + | {{l|Image:Layer_transform_zoom_icon.png|64px}} |
+ | |||
+ | == About Scale Layers== | ||
+ | |||
+ | 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== | ||
+ | |||
+ | The parameters of the Scale Layers are: | ||
+ | |||
+ | {|border="0" align="none" style="border-collapse" cellpadding="3" cellspacing="0" | ||
+ | |-style="background:#c8c8c8" | ||
+ | |'''Name'''||'''Value'''||'''Type''' | ||
+ | |-style="background:#" | ||
+ | ||{{l|Image:Type_real_icon.png|16px}} {{l|Amount Parameter|Amount}} | ||
+ | ||1.000000 | ||
+ | ||real | ||
+ | |||
+ | |-style="background:#eeeeee" | ||
+ | ||{{l|Image:Type_vector_icon.png|16px}} {{l|Origin Parameter|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 {{l|Origin Parameter|Origin}} is the center of the scale. | ||
+ | |||
+ | |||
+ | ''In versions prior to 0.63.05 Scale Layer was called "Zoom layer".'' |
Latest revision as of 12:55, 26 February 2017
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 |
Amount | 1.000000 | real |
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".