Difference between revisions of "SVG"

From Dietrich Blog (Strato)
Jump to: navigation, search
(New page: == SVG Scalable Vector Grafics == * SVG ist ein auf XML beruhender W3C-Standard für VektorGrafik. * SVG wird/wurde sehr stark von der Firma Adobe unterstützt. * SVG hat als offen...)
 
Line 7: Line 7:
  
 
== SVG Beispiele ==
 
== SVG Beispiele ==
 +
<pre>
 +
<?xml version="1.0" standalone="no"?>
 +
<svg width="260" height="60">
 +
    <rect x="5" y="5" style="fill:red; stroke-width:3; stroke:black;" width="250" height="50"/>
 +
<rect x="10" y="10" style="fill:blue;" width="240" height="40"/>
 +
<text x="40" y="40" style="fill:gold; font-size:20pt">
 +
Hello World!
 +
</text>
 +
<circle style="fill:red;" cx="210" cy="30" r="10" />
 +
</svg>
 +
</pre>

Revision as of 22:46, 29 June 2007

SVG Scalable Vector Grafics

  • SVG ist ein auf XML beruhender W3C-Standard für VektorGrafik.
  • SVG wird/wurde sehr stark von der Firma Adobe unterstützt.
  • SVG hat als offenes; d.h.nicht-proprietäres Format große Unterstützung von der OpenSourceSoftware
  • SVG wird von MediaWiki unterstützt
  • Konkurriered zu SVG ist: Flash von Macromedia

SVG Beispiele

<?xml version="1.0" standalone="no"?>
<svg width="260" height="60">
    <rect x="5" y="5" style="fill:red; stroke-width:3; stroke:black;" width="250" height="50"/>
	<rect x="10" y="10" style="fill:blue;" width="240" height="40"/>
	<text x="40" y="40" style="fill:gold; font-size:20pt">
		Hello World!
	</text>
	<circle	style="fill:red;" cx="210" cy="30" r="10" />
</svg>