Hi Tianji
I'm afraid you can't do it 'automaticly', but here are the step you must
code yourself, using JS:
- draw your path where you want.
- get the bounding box parameters, and calculate the center of this box
- draw your text at, say, x=0 and y=0, using the font-size you want and
so...
-
Salut Richard,
I've had a look at your application, but all seems to work. So what's
the problem?
Jérôme
Richard DEPLANQUE a écrit :
Hi,
I'd like to control the fill color of polylines with a javacript.
But, I want only one group :
g id=SECTOR style=stroke:black; stroke-width:0.1;
what is ASV3 and 6?
- Original Message -
From: Philippe Lhoste
To: svg-developers@yahoogroups.com
Sent: Thursday, May 12, 2005 1:17 AM
Subject: Re: [svg-developers] svg include svg
Erwan TROEL wrote:
in fact we can't include a svg like a javascript , the svg will only
ASV mean Adobe SVG Viewer. This the major plugin used.
3 and 6 are the version. ASV3 is more or less compliant with the SVG
spec 1.0 and ASV 6 with 1.2
Jérôme
Erwan TROEL a écrit :
what is ASV3 and 6?
- Original Message -
From: Philippe Lhoste
To: svg-developers@yahoogroups.com
wanghua96_1 wrote:
I want to use batik to generate svg and display it, and I have a xml
configuration file(meta.xml). I read configuration from the meta.xml
and use batik to generate the corresponding svg,but it can't display
in JSVGCanvas. But if I use SVGGraphics2D,it works fine,see
in a javascript associated with a svg I write:
window.location=http://www.w3.org;
but nothing happens when executing
if i write window.location.href=http://www.w3.org
i have a message=window.location has no properties
i don't understand
[Non-text portions of this message have been
hey i was wondering if u can use an element's center of its bounding
box to position it. so if i have a 800 by 600 svg, i place it at
(400,300) and it is centered. or an v/halign=center attribute for
placing it. i wanna take an image in svg and center it in main svg
doc.
thanx if anyone has a
Dans un javascript associé à un svg j' ai ecrit:
window.location=http://www.google.fr
mais rien ne se passe à l'execution
peut on faitre des redirections de la sorte en svg ou il y at-il une autre
methode?
merci
- Original Message -
From: Erwan TROEL
To:
Can someone please give me an example of calling HTML
page script functions from within SVG?? say when I click an image on
an SVG that is embedded in an HTML file,..I want an alert to come up..
How can I do that?? I suppose that I should call javascript function
when I click the image..but how do
--- In svg-developers@yahoogroups.com, Clara [EMAIL PROTECTED] wrote:
Can someone please give me an example of calling HTML
page script functions from within SVG?? say when I click an image on
an SVG that is embedded in an HTML file,..I want an alert to come
up..
How can I do that?? I suppose
Hmm,..I tried the code,..but it doesn't work..I got an error message
that says out of stack spaceI wonder why..
--- In svg-developers@yahoogroups.com, joobs_27 [EMAIL PROTECTED] wrote:
--- In svg-developers@yahoogroups.com, Clara [EMAIL PROTECTED] wrote:
Can someone please give me an
Are you using any server side scripting? PHP, PERL, VBS... those could
be used to find the width/height of an image then used to determine the
x/y corner so it is centered.
--- In svg-developers@yahoogroups.com, arianhojat2000
[EMAIL PROTECTED] wrote:
hey i was wondering if u can use an
In the svg try 'top.alertMe()' .
Clara [EMAIL PROTECTED] escribió:
Hmm,..I tried the code,..but it doesn't work..I got an error message
that says out of stack spaceI wonder why..
--- In svg-developers@yahoogroups.com, joobs_27 [EMAIL PROTECTED] wrote:
--- In
13 matches
Mail list logo