W3C home > Mailing lists > Public > www-archive@w3.org > March 2005

SvgAnno

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sat, 05 Mar 2005 02:45:35 +0100
To: www-archive@w3.org
Message-ID: <42290de3.666481406@smtp.bjoern.hoehrmann.de>
Hi,

  The attached SVG document includes a script that adds script
attributes and method return values as attributes to the SVG
elements, i.e.,

  <text transform="translate(100,100)" font-size="20" id="x"/>

becomes something like

  <text
    transform="translate(100,100)"
    id="x"
    font-size="20"
    startOffset="0"
    x:getBBox.x="1.6198731660842895"
    x:getBBox.y="-14.319764137268066"
    x:getBBox.width="99.91486358642578"
    x:getBBox.height="14.539490699768066"
    x:getCTM.a="1"
    x:getCTM.d="1"
    x:getCTM.e="100"
    x:getCTM.f="100"
    x:getScreenCTM.a="1"
    x:getScreenCTM.d="1"
    x:getScreenCTM.e="100"
    x:getScreenCTM.f="100"
    x:id="x"
    x:getNumberOfChars="11"
    x:getComputedTextLength="102.99805450439453"
  />

regards.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 


fill-with-script-attributes.svgz
(image/svg+xml attachment: fill-with-script-attributes.svgz)

Received on Saturday, 5 March 2005 02:06:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 July 2008 08:09:38 GMT