Author: thorsten
Date: Sat Aug  5 13:52:10 2006
New Revision: 429045

URL: http://svn.apache.org/viewvc?rev=429045&view=rev
Log:
Adding a paragraph about how the corner images are getting generated to our 
documentation to trigger the generation of svg and png image. Extending the 
resource.xmap with the svg matcher of the corner images.

Modified:
    forrest/trunk/main/webapp/resources.xmap
    
forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-corner-images.xml

Modified: forrest/trunk/main/webapp/resources.xmap
URL: 
http://svn.apache.org/viewvc/forrest/trunk/main/webapp/resources.xmap?rev=429045&r1=429044&r2=429045&view=diff
==============================================================================
--- forrest/trunk/main/webapp/resources.xmap (original)
+++ forrest/trunk/main/webapp/resources.xmap Sat Aug  5 13:52:10 2006
@@ -188,6 +188,21 @@
            <map:parameter name="fg-color-name" value="{8}"/>    
         </map:call>
      </map:match>
+     
+     <!-- special case cormer generator pipeline -->
+     <map:match pattern="skin/images**/*c-*-*-*-1*-2*-3*.svg">
+      <map:generate src="cocoon://skinconf.xml" />
+      <map:transform src="{lm:skin.images.corner.images/{1}.{2}c}">
+         <map:parameter name="orientation-tb" value="{3}"/>
+         <map:parameter name="orientation-lr" value="{4}"/>
+         <map:parameter name="size" value="{5}"/>    
+         <map:parameter name="bg-color-name" value="{6}"/>
+         <map:parameter name="stroke-color-name" value="{7}"/>
+         <map:parameter name="fg-color-name" value="{8}"/>
+      </map:transform>
+      <map:call resource="transform-project2text"/>
+      <map:serialize type="xml" />
+     </map:match>
 
       <map:match pattern="skin/images**/*.*">
         <map:read src="{lm:skin.images.{1}/{2}.{3}}" mime-type="image/{3}" />

Modified: 
forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-corner-images.xml
URL: 
http://svn.apache.org/viewvc/forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-corner-images.xml?rev=429045&r1=429044&r2=429045&view=diff
==============================================================================
--- 
forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-corner-images.xml 
(original)
+++ 
forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-corner-images.xml 
Sat Aug  5 13:52:10 2006
@@ -172,6 +172,11 @@
           <em>e.g.</em> <code>searchbox</code>
         </dd>
       </dl>
+      <p>The corner images are made by generating a dymanic <a 
+        href="/skin/images/rc-t-r-50-1body-2menu-3menu.svg">svg image</a> to 
+        add the colors and size. Then this svg is serialize to <a 
+        href="/skin/images/rc-t-r-50-1body-2menu-3menu.png">the png 
+        image</a>.</p>
     </section>
     <section id="skinconfig">
       <title>Modifying the skinconf.xml of your project</title>