-
-
Notifications
You must be signed in to change notification settings - Fork 85
/
fxscript.scroll
21 lines (18 loc) · 1.3 KB
/
fxscript.scroll
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import ../code/conceptPage.scroll
id fxscript
name FXScript
appeared 2002
tags pl
centralPackageRepositoryCount 0
country United States
originCommunity Apple
wikipedia https://en.wikipedia.org/wiki/FXScript
example
scale(Region, CenterOfScale, 0.5, 0.5);
blitrect(ImageBuffer, OrigRegion, Destination-Buffer, Region);
summary FXScript is a scripting language for Final Cut Pro and Final Cut Express. FXBuilder is the scripting utility in which users are able to modify existing FCP FXScripts or program completely new ones. For example, to scale an image, only two lines are necessary to scale an image from its full size to half size: scale(Region, CenterOfScale, 0.5, 0.5); blitrect(ImageBuffer, OrigRegion, Destination-Buffer, Region); First the region, which might be a rectangle, is scaled by the statement scale and its parameters. Then the statement blitrect copies a region of an image into a changed region. When the OrigRegion and the new Region have different sizes, Final Cut Pro scales the image to fit into the new region. A Statement is a command that accomplishes a single action. In our example, the statements are scale and blitrect. In FXBuilder users can create and test FXScripts, optionally in multiple windows.
created 2010
backlinksCount 4
pageId 27720109
revisionCount 9
dailyPageViews 2