home *** CD-ROM | disk | FTP | other *** search
- /*
- * Scale_Percent.ifx
- * Written by Thomas Krehbiel
- *
- * Scale by a percentage.
- *
- * Inputs:
- * Word(Arg(1),1) = Frame number (1 - N)
- * Word(Arg(1),2) = Main filename ("-" if not specified)
- * Word(Arg(1),3) = Swap filename ("-" if not specified)
- * Word(Arg(1),4) = Sequence number
- * Word(Arg(1),5) = Total number of frames (N)
- *
- * Returns:
- * 0 if successful, non-zero on failure
- *
- */
-
- OPTIONS RESULTS
-
- base = 'Autofx_ScalePct_'
-
- w = GETCLIP(base||'w')
- h = GETCLIP(base||'h')
-
- Scale w h PERCENT
- EXIT rc
-