Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

vfoTransformFluidShape

vfoTransformFluidShape( 
(shapeObj vfoShapeData)
transform
) 
=> g_instance / nil

Description

Applies the transform to the given shapeData. This function modifies the given shapeData object and returns it.

Arguments

shapeObj

SKILL++ object of any subclass of vfoShapeData.

transform

The transform operation should be applied.

Value Returned

g_instance

Instance of the protocol class whose name is stored on the d_obj Pcell supermaster.

nil

Class object is not returned if the protocol class property is not set on the d_obj Pcell supermaster.

Example

transform ='((10 10) "R0" 1)
    => ((10 10) "R0" 1)
shapeData = vfoCreateShapeData("rect" '(0:0 10:10))
    => stdobj@0x148f51e0
vfoTransformFluidShape(shapeData transform)
    => stdobj@0x1b073050
shapeData~>??
    => (shapeType "rect" bBox
    ((10.0 10.0)
     (20.0 20.0)))

Return to top
 ⠀
X