aboutsummaryrefslogtreecommitdiffstats
path: root/docs/examples
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2000-07-24 06:45:41 +0000
committerKeiron Liddle <keiron@apache.org>2000-07-24 06:45:41 +0000
commitec19803d8a6d25acd7266ae442be1d33351d96a0 (patch)
tree75786dbe98d00dedfd083e1bc01e57fbda81e51e /docs/examples
parent6e672eb43a0e5187b25718354370674fdf1f9b1a (diff)
downloadxmlgraphics-fop-ec19803d8a6d25acd7266ae442be1d33351d96a0.tar.gz
xmlgraphics-fop-ec19803d8a6d25acd7266ae442be1d33351d96a0.zip
added image example
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193554 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/examples')
-rw-r--r--docs/examples/svg/ex-diagrams.xml7
-rw-r--r--docs/examples/svg/image.jpgbin0 -> 7234 bytes
2 files changed, 5 insertions, 2 deletions
diff --git a/docs/examples/svg/ex-diagrams.xml b/docs/examples/svg/ex-diagrams.xml
index 69395fa14..a1188ae8d 100644
--- a/docs/examples/svg/ex-diagrams.xml
+++ b/docs/examples/svg/ex-diagrams.xml
@@ -166,8 +166,11 @@ points="70,15 75.8,32.2 93.8,32.2 79.4,43
</Diagram>
<Diagram entry="ex-image">
- <svg:svg width="10cm" height="3cm" viewBox="0 0 1000 300">
-<!-- <svg:image x="200" y="200" width="100px" height="100px" xlink:href="file:image.gif"/>-->
+ <svg:svg width="10cm" height="6cm" viewBox="0 0 1000 300">
+ <svg:image x="50" y="30" width="100px" height="120px" xlink:href="file:image.jpg"/>
+ <svg:g transform="rotate(0.1)">
+ <svg:image x="200" y="100" width="120px" height="100px" xlink:href="file:image.jpg"/>
+ </svg:g>
</svg:svg>
</Diagram>
diff --git a/docs/examples/svg/image.jpg b/docs/examples/svg/image.jpg
new file mode 100644
index 000000000..5d2c4c2d0
--- /dev/null
+++ b/docs/examples/svg/image.jpg
Binary files differ