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 800 pixelHeight 400 } } } ] } OrderedGroup { children [ Background2D { backColor 1 1 1 } WorldInfo { info ["This shows Layout node" "performing different horizontal justification" "going left to right without line wrap" "" "GPAC Regression Tests" "(C) 2002-2004 GPAC Team"] title "Layout Test" } Transform2D { translation -250 160 children [ DEF BOUNDS Shape { appearance Appearance { material Material2D { emissiveColor 0 0 0 } } geometry Rectangle { size 200 60 } } Transform2D { translation 0 -50 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 { size 200 60 justify ["BEGIN" "BEGIN"] 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 } } ] } ] } Transform2D { translation -250 60 children [ USE BOUNDS Transform2D { translation 0 -50 children [ Shape { appearance USE APPTEXT geometry Text { string ["Alignment BEGIN FIRST"] fontStyle USE FS } } ] } Layout { size 200 60 justify ["BEGIN" "FIRST"] children [ USE S1 USE S2 USE S3 ] } ] } Transform2D { translation -250 -40 children [ USE BOUNDS Transform2D { translation 0 -50 children [ Shape { appearance USE APPTEXT geometry Text { string ["Alignment BEGIN MIDDLE"] fontStyle USE FS } } ] } Layout { size 200 60 justify ["BEGIN" "MIDDLE"] children [ USE S1 USE S2 USE S3 ] } ] } Transform2D { translation -250 -140 children [ USE BOUNDS Transform2D { translation 0 -50 children [ Shape { appearance USE APPTEXT geometry Text { string ["Alignment BEGIN END"] fontStyle USE FS } } ] } Layout { size 200 60 justify ["BEGIN" "END"] children [ USE S1 USE S2 USE S3 ] } ] } Transform2D { translation 0 160 children [ USE BOUNDS Transform2D { translation 0 -50 children [ Shape { appearance USE APPTEXT geometry Text { string ["Alignment MIDDLE BEGIN"] fontStyle USE FS } } ] } Layout { size 200 60 justify ["MIDDLE" "BEGIN"] children [ USE S1 USE S2 USE S3 ] } ] } Transform2D { translation 0 60 children [ USE BOUNDS Transform2D { translation 0 -50 children [ Shape { appearance USE APPTEXT geometry Text { string ["Alignment MIDDLE FIRST"] fontStyle USE FS } } ] } Layout { size 200 60 justify ["MIDDLE" "FIRST"] children [ USE S1 USE S2 USE S3 ] } ] } Transform2D { translation 0 -40 children [ USE BOUNDS Transform2D { translation 0 -50 children [ Shape { appearance USE APPTEXT geometry Text { string ["Alignment MIDDLE MIDDLE"] fontStyle USE FS } } ] } Layout { size 200 60 justify ["MIDDLE" "MIDDLE"] children [ USE S1 USE S2 USE S3 ] } ] } Transform2D { translation 0 -140 children [ USE BOUNDS Transform2D { translation 0 -50 children [ Shape { appearance USE APPTEXT geometry Text { string ["Alignment MIDDLE END"] fontStyle USE FS } } ] } Layout { size 200 60 justify ["MIDDLE" "END"] children [ USE S1 USE S2 USE S3 ] } ] } Transform2D { translation 250 160 children [ USE BOUNDS Transform2D { translation 0 -50 children [ Shape { appearance USE APPTEXT geometry Text { string ["Alignment END BEGIN"] fontStyle USE FS } } ] } Layout { size 200 60 justify ["END" "BEGIN"] children [ USE S1 USE S2 USE S3 ] } ] } Transform2D { translation 250 60 children [ USE BOUNDS Transform2D { translation 0 -50 children [ Shape { appearance USE APPTEXT geometry Text { string ["Alignment END FIRST"] fontStyle USE FS } } ] } Layout { size 200 60 justify ["END" "FIRST"] children [ USE S1 USE S2 USE S3 ] } ] } Transform2D { translation 250 -40 children [ USE BOUNDS Transform2D { translation 0 -50 children [ Shape { appearance USE APPTEXT geometry Text { string ["Alignment END MIDDLE"] fontStyle USE FS } } ] } Layout { size 200 60 justify ["END" "MIDDLE"] children [ USE S1 USE S2 USE S3 ] } ] } Transform2D { translation 250 -140 children [ USE BOUNDS Transform2D { translation 0 -50 children [ Shape { appearance USE APPTEXT geometry Text { string ["Alignment END END"] fontStyle USE FS } } ] } Layout { size 200 60 justify ["END" "END"] children [ USE S1 USE S2 USE S3 ] } ] } ] }