Adobe 26001360 Scripting Guide - Page 250
concatenate rotation matrix, Example 78.1
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 250 highlights
250 AppleScript Reference concatenate rotation matrix Concatenates a rotation angle together with a matrix and returns the resulting matrix. Table 4.111 concatenate rotation matrix - Parameters Parameters What it is Objects supported matrix angle real The first matrix The rotation angle in degrees • matrix Returns matrix Example 78.1 -- This script adds a 45 degree rotation to an existing matrix tell application "Illustrator CS" set someMatrix to get identity matrix set newMatrix to concatenate rotation matrix someMatrix angle 45.0 end tell concatenate scale matrix Concatenates a horizontal and/or vertical scaling with a matrix to form a single resulting matrix. Table 4.112 concatenate scale matrix - Parameters Parameters What it is Objects supported matrix [horizontal scale real] [vertical scale real] The first matrix The horizontal scaling factor, where 100.0 is 100% The vertical scaling factor, where 100.0 is 100% • matrix Returns matrix Example 79.1 -- This script combines a 75% horizontal scaling with an existing matrix tell application "Illustrator CS" set someMatrix to get identity matrix set newMatrix to concatenate scale matrix someMatrix ¬ horizontal scale 75 vertical scale 25.0 end tell 12 Aug 03