[cairo-commit] svgslides/example example-left-right.svg,NONE,1.1

Carl Worth commit at pdx.freedesktop.org
Wed Jul 20 12:06:43 PDT 2005


Committed by: cworth

Update of /cvs/cairo/svgslides/example
In directory gabe:/tmp/cvs-serv29906/example

Added Files:
	example-left-right.svg 
Log Message:

        * src/svgslides-4suite: Fix so that slide titles and content may
        contain utf-8 characters without crashing python.
        Turn off the override of the transform attribute when copying a
        <g> element from input to output.

        * example/example-left-right.svg: Add missing file.


--- NEW FILE: example-left-right.svg ---
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg version="1.0" width="1024" height="768"
   xmlns="http://www.w3.org/2000/svg"
   xmlns:xlink="http://www.w3.org/1999/xlink"
   xmlns:ss="http://www.svgslides.org/svgslides0.1"
   >

  <g fill="black">
    <text ss:variable="presentation" x="8" y="28" font-size="20">Presentation Title</text>

    <text ss:variable="title" x="512" y="160" font-size="80" text-anchor="middle">Slide Title</text>

    <g ss:region="left">
      <rect x="100" y="200" width="400" height="530" fill="none" stroke="blue"/>
      <text font-size="40" x="100" y="240">Region: left</text>
    </g>

    <g ss:region="right">
      <rect x="524" y="200" width="400" height="530" fill="none" stroke="blue"/>
      <text font-size="40" x="524" y="240">Region: right</text>
    </g>

    <text ss:variable="URL" x="8" y="760" font-size="20">http://example.com</text>

    <text ss:variable="slide-number" x="1016" y="760" text-anchor="end" font-size="20">XX</text>
  </g>

</svg>




More information about the cairo-commit mailing list