You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by st...@apache.org on 2003/02/20 21:26:03 UTC

cvs commit: xml-cocoon2/src/blocks/batik/samples henryV.svg opac.svg

stefano     2003/02/20 12:26:03

  Added:       src/blocks/batik/samples henryV.svg opac.svg
  Log:
  moving samples to blocks
  
  Revision  Changes    Path
  1.1                  xml-cocoon2/src/blocks/batik/samples/henryV.svg
  
  Index: henryV.svg
  ===================================================================
  <?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">
  
  <!-- ========================================================================= -->
  <!-- Copyright (C) The Apache Software Foundation. All rights reserved.        -->
  <!--                                                                           -->
  <!-- This software is published under the terms of the Apache Software License -->
  <!-- version 1.1, a copy of which has been included with this distribution in  -->
  <!-- the LICENSE file.                                                         -->
  <!-- ========================================================================= -->
  
  <!-- ========================================================================= -->
  <!-- Test description here                                                     -->
  <!--                                                                           -->
  <!-- @author bill.haneman@ireland.sun.com                                         -->
  <!-- @version $Id: henryV.svg,v 1.1 2003/02/20 20:26:03 stefano Exp $                                                             -->
  <!-- ========================================================================= -->
  
  <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="450" height="500" viewBox="0 0 450 500">
  <title>Henry V</title>
  
      <!-- ============================================================= -->
      <!-- Test content                                                  -->
      <!-- ============================================================= -->
      <defs>
          <filter id="blur" filterUnits="objectBoundingBox" primitiveUnits="objectBoundingBox" x="-20%" y="-20%" width="120%" height="120%" > 
          <feGaussianBlur stdDeviation="2 2" x="-10%" y="-10%" width="120%" height="120%" /> 
          </filter>
          <filter id="wideBlur" filterUnits="objectBoundingBox" primitiveUnits="objectBoundingBox" x="-20%" y="-20%" width="120%" height="120%" > 
          <feGaussianBlur stdDeviation="8 8" x="-10%" y="-10%" width="120%" height="120%" /> 
          </filter>
          <clipPath id="shakeSpeare" font-family="Serif" font-weight="bold" font-size="125" text-anchor="middle" transform="scale(0.8, 1.5)">
             <text x="50%" y="28%">Henry</text>
             <text font-size="200" x="50%" y="60%">V</text>
          </clipPath>
  
          <g font-family="Serif" font-weight="bold" font-size="125" text-anchor="middle" id="henryV" transform="scale(0.8, 1.5)">
             <text x="50%" y="28%">Henry</text>
             <text font-size="200" x="50%" y="60%">V</text>
          </g>
  <g font-family="Serif" id="text" font-style="oblique" font-size="15" fill="DarkRed" transform="scale(1.10, 0.92)">
  <text x="3%" y="6%">O for a Muse of fire, that would ascend</text>
  <text x="3%" y="9%">The brightest heaven of invention,</text>
  <text x="3%" y="12%">A kingdom for a stage, princes to act</text>
  <text x="3%" y="15%">And monarchs to behold the swelling scene!</text>
  <text x="3%" y="18%">Then should the warlike Harry, like himself,</text>
  <text x="3%" y="21%">Assume the port of Mars; and at his heels,</text>
  <text x="3%" y="24%">Leash'd in like hounds, should famine, sword and fire</text>
  <text x="3%" y="27%">Crouch for employment. But pardon, and gentles all,</text>
  <text x="3%" y="30%">The flat unraised spirits that have dared</text>
  <text x="3%" y="33%">On this unworthy scaffold to bring forth</text>
  <text x="3%" y="36%">So great an object: can this cockpit hold</text>
  <text x="3%" y="39%">The vasty fields of France? or may we cram</text>
  <text x="3%" y="42%">Within this wooden O the very casques</text>
  <text x="3%" y="45%">That did affright the air at Agincourt?</text>
  <text x="3%" y="48%">O, pardon! since a crooked figure may</text>
  <text x="3%" y="51%">Attest in little place a million;</text>
  <text x="3%" y="54%">And let us, ciphers to this great accompt,</text>
  <text x="3%" y="57%">On your imaginary forces work.</text>
  <text x="3%" y="60%">Suppose within the girdle of these walls</text>
  <text x="3%" y="63%">Are now confined two mighty monarchies,</text>
  <text x="3%" y="66%">Whose high upreared and abutting fronts</text>
  <text x="3%" y="69%">The perilous narrow ocean parts asunder:</text>
  <text x="3%" y="72%">Piece out our imperfections with your thoughts;</text>
  <text x="3%" y="75%">Into a thousand parts divide on man,</text>
  <text x="3%" y="78%">And make imaginary puissance;</text>
  <text x="3%" y="81%">Think when we talk of horses, that you see them</text>
  <text x="3%" y="84%">Printing their proud hoofs i' the receiving earth;</text>
  <text x="3%" y="87%">For 'tis your thoughts that now must deck our kings,</text>
  <text x="3%" y="90%">Carry them here and there; jumping o'er times,</text>
  <text x="3%" y="93%">Turning the accomplishment of many years</text>
  <text x="3%" y="96%">Into an hour-glass: for the which supply,</text>
  <text x="3%" y="99%">Admit me Chorus to this history;</text>
  <text x="3%" y="102%">Who prologue-like your humble patience pray,</text>
  <text x="3%" y="105%">Gently to hear, kindly to judge, our play.</text>
      </g>
      </defs>
      <rect width="100%" height="100%" fill="GoldenRod"/>
      <g id="testContent" transform="scale(1.2,1.0)">       
          <g opacity="0.8" fill="Maroon">
              <use xlink:href="#text"/>
          </g>
          <g transform="translate(-1, -1)">
            <use xlink:href="#henryV" fill="DarkGoldenRod" stroke-width="0.1" stroke="black"/>
          </g>
          <g clip-path="url(#shakeSpeare)" transform="translate(-1, -1)">
              <use xlink:href="#text"/>
              <g font-style="normal">
              <use xlink:href="#henryV" fill="none" stroke-width="4" stroke="black" filter="url(#blur)" opacity="0.35" transform="translate(-2, 2)"/>
              </g>
          </g>
      </g>
      <rect x="0%" y="0%" width="100%" height="100%" stroke="SaddleBrown" stroke-width="12" fill="none" filter="url(#wideBlur)"/>
  
      
  </svg>
  
  
  
  1.1                  xml-cocoon2/src/blocks/batik/samples/opac.svg
  
  Index: opac.svg
  ===================================================================
  <?xml version="1.0" standalone="yes"?>
  
  <svg width="300px" height="300px">
   <g style="fill:#444">
    <path d="M0,0v250h300v-250z"/>
   </g>
   <g style="stroke:#000; stroke-width:2; fill:#f00; fill-opacity:0.5">
    <circle cx="100" cy="100" r="80"/>
   </g>
   <g style="stroke:#000; stroke-width:2; fill:#00f; fill-opacity:0.5">
    <circle cx="200" cy="100" r="80"/>
   </g>
   <g style="stroke:#000; stroke-width:2; fill:#0f0; fill-opacity:0.5">
    <circle cx="150" cy="150" r="80"/>
   </g>
  </svg>
  
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org