InitialObjectDescriptor {
 objectDescriptorID 1
 audioProfileLevelIndication 1
 visualProfileLevelIndication 1
 sceneProfileLevelIndication 1
 graphicsProfileLevelIndication 1
 ODProfileLevelIndication 1
 esDescr [
  ES_Descriptor {
   ES_ID 2
   decConfigDescr DecoderConfigDescriptor {
    streamType 3
    decSpecificInfo BIFSConfig {
     isCommandStream true
     pixelMetric true
     pixelWidth 400
     pixelHeight 400
    }
   }
  }
 ]
}

OrderedGroup {
 children [
  Background2D {
   backColor 1 1 1
  }
  WorldInfo {
   info [
    "This test shows usage of line transparency and line alignment" 
    "The outline or its outside is centered on the shape depending on the value of the isCenterAligned."
    "" 
    "GPAC Regression Tests" "$Date: 2007-07-27 09:46:07 $ - $Revision: 1.3 $" 
    "(C) 2002-2006 GPAC Team"
   ]
   title "Positioning lines and setting transparency using the XLineProperties node"
  }
  Transform2D {
   translation -100 100
   children [
    Shape {
     appearance Appearance {
      material Material2D {
       emissiveColor 1 0 0
       filled TRUE
       lineProps XLineProperties {
        lineColor 0 0 1
        width 10
       }
      }
     }
     geometry DEF RC Rectangle {
      size 150 100
     }
    }
    Transform2D {
     translation 0 -80
     children [
      Shape {
       appearance DEF TXTAPP Appearance {
        material Material2D {
         emissiveColor 0 0 0
         filled TRUE
        }
       }
       geometry Text {
        string ["No line transparency" "CenterAligned TRUE"]
        fontStyle DEF FS FontStyle {
         justify ["MIDDLE" "MIDDLE"]
         size 18
        }
       }
      }
     ]
    }
   ]
  }
  Transform2D {
   translation 100 100
   children [
    Shape {
     appearance Appearance {
      material Material2D {
       emissiveColor 1 0 0
       filled TRUE
       lineProps XLineProperties {
        lineColor 0 0 1
        isCenterAligned FALSE
        width 10
       }
      }
     }
     geometry USE RC
    }
    Transform2D {
     translation 0 -80
     children [
      Shape {
       appearance USE TXTAPP
       geometry Text {
        string ["No line transparency" "CenterAligned FALSE"]
        fontStyle USE FS
       }
      }
     ]
    }
   ]
  }
  Transform2D {
   translation -100 -80
   children [
    Shape {
     appearance Appearance {
      material Material2D {
       emissiveColor 1 0 0
       filled TRUE
       lineProps XLineProperties {
        lineColor 0 0 1
        transparency 0.5
        width 10
       }
      }
     }
     geometry USE RC
    }
    Transform2D {
     translation 0 -80
     children [
      Shape {
       appearance USE TXTAPP
       geometry Text {
        string ["Line transparency: 0.5" "CenterAligned TRUE"]
        fontStyle USE FS
       }
      }
     ]
    }
   ]
  }
  Transform2D {
   translation 100 -80
   children [
    Shape {
     appearance Appearance {
      material Material2D {
       emissiveColor 1 0 0
       filled TRUE
       lineProps XLineProperties {
        lineColor 0 0 1
        isCenterAligned FALSE
        transparency 0.5
        width 10
       }
      }
     }
     geometry USE RC
    }
    Transform2D {
     translation 0 -80
     children [
      Shape {
       appearance USE TXTAPP
       geometry Text {
        string ["Line transparency: 0.5" "CenterAligned FALSE"]
        fontStyle USE FS
       }
      }
     ]
    }
   ]
  }
 ]
}


