InitialObjectDescriptor { objectDescriptorID 1 audioProfileLevelIndication 255 visualProfileLevelIndication 254 sceneProfileLevelIndication 1 graphicsProfileLevelIndication 1 ODProfileLevelIndication 1 esDescr [ ES_Descriptor { ES_ID 1 decConfigDescr DecoderConfigDescriptor { streamType 3 decSpecificInfo BIFSConfig { isCommandStream true pixelMetric true pixelWidth 400 pixelHeight 300 } } } ] } OrderedGroup { children [ Background2D { backColor 1 1 1 } WorldInfo { info ["This shows Form node" "with vertical alignment" "" "GPAC Regression Tests" "(C) 2002-2004 GPAC Team"] title "Form Test" } Transform2D { translation 0 75 children [ DEF FORM Shape { appearance Appearance { material Material2D { emissiveColor 0 0 0 } } geometry Rectangle { size 200 100 } } Transform2D { translation 0 -70 children [ Shape { appearance DEF APP Appearance { material Material2D { emissiveColor 0 0 0 filled TRUE } } geometry Text { string ["Constraints: AT AT 10"] fontStyle DEF FS FontStyle { justify ["MIDDLE"] size 16 } } } ] } Form { size 200 100 groups [1 -1 2 -1] constraints ["AT" "AT 10"] groupsIndex [0 1 -1 1 2 -1] children [ DEF S1 Shape { appearance Appearance { material Material2D { emissiveColor 1 0 0 filled TRUE } } geometry Rectangle { size 50 30 } } DEF S2 Shape { appearance Appearance { material Material2D { emissiveColor 0 1 0 filled TRUE } } geometry Circle { radius 20 } } ] } ] } Transform2D { translation 0 -75 children [ USE FORM Transform2D { translation 0 -70 children [ Shape { appearance USE APP geometry Text { string ["Constraints: AB AB 10"] fontStyle USE FS } } ] } Form { size 200 100 groups [1 -1 2 -1] constraints ["AB" "AB 10"] groupsIndex [0 1 -1 1 2 -1] children [ USE S1 USE S2 ] } ] } ] }