]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
added image example
authorKeiron Liddle <keiron@apache.org>
Mon, 24 Jul 2000 06:45:41 +0000 (06:45 +0000)
committerKeiron Liddle <keiron@apache.org>
Mon, 24 Jul 2000 06:45:41 +0000 (06:45 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193554 13f79535-47bb-0310-9956-ffa450edef68

docs/examples/svg/ex-diagrams.xml
docs/examples/svg/image.jpg [new file with mode: 0644]

index 69395fa14019a0c9db5557ad26be320ca78d622a..a1188ae8db47ed60bdcafde593cd3fa076ceb773 100644 (file)
@@ -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 (file)
index 0000000..5d2c4c2
Binary files /dev/null and b/docs/examples/svg/image.jpg differ