forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r386521 - in /forrest/trunk/main/fresh-site/src/documentation/content/xdocs: samples/ellipse.svg samples/svg.xml site.xml
Date Fri, 17 Mar 2006 04:01:06 GMT
Author: crossley
Date: Thu Mar 16 20:01:03 2006
New Revision: 386521

URL: http://svn.apache.org/viewcvs?rev=386521&view=rev
Log:
Add demo page for "Using Scalable Vector Graphics (SVG)".

Added:
    forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples/ellipse.svg   (with
props)
    forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples/svg.xml   (with
props)
Modified:
    forrest/trunk/main/fresh-site/src/documentation/content/xdocs/site.xml

Added: forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples/ellipse.svg
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples/ellipse.svg?rev=386521&view=auto
==============================================================================
--- forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples/ellipse.svg (added)
+++ forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples/ellipse.svg Thu
Mar 16 20:01:03 2006
@@ -0,0 +1,14 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
+"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
+<svg xmlns="http://www.w3.org/2000/svg" version="1.0"
+   width="300" height="150"
+   viewBox="0 0 1500 1000"
+>
+  <desc>Ellipse</desc>
+  <rect x="1" y="1" width="1495" height="995"
+      fill="none" stroke="blue" stroke-width="5"/>
+  <ellipse transform="translate(200 200) rotate(-45)" 
+      rx="200" ry="100"
+      fill="none" stroke="red" stroke-width="20"/>
+</svg>

Propchange: forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples/ellipse.svg
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples/svg.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples/svg.xml?rev=386521&view=auto
==============================================================================
--- forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples/svg.xml (added)
+++ forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples/svg.xml Thu Mar
16 20:01:03 2006
@@ -0,0 +1,35 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2006 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+<document> 
+  <header> 
+    <title>Using Scalable Vector Graphics (SVG)</title> 
+  </header> 
+  <body> 
+    <p>
+      Forrest can deliver raw SVG files for capable browsers, e.g. Firefox.
+      See <a href="ellipse.svg">example</a>.
+    </p>
+    <p>
+      Forrest can convert SVG files into Portable Network Graphic (PNG).
+      See <a href="ellipse.png">example</a>. Note that Forrest will first
+      look for a pre-prepared PNG file, and if not found then it will
+      generate the PNG from the SVG.
+    </p>
+  </body>
+</document>

Propchange: forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples/svg.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: forrest/trunk/main/fresh-site/src/documentation/content/xdocs/site.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/fresh-site/src/documentation/content/xdocs/site.xml?rev=386521&r1=386520&r2=386521&view=diff
==============================================================================
--- forrest/trunk/main/fresh-site/src/documentation/content/xdocs/site.xml (original)
+++ forrest/trunk/main/fresh-site/src/documentation/content/xdocs/site.xml Thu Mar 16 20:01:03
2006
@@ -66,6 +66,7 @@
       description="Test of Embedded HTML"/>
     <sample-ascii-art label="ascii-art page" href="ascii-art.html"
       description="Sample Ascii Art page"/>
+    <svg label="Using SVG" href="svg.html" description="Using Scalable Vector Graphics
(SVG)"/>
     <sample-usemap label="usemap" href="usemap.html" description="Client-side
       imagemap"/>
     <sample-custom label="Custom Schema" href="customSchema.html"



Mime
View raw message