~ubuntu-branches/ubuntu/raring/gpac/raring

« back to all changes in this revision

Viewing changes to regression_tests/bifs-2D-positioning-form-align-horiz.bt

  • Committer: Bazaar Package Importer
  • Author(s): John Dong
  • Date: 2007-01-24 23:34:57 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070124233457-zzlls8afkt0nyakj
Tags: 0.4.2~rc2-0ubuntu1
* New upstream release
  * Most notably MP4 tagging support via MP4Box -itags
* debian/patches/01_64bits.dpatch: dropped; included upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
InitialObjectDescriptor {
 
2
 objectDescriptorID 1
 
3
 audioProfileLevelIndication 255
 
4
 visualProfileLevelIndication 254
 
5
 sceneProfileLevelIndication 1
 
6
 graphicsProfileLevelIndication 1
 
7
 ODProfileLevelIndication 1
 
8
 esDescr [
 
9
  ES_Descriptor {
 
10
   ES_ID 1
 
11
   decConfigDescr DecoderConfigDescriptor {
 
12
    streamType 3
 
13
    decSpecificInfo BIFSConfig {
 
14
     isCommandStream true
 
15
     pixelMetric true
 
16
     pixelWidth 400
 
17
     pixelHeight 300
 
18
    }
 
19
   }
 
20
  }
 
21
 ]
 
22
}
 
23
 
 
24
OrderedGroup {
 
25
 children [
 
26
  Background2D {
 
27
   backColor 1 1 1
 
28
  }
 
29
  WorldInfo {
 
30
   info ["This shows Form node" "with horizontal alignment" "" "GPAC Regression Tests" "(C) 2002-2004 GPAC Team"]
 
31
   title "Form Test"
 
32
  }
 
33
  Transform2D {
 
34
   translation -75 0
 
35
   children [
 
36
    DEF FORM Shape {
 
37
     appearance Appearance {
 
38
      material Material2D {
 
39
       emissiveColor 0 0 0
 
40
      }
 
41
     }
 
42
     geometry Rectangle {
 
43
      size 100 200
 
44
     }
 
45
    }
 
46
    Transform2D {
 
47
     translation 0 -120
 
48
     children [
 
49
      Shape {
 
50
       appearance DEF APP Appearance {
 
51
        material Material2D {
 
52
         emissiveColor 0 0 0
 
53
         filled TRUE
 
54
        }
 
55
       }
 
56
       geometry Text {
 
57
        string ["Constraints: AL AL 10"]
 
58
        fontStyle DEF FS FontStyle {
 
59
         justify ["MIDDLE"]
 
60
         size 16
 
61
        }
 
62
       }
 
63
      }
 
64
     ]
 
65
    }
 
66
    Form {
 
67
     size 100 200
 
68
     groups [1 -1 2 -1]
 
69
     constraints ["AL" "AL 10"]
 
70
     groupsIndex [0 1 -1 1 2 -1]
 
71
     children [
 
72
      DEF S1 Shape {
 
73
       appearance Appearance {
 
74
        material Material2D {
 
75
         emissiveColor 1 0 0
 
76
         filled TRUE
 
77
        }
 
78
       }
 
79
       geometry Rectangle {
 
80
        size 50 30
 
81
       }
 
82
      }
 
83
      DEF S2 Shape {
 
84
       appearance Appearance {
 
85
        material Material2D {
 
86
         emissiveColor 0 1 0
 
87
         filled TRUE
 
88
        }
 
89
       }
 
90
       geometry Circle {
 
91
        radius 20
 
92
       }
 
93
      }
 
94
     ]
 
95
    }
 
96
   ]
 
97
  }
 
98
  Transform2D {
 
99
   translation 75 0
 
100
   children [
 
101
    USE FORM
 
102
    Transform2D {
 
103
     translation 0 -120
 
104
     children [
 
105
      Shape {
 
106
       appearance USE APP
 
107
       geometry Text {
 
108
        string ["Constraints: AR AR 10"]
 
109
        fontStyle USE FS
 
110
       }
 
111
      }
 
112
     ]
 
113
    }
 
114
    Form {
 
115
     size 100 200
 
116
     groups [1 -1 2 -1]
 
117
     constraints ["AR" "AR 10"]
 
118
     groupsIndex [0 1 -1 1 2 -1]
 
119
     children [
 
120
      USE S1
 
121
      USE S2
 
122
     ]
 
123
    }
 
124
   ]
 
125
  }
 
126
 ]
 
127
}
 
128
 
 
129