[cairo-commit] svgslides/test .cvsignore, NONE, 1.1 Makefile, NONE,
1.1 bigblue.svg, NONE, 1.1 default.svg, NONE,
1.1 glider-blue.svg, NONE, 1.1 test.xml, NONE, 1.1
Carl Worth
commit at pdx.freedesktop.org
Sat Feb 12 10:21:20 PST 2005
Committed by: cworth
Update of /cvs/cairo/svgslides/test
In directory gabe:/tmp/cvs-serv29629/test
Added Files:
.cvsignore Makefile bigblue.svg default.svg glider-blue.svg
test.xml
Log Message:
* src/svgslides-4suite: New implementation of svgslides in python
rather than XSLT. It's nearly as far along as svgslides.xsl, but
isn't ready to be the default implementation yet.
--- NEW FILE: .cvsignore ---
test-???.svg
test-index.xml
--- NEW FILE: Makefile ---
all:
../src/svgslides-4suite test.xml
--- NEW FILE: bigblue.svg ---
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg version="1.0" width="1024" height="768"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:ss="http://www.svgslides.org/svgslides0.1"
>
<text ss:variable="title" x="512" y="80" font-size="80" text-anchor="middle">Slide Title</text>
<g ss:region="default">
<rect x="100" y="100" width="824" height="550" fill="none" stroke="blue"/>
<text font-size="80" fill="blue" x="100" y="180">Default region</text>
</g>
<text ss:variable="footer" x="100" y="700" font-size="20" fill="green">Footer</text>
</svg>
--- NEW FILE: default.svg ---
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg version="1.0" width="1024" height="768"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:ss="http://www.svgslides.org/svgslides0.1"
>
<text ss:variable="title" x="512" y="80" font-family="sans" font-size="80" text-anchor="middle">Slide Title</text>
<g ss:region="default">
<rect x="100" y="120" width="824" height="550" fill="none" stroke="blue"/>
<text fill="black" font-size="40" font-family="serif" x="100" y="160">Default region</text>
</g>
<text ss:variable="footer" x="100" y="700" font-size="20" fill="green">Footer</text>
</svg>
--- NEW FILE: glider-blue.svg ---
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<!-- Created by hand -->
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
version="1.0"
x="0"
y="0"
style="fill:#ffffff;"
width="184"
height="184"
id="glider">
<g transform="translate(32,32)">
<g id="scale" transform="scale(20,20)">
<g id="background"
style="fill:#3B80AE;">
<path d="
M 0,-1
C -0.67,-1 -1,-0.67 -1, 0
L -1,6
C -1,6.67 -0.67,7 0, 7
L 6 7
C 6.67,7 7,6.67 7, 6
L 7 0
C 7,-0.67 6.67,-1 6,-1
z"/>
</g>
<g id="border"
style="fill:none;
stroke-linejoin:round;
stroke-linecap:butt;
stroke-width:.2;
stroke:#bababa;">
<path d="
M 0 -1.5
C -1,-1.5 -1.5,-1 -1.5, 0
L -1.5, 6
C -1.5,7 -1,7.5 0, 7.5
L 6,7.5
C 7,7.5 7.5,7, 7.5,6
L 7.5,0
C 7.5,-1 7,-1.5 6,-1.5
z"/>
</g>
<g id="grid"
style="fill:none;
stroke-linejoin:round;
stroke-linecap:butt;
stroke:#9dc0d7;stroke-width:.2;"
>
<path d="m 0 0 L 6 0 L 6 6 L 0 6 Z" />
<path d="M 0 2 L 6 2" />
<path d="M 0 4 L 6 4" />
<path d="M 2 0 L 2 6" />
<path d="M 4 0 L 4 6" />
</g>
<g id="dots"
style="fill:#ffffff"
>
<ellipse cx="3" cy="1" rx=".7" ry=".7" />
<ellipse cx="5" cy="3" rx=".7" ry=".7" />
<ellipse cx="1" cy="5" rx=".7" ry=".7" />
<ellipse cx="3" cy="5" rx=".7" ry=".7" />
<ellipse cx="5" cy="5" rx=".7" ry=".7" />
</g>
</g>
</g>
</svg>
--- NEW FILE: test.xml ---
<?xml version="1.0" ?>
<svgslides title="test"
xmlns="http://www.svgslides.org/svgslides0.1"
xmlns:svg="http://www.w3.org/2000/svg"
>
<slides theme="default">
<slide title="This is a slide">
<ul>
<li>This slide has a list</li>
<li>And it has an image</li>
<li>etc.</li>
</ul>
</slide>
<slide title="Bigblue Theme"
theme="bigblue">
<ul>
<li>A</li>
<li>B</li>
<li>C</li>
</ul>
<img src="glider-blue.svg"
x="1.0"
y="0.5"
x-align="right"
y-align="center" />
</slide>
<slide title="Back to normal"
footer="this is a footer">
<ul>
<li>X</li>
<li>Y</li>
<li>Z</li>
</ul>
</slide>
</slides>
</svgslides>
More information about the cairo-commit
mailing list