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 500 pixelHeight 500 } } } ] } OrderedGroup { children [ Background2D { backColor 1 1 1 } WorldInfo { info ["This shows Layout node" "performing different vertical justification" "going bottom to top with column wrap" "in direction right to left and 1.1 column spacing" "" "GPAC Regression Tests" "(C) 2002-2004 GPAC Team"] title "Layout Test" } Transform2D { translation -170 160 children [ DEF BOUNDS Shape { appearance Appearance { material Material2D { emissiveColor 0 0 0 } } geometry Rectangle { size 150 100 } } Transform2D { translation 0 -70 children [ Shape { appearance DEF APPTEXT Appearance { material Material2D { emissiveColor 0 0 0 filled TRUE } } geometry Text { string ["Alignment" "BEGIN BEGIN"] fontStyle DEF FS FontStyle { justify ["MIDDLE"] size 16 } } } ] } Layout { wrap TRUE size 150 100 horizontal FALSE justify ["BEGIN" "BEGIN"] leftToRight FALSE topToBottom FALSE spacing 1.1 children [ DEF S1 Shape { appearance Appearance { material Material2D { emissiveColor 1 0 0 filled TRUE } } geometry Rectangle { size 50 50 } } DEF S2 Shape { appearance USE APPTEXT geometry Text { string ["Sample Text"] fontStyle USE FS } } DEF S3 Shape { appearance Appearance { material Material2D { emissiveColor 0 1 0 filled TRUE } } geometry Circle { radius 25 } } DEF S4 Shape { appearance USE APPTEXT geometry Text { string ["#2"] fontStyle USE FS } } ] } ] } Transform2D { translation 0 160 children [ USE BOUNDS Transform2D { translation 0 -70 children [ Shape { appearance USE APPTEXT geometry Text { string ["Alignment" "BEGIN MIDDLE"] fontStyle USE FS } } ] } Layout { wrap TRUE size 150 100 horizontal FALSE justify ["BEGIN" "MIDDLE"] leftToRight FALSE topToBottom FALSE spacing 1.1 children [ USE S1 USE S2 USE S3 USE S4 ] } ] } Transform2D { translation 170 160 children [ USE BOUNDS Transform2D { translation 0 -70 children [ Shape { appearance USE APPTEXT geometry Text { string ["Alignment" "BEGIN END"] fontStyle USE FS } } ] } Layout { wrap TRUE size 150 100 horizontal FALSE justify ["BEGIN" "END"] leftToRight FALSE topToBottom FALSE spacing 1.1 children [ USE S1 USE S2 USE S3 USE S4 ] } ] } Transform2D { translation -170 0 children [ USE BOUNDS Transform2D { translation 0 -70 children [ Shape { appearance USE APPTEXT geometry Text { string ["Alignment" "MIDDLE BEGIN"] fontStyle USE FS } } ] } Layout { wrap TRUE size 150 100 horizontal FALSE justify ["MIDDLE" "BEGIN"] leftToRight FALSE topToBottom FALSE spacing 1.1 children [ USE S1 USE S2 USE S3 USE S4 ] } ] } Transform2D { children [ USE BOUNDS Transform2D { translation 0 -70 children [ Shape { appearance USE APPTEXT geometry Text { string ["Alignment" "MIDDLE MIDDLE"] fontStyle USE FS } } ] } Layout { wrap TRUE size 150 100 horizontal FALSE justify ["MIDDLE" "MIDDLE"] leftToRight FALSE topToBottom FALSE spacing 1.1 children [ USE S1 USE S2 USE S3 USE S4 ] } ] } Transform2D { translation 170 0 children [ USE BOUNDS Transform2D { translation 0 -70 children [ Shape { appearance USE APPTEXT geometry Text { string ["Alignment" "MIDDLE END"] fontStyle USE FS } } ] } Layout { wrap TRUE size 150 100 horizontal FALSE justify ["MIDDLE" "END"] leftToRight FALSE topToBottom FALSE spacing 1.1 children [ USE S1 USE S2 USE S3 USE S4 ] } ] } Transform2D { translation -170 -160 children [ USE BOUNDS Transform2D { translation 0 -70 children [ Shape { appearance USE APPTEXT geometry Text { string ["Alignment" "END BEGIN"] fontStyle USE FS } } ] } Layout { wrap TRUE size 150 100 horizontal FALSE justify ["END" "BEGIN"] leftToRight FALSE topToBottom FALSE spacing 1.1 children [ USE S1 USE S2 USE S3 USE S4 ] } ] } Transform2D { translation 0 -160 children [ USE BOUNDS Transform2D { translation 0 -70 children [ Shape { appearance USE APPTEXT geometry Text { string ["Alignment" "END MIDDLE"] fontStyle USE FS } } ] } Layout { wrap TRUE size 150 100 horizontal FALSE justify ["END" "MIDDLE"] leftToRight FALSE topToBottom FALSE spacing 1.1 children [ USE S1 USE S2 USE S3 USE S4 ] } ] } Transform2D { translation 170 -160 children [ USE BOUNDS Transform2D { translation 0 -70 children [ Shape { appearance USE APPTEXT geometry Text { string ["Alignment" "END END"] fontStyle USE FS } } ] } Layout { wrap TRUE size 150 100 horizontal FALSE justify ["END" "END"] leftToRight FALSE topToBottom FALSE spacing 1.1 children [ USE S1 USE S2 USE S3 USE S4 ] } ] } ] }