txCopyFigSet
txCopyFigSet(T_srcFigSet l_transform) =>T_newFigSet/ nil
Description
Copies each figure from the source FigSet and applies to it the specified transform to create a new FigSet with an automatically generated name.
Arguments
Value Returned
Examples
Copies the source FigSet fs0 and applies to it the R90 transform to create a new FigSet fs1.
fs0 = txCreateFigSet(cv "fs0")
> tx@0x2c0295c0
txAppendObjectToFigSet(fs0 dbCreateRect(cv '(0 "drawing") '((0 0) (200 100))))
> t
fs1 = txCopyFigSet(fs0 '(((0 0) "R90")))
> tx@0x2c04f190
txGetFigSetData(fs1 0)~>bBox
> ((-100.0 0.0)
> (0.0 200.0)
> )
Related Topics
Return to top