examples/kate/z.kate
raw| 1 | /* plays with z depth */ |
| 2 | kate { |
| 3 | defs { |
| 4 | timebase 00:01.00 |
| 5 | define style { text color 255 0 0 255 background color 0 0 0 192 } |
| 6 | define region { percent position 20 60 size 60 20 } |
| 7 | } |
| 8 | |
| 9 | event { |
| 10 | 0:0:00 --> 0:0:10 |
| 11 | text "some text" |
| 12 | region 0 style 0 |
| 13 | motion { |
| 14 | semantics z |
| 15 | curve { |
| 16 | catmull_rom |
| 17 | points { |
| 18 | 0 0 |
| 19 | 1 0 |
| 20 | 0 0 |
| 21 | 1 0 |
| 22 | } |
| 23 | } |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | event { |
| 28 | 0:0:00 --> 0:0:10 |
| 29 | text "some other text" |
| 30 | region 0 style 0 |
| 31 | motion { |
| 32 | semantics z |
| 33 | curve { |
| 34 | catmull_rom |
| 35 | points { |
| 36 | 1 0 |
| 37 | 0 0 |
| 38 | 1 0 |
| 39 | 0 0 |
| 40 | } |
| 41 | } |
| 42 | } |
| 43 | } |
| 44 | } |
| 45 |