[Sie-announce] SIEコード [1322] font-size属性を付加

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 10月 11日 (日) 21:26:37 JST


Revision: 1322
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1322
Author:   dhrname
Date:     2009-10-11 21:26:37 +0900 (Sun, 11 Oct 2009)

Log Message:
-----------
font-size属性を付加

Modified Paths:
--------------
    trunk/svginhtml.html

Modified: trunk/svginhtml.html
===================================================================
--- trunk/svginhtml.html	2009-10-11 12:15:37 UTC (rev 1321)
+++ trunk/svginhtml.html	2009-10-11 12:26:37 UTC (rev 1322)
@@ -1,16 +1,38 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<html>
 <head>
 <title>SVG in HTML - SIE</title>
 <meta http-equiv="Content-Type" content="text/html; charset=urf-8">
-<script defer="defer" type="text/javascript" src="sie.js"></script>
+<script defer="defer" type="text/javascript" src="../branches/sie.js"></script>
 </head>
 <body>
 <script type="text/javascript" src="svginhtml.js"></script>
 <h1>SVG in HTML - SIE</h1>
 <svg width="200" height="200">
- <rect x="20" y="30" width="30" height="300" fill="red"/>
- <rect x="20"/>
+ <a href="http://sie.sourceforge.jp/">
+  <rect x="20" y="30" width="30" height="300" fill="red"/>
+  <text x="40" y="50" font-family="sans-serif" font-size="34px">Hello World!</text>
+ </a>
 </svg>
+<h2>Source</h2>
+<pre>
+&lt;html&gt;
+&lt;head&gt;
+&lt;title&gt;SVG in HTML - SIE&lt;/title&gt;
+&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=urf-8&quot;&gt;
+&lt;script defer=&quot;defer&quot; type=&quot;text/javascript&quot; src=&quot;sie.js&quot;&gt;&lt;/script&gt;
+&lt;/head&gt;
+&lt;body&gt;
+&lt;script type=&quot;text/javascript&quot; src=&quot;svginhtml.js&quot;&gt;&lt;/script&gt;
+&lt;h1&gt;SVG in HTML - SIE&lt;/h1&gt;
+&lt;svg width=&quot;200&quot; height=&quot;200&quot;&gt;
+ &lt;a href=&quot;http://sie.sourceforge.jp/&quot;&gt;
+  &lt;rect x=&quot;20&quot; y=&quot;30&quot; width=&quot;30&quot; height=&quot;300&quot; fill=&quot;red&quot;/&gt;
+  &lt;text x=&quot;40&quot; y=&quot;50&quot; font-family=&quot;sans-serif&quot; font-size="34px"&gt;Hello World!&lt;/text&gt;
+ &lt;/a&gt;
+&lt;/svg&gt;
+&lt;/body&gt;
+&lt;/html&gt;
+</pre>
 <!--/*Sie Reader LGPL2.1 & GPL1.1 & Mozilla Public Lisence*/
 /* ***** BEGIN LICENSE BLOCK *****
  * Version: MPL 1.1/GPL 2.0/LGPL 2.1




Sie-announce メーリングリストの案内
Back to archive index