File: test.xml

package info (click to toggle)
afterstep 2.2.12-18.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 33,184 kB
  • sloc: ansic: 201,695; sh: 5,894; xml: 3,721; makefile: 2,094; perl: 1,558; cpp: 811
file content (66 lines) | stat: -rw-r--r-- 3,035 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<img id="back" src=back.xpm/>
Preload images.
<img id="fore" src=fore.xpm/>
<img id="ice" src="/tmp/IceAlpha-0.5.png"/>
<img id="redbrush" src="/tmp/RedbrushAlpha-0.5.png"/>
<img id="root" src="xroot:"/>
<img id="rose" src=rose512.jpg/>
<img id="testimg" src="/tmp/testimg.jpg"/>

"Burning Rose"
<composite id="Burning Rose" op=hue>
  <composite op=add>
    <scale width=512 height=384><recall srcid=rose/></scale>
    <tile width=512 height=384><recall srcid=back/></tile>
  </composite>
  <tile width=512 height=384><recall srcid=fore/></tile>
</composite>

"astext demo"
<text id="tmp" fgimage="fore" font="test.ttf" point=32>Smart Brown Dog jumps
 Over The Lazy Fox,
 and falls into the ditch.</text>
<bevel id="astext demo" color="#dfdfdfdf #df8f8f8f" border="10 10 10 10">
  <composite>
    <tile refid="tmp" width=100%+32 height=100%+32><recall srcid="back"/></tile>
    <recall srcid="tmp" x="16" y="16"/>
  </composite>
</bevel>

"AfterStep owns!"
People can't seem to find the images to this one, and it's a strange 
thing. :)  Anyway, they're on libAfterImage's screenshots page.  Here 
are direct links, for the lazy:
http://afterstep.sourceforge.net/afterimage/testimg.jpg
http://afterstep.sourceforge.net/afterimage/RedbrushAlpha-0.5.png
http://afterstep.sourceforge.net/afterimage/IceAlpha-0.5.png
<crop height="512" width="640" id="AfterStep owns! text">
<text point="32" fgcolor="#ffffffff" font="test.ttf" id="AfterStep owns! text mask">AfterStep  owns jjjijijiji you
it owns your soul
and all your relatives will pity you, when you discover just how devoted you are.</text>
</crop>
<composite id="AfterStep owns!">
  <tile width="640" height="512"><img src="/tmp/testimg.jpg"/></tile>
  <scale tint="#7fffffff" width="640" height="512"><img src="/tmp/RedbrushAlpha-0.5.png"/></scale>
  <crop width="640" height="512"><scale width="910" height="600"><img src="/tmp/IceAlpha-0.5.png"/></scale></crop>
  <recall tint="#7fffffff" x=20 y=150 srcid="AfterStep owns! text"/>
  <bevel border="8 8 6 6" color="#dfdfdfdf #df8f8f8f" tint="#7fffffff" y="6" x="20">
    <gradient offsets="0.0 0.125 0.25 0.5625 0.8 1.0" colors="#fe007fff #fe00ffff #fe007fff #ff0000ff #ff000000 #ffffff00" height="500" width="600" angle="90"></gradient>
  </bevel>
  <mirror tint="#7fffffff" x=20 y=300 dir="vertical"><recall srcid="AfterStep owns! text"/></mirror>
</composite>

My current testing XML.
<composite id="test output">
  <scale width="640" height="512"><recall srcid="testimg"/></scale>
  <rotate angle=90><scale width="640" height="512"><recall srcid="redbrush"/></scale></rotate>
  <scale width="640" height="512"><recall srcid="ice"/></scale>
  <bevel color="#dfdfdfdf #df8f8f8f" border="8 8 6 6">
    <gradient x=20 y=6 angle=90 width=600 height=500 tint="#7fffffff" colors="#ff007fff #7f00ffff #ff007fff #ff0000ff #ff000000 #ffffff00" offsets="0.0 0.125 0.25 0.5625 0.8 1.0"/>
  </bevel>
</composite>

<recall srcid="Burning Rose"/>
<recall srcid="astext demo"/>
<recall srcid="test output"/>
<recall srcid="AfterStep owns!"/>