--- In svg-developers@yahoogroups.com, Bruno Marquié <[EMAIL PROTECTED]> wrote:
> the first alert popup displays 2/0/0 and the second 1/40/120.
> why? I
> And can you explain me also this order..; why
> bboxSize('2') is called before bboxSize('1') ?
>
> onclick="bboxSize('2')"/>
>
Hi Bruno,
Just a quick response, and apologize for not looking further into
your app.
JavaScript/ECMAscript is not happy with variable names that are
integers. Could that be the problem..?
Francis
Bruno Marquié wrote:
>
> Hi all,
>
> I need your lights!
> I am working with IE and ASV 3.
> I h
Hi Francis,
Thanks you for your answer, but I don't think that could be the problem...
I think getBBox() function evaluate the real size ("the painted one") of
the element, and not the one specified by width and height ... So now
that I know that, I will have to do with it...
Also, with IE, I ca
Bruno Marquié schrieb:
Hi Bruno
Francis is right, you are not allowed to use numbers as ids, in fact an
id must start with a string.
but thats does not seem to be the problem in your case. i find that your
code works in firefox and ASV6,
so it could be a bug in ASV3.
cheers
Holger
> Hi Franci
Ok Thanks you both! I didn't know about the ids as numbers.
My code is working now, embedding use tag inside g element, and using
getCCM sometimes too...
Thnaks again for your help!
Bruno
Holger Will wrote:
> Bruno Marquié schrieb:
>
> Hi Bruno
>
> Francis is right, you are not allowed to use n
>
> Well in this particular example, submitted by a student of mine,
> Cyril Pierron,
> http://srufaculty.sru.edu/david.dailey/W3CCourse/CPierrongetBBoxUse.svg
> [1], Opera and IE+ASV give very different results than Firefox and
> webKit. Basically, he's taken a chunk of text, measured it,
This needs solving from first principles.
The equation of an ellipse, unrotated and centred on the origin:
x0 = a cos t
y0 = b sin t
(a: major axis; b: minor axis; t (theta): angular parameter)
Rotating it by an angle d is equivalent to a coordinate transformation and
makes the equations
x
--- In svg-developers@yahoogroups.com, Raks A wrote:
>
> While searching I saw an api called getBBox(). But when I search in mozilla
> documentation I do not find any such DOM API, but certain search result
> mentions such an API.
>
The getBBox is part of the JavaScript SVG API specs[1]. David D
--- In svg-developers@yahoogroups.com, Raks A wrote:
>
> But what are the browsers which support all the SVG DOM Apis.
I think at leats getBBox() is supported by all of them (as mentioned,
getScreenBBox() unfortunately isn't).
> We are
> creating a drawing tool where we want to allow the users
--- In svg-developers@yahoogroups.com, Raks A wrote:
>
> Actually I am aware of the transform attribute but as the requirement is
> for a drawing tool the user/artist/designer would keep iterating on an
> element ( may be 1000 times ) by repeatedly scaling an element till he is
> satisfied which m
--- In svg-developers@yahoogroups.com, Raks A wrote:
>
> But what are the browsers which support all the SVG DOM Apis. We are
> creating a drawing tool where we want to allow the users to scale and rotate
> a closed path using the mouse. Now we can capture the mouse events but
> unless and untill
But what are the browsers which support all the SVG DOM Apis. We are
creating a drawing tool where we want to allow the users to scale and rotate
a closed path using the mouse. Now we can capture the mouse events but
unless and untill there is a fast way to get a SVGPath element
object, scaling the
Actually I am aware of the transform attribute but as the requirement is
for a drawing tool the user/artist/designer would keep iterating on an
element ( may be 1000 times ) by repeatedly scaling an element till he is
satisfied which means if I keep adding transform there would be 1000s of
transfor
Thanks All,
I have been reading the SVG DOM interfaces sections in the SVG docs and
trying to come to terms with it
There are almost no examples of using the interfaces which is causing lot of
confusion, Yesterday only I wanted to created a text element and was stuck
as to how to create a text ele
On Wed, Jan 12, 2011 at 8:42 PM, Raks A wrote:
> I could achieve the task without using the SVG DOM API and instead using the
> basic DOM API of createElementNS, setAttributeNS and createTextNode
>
> Would it have been possible to directly use SVG specific APIs to achieve the
> same task
The way
15 matches
Mail list logo