Remove .gitignore do nothing is ignored.
[synfig.git] / synfig-docs / trunk / ca / steps / layers / using.sgml
1 <!-- retain these comments for translator revision tracking --> 
2 <!--$Id$ --> 
3 <sect2 id="using">
4 <title>Using</title> 
5 <para> However, there is still a problem: The gradient still covers the whole 
6 canvas althought we wanted it to be restricted on the rectangle. To do so, 
7 activate the gradient layer in the Layer tab. Now go to the Params Dialog (by 
8 default a tab in the Params-Children-Keyframes window), and search the attribute
9 called 'Blend Method'. Double-click the entry and select 'Onto' from the
10 appearing drop-down menu.</para>
11
12 <para>The gradient should now be restricted to the rectangle. Congratulations!
13 You just made your first interacting layers with Synfig.</para>
14
15 <para>If only for the additional organization, encapsulating layers into inline
16 canvases dramatically improves the ease of use of Synfig Studio. But
17 lots of programs can do this. The concept of scope as just demonstrated
18 sets Synfig apart from other programs with layer hierarchies.</para>
19 <para>
20 <footnote><para>The following remarks seem to be outdated already! A blur 
21 defaults to 'Straight' here (using SVN 110). --Claus 06:45, 11 Jan 2006 (PST)
22 </para></footnote>
23
24     <footnote><para>It defaulted to composite for me, as described (using 
25     SVN 147) Matumio 07:56, 12 Mar 2006 (PST)</para></footnote>
26
27     However, a layer can only modify the data that it gets from directly
28     below it. In other words, if you were to throw a Blur Layer at
29     the top of the objects inside the inline canvas we just created,
30     it would just blur them -- anything under it would not be blurred!</para>
31
32     <para>Lets try it. Add a few circles under the inline canvas we just
33     created. Expand the inline canvas to show its contents, and select
34     the top layer inside of it (should be the "Outline" layer). This
35     is where we want to insert the blur. Right click on the selected
36     layer and a popup menu will appear. The first item in that popup
37     is "New Layer". Inside of the "New Layer" menu, you'll see several
38     categories of layers you could create, but what we want is a blur,
39     so goto the Blur category and select the "Blur" layer. (so that
40     would be "New Layer->Blurs->Blur")</para>
41
42     <para> Well, it blurred... but something is not quite right--the inside edge
43     of the outline is now all soft, but it still kinda looks like there is
44     a hard edge on the outside. It is doing this because the blend method
45     of the blur defaulted to "Composite" (you can change the default
46     blend method for new layers from the New Layer Defaults section of
47     the Toolbox). What we want is a blend method of "Straight". Just
48     select the blur layer, and change the Blend Method to "Straight"
49     in the Params Dialog.</para>
50
51     <para>(NOTE: I will probably change the way that default blend methods are
52     handled in the future--as the way it is currently handled seems to
53     only create hassles like this)</para>
54
55     <para>Ok, now we have all of the contents of the inline canvas blurred,
56     but everything under it is sharp!</para> 
57 </sect2>