
742 Corel Painter X3 Getting Started Guide
The “-” may be used as an downto operator only when the last element of the left
operand is strictly greater than the first element of the right operand.
The left and right operands are both patterns of any length.
The expansion is the left operand concatenated with the descending sequence between
the last element of the left operand and the first element of the right operand,
concatenated with the rest of the right operand.
Downto wraps around on the domain. For example, 2 downto 7 expands to 2187.
The downto operator may be followed immediately (with no intervening characters) by
any number of tick marks ( ' ). A tick mark indicates to cycle through the domain before
running down to the right operand. The number of tick marks sets the number of
cycles.
TEMPLATE
The right and left operands are patterns of any length.
Template allows texturing (sub-articulation) of a master pattern (the left operand) with
a texture pattern (the right operand).
The first element of the template is taken as the root. All other elements in the template
sequence are considered with respect to their difference from the root. For example, if
342 is the template pattern, the first element (3) is the root (r). The second element (4)
is r+1, and the third element (2) is r-1. The template is then r, r+1, r-1.
Example Expansion
8-1 87654321
1-8-1 123456787654321
5-''1 543218765432187654321
567-321 567654321
2>1 21
13 downto'' 5812 132187654321876543218765812
Operator usage Short form
<pattern> template <pattern> temp, :
Komentáře k této Příručce