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 300 pixelHeight 400 } } } ] } OrderedGroup { children [ Background2D { backColor 1 1 1 } WorldInfo { info ["This shows Form node" "with different horizontal spreads" "" "GPAC Regression Tests" "(C) 2002-2004 GPAC Team"] title "Form Test" } Transform2D { translation 0 130 children [ DEF FORM Shape { appearance Appearance { material Material2D { emissiveColor 0 0 0 } } geometry Rectangle { size 200 100 } } Transform2D { translation 0 -65 children [ Shape { appearance DEF APP Appearance { material Material2D { emissiveColor 0 0 0 filled TRUE } } geometry Text { string ["Constraints: AL SH 10"] fontStyle DEF FS FontStyle { justify ["MIDDLE"] size 16 } } } ] } Form { size 200 100 groups [1 -1 2 -1 3 -1] constraints ["AL" "SH 10"] groupsIndex [0 1 -1 1 2 3 -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 } } DEF S3 Shape { appearance Appearance { material Material2D { emissiveColor 0 0 1 filled TRUE } } geometry Rectangle { size 60 40 } } ] } ] } Transform2D { children [ USE FORM Transform2D { translation 0 -65 children [ Shape { appearance USE APP geometry Text { string ["Constraints: AL AR SH"] fontStyle USE FS } } ] } Form { size 200 100 groups [1 -1 2 -1 3 -1] constraints ["AL" "AR" "SH"] groupsIndex [0 1 -1 0 3 -1 1 2 3 -1] children [ USE S1 USE S2 USE S3 ] } ] } Transform2D { translation 0 -130 children [ Shape { appearance Appearance { material Material2D { emissiveColor 0 0 0 } } geometry Rectangle { size 110 100 } } Transform2D { translation 0 -65 children [ Shape { appearance USE APP geometry Text { string ["Constraints: SHin"] fontStyle USE FS } } ] } Form { size 110 100 groups [1 -1 2 -1] constraints ["SHin"] groupsIndex [1 2 -1] children [ Transform2D { children [ USE S1 USE S2 ] } USE S3 ] } ] } ] }