[svg-developers] SMIL questions

2005-12-16 Thread Peter Thompson
Are there currently SVG implementations other than
Adobe that support SMIL?

Does anyone want to share their opinion about whether
SVG animations should be coded using Javascript or
SMIL?  Over the past 6 months, I have waffled from
Javascript to SMIL, and am leaning back toward
Javascript (because of lack of support for SMIL).


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] Re: Starting and Stopping Animation

2006-01-25 Thread Peter Thompson
Here is another example with pause/unpause animation:
http://svg-whiz.com/svg/PausePlay.svg

You can also start the animation when some event takes
place (e.g., the user clicks on an element).  I can't
point you to an on-line reference for this, but the
following fragment shows how you do this in SVG (no
Javascript required).  I know that it works in ASVG3;
I haven't checked other SVG viewers.


...

...

...



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] Re: Starting and Stopping Animation

2006-01-25 Thread Peter Thompson
Yes.  You can do something like this:

tooltip
 
 



The text displays when you move the pointer over the
path and disappears when you move the pointer off the
path.

The location of the text on the screen doesn't change.
If that is not the functionality you want, then I
think you need to write some Javascript, similar to:
http://svg-whiz.com/svg/Tooltip2.svg


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] SVG/Ajax vs Flash/Ajax vs Java/Ajax or TCP/IP

2006-01-26 Thread Peter Thompson
I don't agree that SVG is the best solution without a
more complete list of evaluation criteria (it doesn't
have to be long, but probably longer than the 4 items
you listed) and how the various solutions compare. 
Two things that were on my list of evaluation criteria
when I was evaluating the use of SVG for a project
were:
1) The qualities of the human-computer interface. For
example, do the users need to zoom/unzoom?  If yes, is
the SVG-viewer pixel-replication zoom acceptable?  If
not, then you'll need to write Javascript to set the
line-widths, font-sizes, etc. to the inverse of the
scale.  The lines end up looking jagged, imo. 
2) The future of SVG.  You should consider how much it
will cost to develop an SVG-based solution with
respect to whether you want to invest that money when
the future of SVG is not very clear at this time.

I encourage you to try to develop a prototype of your
system using SVG.

Based on my experience, my answers to your questions
with regard to using an SVG-based solution are:
> 1. learning curve (we have minimum experience in
Flash/Java, 0 SVG)
SVG is easy to learn to do simple things.  More
complicated things are harder to do (e.g., combination
of Javascript, SVG, plus possibly code on the server).
 Debugging can be difficult and development can be
error-prone and slow, especially if you need to work
in different browsers.

> 2. existing widgets (gauges, charts...)
There may be useful stuff around, but you'll have to
find it.

> 3. server load (I see SVG files are huge compared
to, example, *.swf;
> is there some form of "include" mechanics?)
I agree with Alastair, that you've mixed file size and
server (CPU) load here.  SVG is XML, which compresses
well, so file size itself may not be a problem.  I
haven't compared comparable svg, compressed-svg, and
swf file sizes.
Regarding the "include" question ... you can do some
"including" using XLINK to include other SVG or
javascript files.



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] can someone validate the code

2006-01-30 Thread Peter Thompson
The SVG file validates in XMLSpy when the version
attribute is removed from the SVG element, so that
line looks like this:
http://www.w3.org/2000/svg"/>

Your original SVG file displays in ASVG3 both with and
without the version attribute (ASVG3 does not complain
about the version attribute).

--- danfreno <[EMAIL PROTECTED]> wrote:

> i have a problem with importing this in coreldraw
> and i just wanted to 
> be sure that the file is correct, a supporter i
> mailed with told me 
> that there was an error "Syntax error line 1,colum
> 0" but i dont the 
> error myself
> 
> 
>   
>
"http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd";>
>   xmlns="http://www.w3.org/2000/svg";
> version="1.0">
> 
>   
>height="49.6mm" 
> stroke-width="0.1mm"
> style="stroke:rgb(255,0,0);fill: none;"/>
>dominant-baseline="mathematical" style="font-
> size:13.043478mm;">GHGHGH
>   
> 
> 
> 
> the problem is the dominant-baseline="mathematical"
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] can someone validate the code

2006-01-31 Thread Peter Thompson
How do you validate SVG without a DOCTYPE?  Is there a
problem with the DTD?

> Another reason not to use a DOCTYPE declaration. The
> version attribute is
> good. Leave it in and nuke the DOCTYPE instead. :-)
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] Visual Building Search

2006-01-31 Thread Peter Thompson
In case nobody responded to this ...
I consider visual building search to be an SVG
application.  There are case studies in the back of
"SVG Unleashed" that explain how to write three
different SVG applications, but not visual building
search.  The monitor and control chapter shows what's
involved for the hybrid raster-vector display (the
picture of the building with the dynamic text).  From
reading the case studies you would understand what is
invovled with building an SVG application.  I don't
know of a complete SVG application tutorial on the
web.

You can also view the source of the SVG in the Adobe
visual building search application to get hints or try
to figure the whole thing out for yourself.

--- Mitzie <[EMAIL PROTECTED]> wrote:

> I'd like to learn how to create SVG objects similar
> to the Visual 
> Building Search on adobe's website.  The URL is 
> http://www.adobe.com/svg/examples.html
> 
> Does anyone know where I can find a tutorial which
> explains how this 
> is done? I downloaded illustrator but you can only
> create objects and 
> then save them as svg file type.  what's a good free
> svg editor and 
> how do you make it interactively explore as in this
> demo?
> 
> Thanks.
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] To achieve an effect

2006-02-03 Thread Peter Thompson
> In following page the English letter A is in a
> rectangle.  I need to replace it with  another
> letter, such as B or C, and switch back and forth. 
> Further, I need to have more than two letters to
> switch back and forth in the rectangle. 
> 
> http://www.pinyinology.com/svg/letter.svg
> 
> Wondering whether such an effect can be achieved
> with svg.

Yes.  There are several ways to do it, depending on
your requirements and the capabilitites of the browser
you are using.  For example, if you are using a
browser that supports SMIL (animation), you can have
the SVG just display a series of characters.  You can
also make it start displaying the characters when the
user clicks on the rectangle or moves the mouse over
the rectangle.  You could get that to work with SMIL
or Javascript.



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] Wireframe, lines that do not scale

2006-02-13 Thread Peter Thompson
You can set the stroke-width to the inverse of the
scale, so the line doesn't get fat.  This isn't
perfect, but it may provide what you are looking for. 
This works in ASVG3 and Sqiggle (The green line gets
fat, the red line does not.)


http://www.w3.org/2000/svg"; width="100%"
height="100%">

















__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] map data structure question

2006-03-01 Thread Peter Thompson
This isn't SVG specific, but is related. What are good (or the 
standard) algorithms/data structures used for quick retrieval of vector 
data, like coastline data?






-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] How to import .js files into SVG

2006-03-02 Thread Peter Thompson
The xlinks don't have to be in the defs section.  I
don't know if they belong there.

This is what works for me:

http://www.w3.org/2000/svg";
xmlns:xlink="http://www.w3.org/1999/xlink";>
 
...




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [svg-developers] map data structure question

2006-03-02 Thread Peter Thompson
Right now, I read coastline data (lat/long) from flat
files and store it in a series of arrays in a program.
 Each array is many points, representing line
segments.  When I draw the vectors on the screen, I
check each array (which represents many line segments)
to see if the vectors should be displayed.  If I had
the data arranged in some better type of data
structure, like a k-d tree or quadtree (or something),
I think that I would be able to retrieve/display the
data faster because I wouldn't have to check as many
segments.

My question is, what is the standard type of data
structure/algoritm for this type of problem?  Is my
question any clearer now?

I know that this problem has been solved many times. 
I tried googling for awhile.  I don't seem to know
enough to find the answer.  It seems like lat/long
data is considered spatial data, which is how I ended
up with k-d tree and quadtree suggestions I mentioned
above.  I'd buy a book if I knew the right one to buy.

Any help or hints are appreciated.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [svg-developers] map data structure question

2006-03-02 Thread Peter Thompson
Thanks.  Those were the types of hints I was looking
for.



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] recommend web hosting service that supports SVG?

2006-04-27 Thread Peter Thompson
Can someone please recommend a reliable, inexpensive
web hosting company that supports SVG?  I have very
few requirements:
1)supports .svg files
2)supports .svgz files (I found one that supports svg
but not svgz)
3)inexpensive
You can respond via private email if you think that a
public response is too much like advertising.
Thanks.
Peter



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] SVG world maps

2006-05-10 Thread Peter Thompson
I created http://fastsvg.com to provide SVG maps.  The
site has a downloadable tool for generating your own
SVG maps (you specify continents, projection, scale,
center point, level of detail, etc.) and a sample of
SVG maps generated using the tool.

The Mercator projection maps have formulas in the SVG
files that you can use to generate screen X/Y from
lat/long.  The Lambert projection maps don't have the
formulas in the SVG files yet.  In either case, the
tool has a lat/long to X/Y converter that you can use
to generate screen points for a specific SVG file
(based on projection, center lat/long, screen
width/height, and scale -- all of which are written
into the SVG file).

Send me any questions or comments.

Peter


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


 Yahoo! Groups Sponsor ~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] SVG world maps

2006-05-11 Thread Peter Thompson
Thanks for the feedback. Use Display->Set Viewport
function to get part of the displayed map centered if
you get disoriented.  You should have better luck from
there.

Perhaps I made poor decisions setting up the initial
display state.  I wanted the user to be able to see
any map data initially selected for display, which is
why it is at a high scale and Lambert projection.  I
considered having an initial state of something like
North America or Europe displayed.  Perhaps that would
be better.

The map data in the zip file is in the original form
that I found at http://www.evl.uic.edu/pape/data/WDB/.
The original readme file is in the zip file, which
explains the format of the data and the original
source of the data.

Peter

--- Alex Amies <[EMAIL PROTECTED]> wrote:

> Peter,
> 
> That is an incredibly valuable tool.  However, I had
> a little trouble
> getting the map to display the way I wanted.  The
> projection was not from
> the angle I expected and I had trouble centering in
> the position I wanted.
> I expect that the functions are all there but I had
> trouble finding them.
> 
> Where did you get the world map?
> 
> Alex
> 
> On 5/10/06, Peter Thompson
> <[EMAIL PROTECTED]> wrote:
> >
> > I created http://fastsvg.com to provide SVG maps. 
> The
> > site has a downloadable tool for generating your
> own
> > SVG maps (you specify continents, projection,
> scale,
> > center point, level of detail, etc.) and a sample
> of
> > SVG maps generated using the tool.
> >
> > The Mercator projection maps have formulas in the
> SVG
> > files that you can use to generate screen X/Y from
> > lat/long.  The Lambert projection maps don't have
> the
> > formulas in the SVG files yet.  In either case,
> the
> > tool has a lat/long to X/Y converter that you can
> use
> > to generate screen points for a specific SVG file
> > (based on projection, center lat/long, screen
> > width/height, and scale -- all of which are
> written
> > into the SVG file).
> >
> > Send me any questions or comments.
> >
> > Peter
> >
> >
> > __
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> >
> >
> >  -
> > To unsubscribe send a message to:
> > [EMAIL PROTECTED]
> > -or-
> > visit http://groups.yahoo.com/group/svg-developers
> and click "edit my
> > membership"
> > 
> >
> >
> >
> >  SPONSORED LINKS
> >   Xml
>
format<http://groups.yahoo.com/gads?t=ms&k=Xml+format&w1=Xml+format&w2=Svg&w3=Format&w4=Data&c=4&s=47&.sig=VBa7nBOoFldLj1xsnDMzkQ>
> >
>
Svg<http://groups.yahoo.com/gads?t=ms&k=Svg&w1=Xml+format&w2=Svg&w3=Format&w4=Data&c=4&s=47&.sig=a1u0zJydFxGsmrBvlURQ4w>
> >
>
Format<http://groups.yahoo.com/gads?t=ms&k=Format&w1=Xml+format&w2=Svg&w3=Format&w4=Data&c=4&s=47&.sig=sfOdgu_KzJjmF4YOGYLFuw>
> >
>
Data<http://groups.yahoo.com/gads?t=ms&k=Data&w1=Xml+format&w2=Svg&w3=Format&w4=Data&c=4&s=47&.sig=aV25K06F7rKa6A2bKQrzpA>
> >  --
> > YAHOO! GROUPS LINKS
> >
> >
> >-  Visit your group
>
"svg-developers<http://groups.yahoo.com/group/svg-developers>"
> >on the web.
> >
> >-  To unsubscribe from this group, send an
> email to:
> >
>
[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >
> >-  Your use of Yahoo! Groups is subject to the
> Yahoo! Terms of
> >Service <http://docs.yahoo.com/info/terms/>.
> >
> >
> >  --
> >
> 
> 
> [Non-text portions of this message have been
> removed]
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


 Yahoo! Groups Sponsor ~--> 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] Another question

2006-06-02 Thread Peter Thompson
--- Sayed Arian Kooshesh <[EMAIL PROTECTED]> wrote:

> how would I represent a table in svg?
> 

Is something like this sufficient?
item 1.1
item 1.2
item 1.3
item 1.4
item 1.5
item 2.1
item 2.2
item 2.3
item 2.4
item 2.5
item 3.1
item 3.2
item 3.3
item 3.4
item 3.5




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


 Yahoo! Groups Sponsor ~--> 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] Another question

2006-06-02 Thread Peter Thompson
--- Sayed Arian Kooshesh <[EMAIL PROTECTED]> wrote:

> no, I'm looking for something with several columns.
> Thanks for the advice ,
> however.
> 

The SVG that I provided displays a 3 row by 5 column
table.




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


 Yahoo! Groups Sponsor ~--> 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] How to make SVGZ from a SVG file?

2006-06-12 Thread Peter Thompson
> Is there any
> Borland C++ libraries and/or Java libraries to
> implement Gzip algorithms?

In Java, look at GZIPOutputStream.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


 Yahoo! Groups Sponsor ~--> 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] My shape doesn't want to follow....

2006-06-14 Thread Peter Thompson
Bruno,

I couldn't quite follow what you posted. If nobody
provides an answer, post again with either a URL to
the page with the problem or include the smallest
complete sample of the SVG with the problem and
description in your email.

Peter

--- Bruno Marquiÿe9 <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> I have a weird behavior, that I will try to explain
> you, first, I'am using IE6 and ASV3 : 



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


 Yahoo! Groups Sponsor ~--> 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] transform question

2008-02-20 Thread Peter Thompson
Everyone knows that by default, the y-axis increases
as you move down the screen. I know that I can get the
y-axis to increase as you move upward if I use
transform="scale(1,-1)". Using that transform, the
text displays upside down. When using that transform,
is there an easy/elegant way to get text to display
right-side up in the proper position on the screen?



  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping


-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


Re: [svg-developers] Re: transform question

2008-02-22 Thread Peter Thompson
Thanks. Exactly what I wanted.

--- Frank Bruder <[EMAIL PROTECTED]> wrote:

> I also had that problem. In mathematical graphics
> the positive y axis 
> usually points upwards. Using a different coordinate
> system for 
> positioning the text is not quite elegant. My
> solution is, when 
> you've got a text which is inside a group with
> transform="scale(1,-
> 1)" then instead of
> 
> x
> 
> write
> 
> x
> 
> 
> Regards
>Frank



  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs


-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


Re: [svg-developers] relative positioning of objects

2008-07-14 Thread Peter Thompson
Set a timer in the onload() function to run a little bit later. The objects 
will have dimension by then. Like this:

function init(evt)
{
  svgDoc=evt.target.ownerDocument;
  setTimeout("initTimer()", 10);
}
function initTimer()
{
...
}

--- On Mon, 7/14/08, barna.dani <[EMAIL PROTECTED]> wrote:

From: barna.dani <[EMAIL PROTECTED]>
Subject: [svg-developers] relative positioning of objects
To: svg-developers@yahoogroups.com
Date: Monday, July 14, 2008, 7:59 AM






Hi,
I would like to position objects with respect to each other. For
example, put a text somewhere, and put another object (1cm,1cm) from
the upper right corner of this text. I can not know in advance, what
are the dimensions of the displayed text, so I would like to obtain ot
somehow on-the-fly. 
The simplest idea is to use ECMAScript, to obtain geometrical
parameters of objects. This could work for the above simplified case,
but in my case a computer program creates the SVG output, where all
the objects should have the possibility to such alignments. I was
thinking of creating a script in the header, which obtains all
dimensions of the objects, then calculates the dependencies, sets
variables and positions the objects, but if I specify this script as
the 'onload' parameter of the document, it will run before the objects
are displayed, so I got 0 as the width of a text, for example.
Does anybody have a suggestion, how to do this?
Thanks

 














  

[Non-text portions of this message have been removed]




-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



Re: [svg-developers] Re: How to detect SVG target on mouse over event properly?

2008-07-21 Thread Peter Thompson
peychevi,
 
What is the problem with the sample code?

 














  

[Non-text portions of this message have been removed]




-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



Re: [svg-developers] Non-scalable text labels in scalable graphics?

2008-09-08 Thread Peter Thompson
Does this do what you want?


http://www.w3.org/2000/svg"; width="100%" height="100%">


Text scales, but doesn't change font size.






--- On Sun, 9/7/08, gfc22 <[EMAIL PROTECTED]> wrote:
From: gfc22 <[EMAIL PROTECTED]>
Subject: [svg-developers] Non-scalable text labels in scalable graphics?
To: svg-developers@yahoogroups.com
Date: Sunday, September 7, 2008, 8:48 AM

I expect this is a FAQ, but Google doesn't offer anything relevant:

 I have text labels in scalable SVG groups. I want the positions of the labels 
to scale with the 
 other elements but not their text size. This must be a common requirement. 
Suggestions 
 welcome.

 George

  


  

[Non-text portions of this message have been removed]




-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



Re: [svg-developers] Trying to learn SVG DOM

2008-09-24 Thread Peter Thompson
You may be able to start with a tooltip example (see: 
http://svg-whiz.com/svg/Tooltip.svg) and modify it to get what you want. There 
are other tooltip examples around.


--- On Wed, 9/24/08, zedkineece <[EMAIL PROTECTED]> wrote:

> From: zedkineece <[EMAIL PROTECTED]>
> Subject: [svg-developers] Trying to learn SVG DOM
> To: svg-developers@yahoogroups.com
> Date: Wednesday, September 24, 2008, 8:42 AM
> I have been trying to create a script that will pop-up an
> image when 
> the user hovers over a link in an SVG, relative to mouse
> position. I 
> have been unable to code or even find an example anywhere
> on the 
> Internet. Can this be accomplished? If so, can you please
> provide some 
> sample code?
> 
> TIA,
> 
> zed


  



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



Re: [svg-developers] IE woes: reload does not work

2008-10-03 Thread Peter Thompson
Using your link, I get JScript runtime error: "'this.mapSVG' is null or not an 
object line:73, column 1" on reload.

That is on Windows XP, IE 6, with ASVG 3.03.

Not that I know what's causing it. Just thought I'd report it since others 
cannot reproduce it.

FWIW, it looks pretty good with Google Chrome.



  



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



[svg-developers] napkin L&F using SVG

2008-11-14 Thread Peter Thompson
Can anybody point me to something like the Napkin L&F 
(http://napkinlaf.sourceforge.net/) done with SVG? I found a site that 
generates UML sequence diagrams in various formats (not SVG) that does a type 
of napkin L&F (http://www.websequencediagrams.com/).

Thanks.




  



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



[svg-developers] updated SVG conformance testing results?

2004-11-18 Thread Peter Thompson


Is there updated version of SVG conformance testing results available 
somewhere?  These results are from Nov 2001:
http://www.w3.org/Graphics/SVG/Test/BE-ImpStatus.html

I am looking for information related to Mozilla native SVG support 
and ASVG 6 beta.






 Yahoo! Groups Sponsor ~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Re: updated SVG conformance testing results?

2004-11-18 Thread Peter Thompson


Thanks for that link.

Does everyone just rerun the tests or is there a location where 
verifiable results are posted?







 Yahoo! Groups Sponsor ~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] Zoom without pixel replication

2004-12-03 Thread Peter Thompson

Thanks for the response.  I'll see what I can do with the fonts
 


-
Do you Yahoo!?
 Dress up your holiday email, Hollywood style. Learn more.

[Non-text portions of this message have been removed]



 Yahoo! Groups Sponsor ~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Re: Expanding and collapsing sections of bargrap hs using SVG - Can it be done?

2004-12-04 Thread Peter Thompson


Patricia - It sounds like you are displaying a Gantt chart.  I like 
Philip's first suggestion, perhaps because I haven't used glyphs.  I 
assume that you have a tree data structure somewhere with the 
parent/child relationships between the task/subtasks.  I'd use that 
to build a corresponding tree in SVG, then change visibility and the 
translate transform for each expand/contract.

Doug - Are you saying "don't use the glyph idea" or don't do the 
expanding/contracting bargraph?






 Yahoo! Groups Sponsor ~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [svg-developers] Re: Expanding and collapsing sections of bargrap hs using SVG - Can it be done?

2004-12-08 Thread Peter Thompson

The following code displays a hierarchy of rectangles that can expand/collapse. 
 You can click on a rectangle with children to hide/show the children, 
expanding and contracting the tree as required.  The groups provide the 
hierarchies.  I've only run it in ASVG3.
 

http://www.w3.org/2000/svg"; width='100%' height='100%' 
onload="init(evt)">

  
  
  


  
  
  
  
  


  
  

  

  
  
  






 


-
Do you Yahoo!?
 Read only the mail you want - Yahoo! Mail SpamGuard.

[Non-text portions of this message have been removed]



 Yahoo! Groups Sponsor ~--> 
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] How to expose & manipulate external SVG objects

2004-12-09 Thread Peter Thompson

I use those three functions (getURL(), parseXML(), and appendChild()),  to 
successfully display objects, which are subsequently manipulated.
 


-
Do you Yahoo!?
 The all-new My Yahoo! – Get yours free!

[Non-text portions of this message have been removed]



 Yahoo! Groups Sponsor ~--> 
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] overlapped getURL() calls

2005-01-10 Thread Peter Thompson


Can you have overlapped getURL() calls to different URLS with 
different async callbacks?






-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] Re: real time data publishing using servlets

2005-01-14 Thread Peter Thompson


>From SVG Unleashed, page 1018: "Setting a rate below 500 ms will not gain much 
>because this is about the average response time of the getURL function."

Just another recommendation for calling getURL a few times a second, at most.

 

 



-
Do you Yahoo!?
 The all-new My Yahoo! – Get yours free!

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] Clickable Line Chart without Markers

2005-01-18 Thread Peter Thompson


> Is there any method to create clickable (to call JavaScript function) SVG 
> line chart WITHOUT using the markers? 


Any object can respone to mouse events associated with clicking.  The mouse 
events associated with clicking include click, mousedown, and mouseup.


 



-
Do you Yahoo!?
 Yahoo! Mail - now with 250MB free storage. Learn more.

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] create your own font question

2005-01-18 Thread Peter Thompson


When I use the following code, 'A' displays as a square and 'B' 
displays as a filled-in square.

Can someone please explain why 'B' displays as a filled-in square?



http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd";>
http://www.w3.org/2000/svg"; width="100%" height="100%">
  Glyph Test
  Glyph 
Text
  

  
  
  
  

  
  ABCDE







-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] create your own font question

2005-01-18 Thread Peter Thompson

Thanks.  I assumed that it was something simple.  When I got your response, I 
was just going to write that when I use the following code, it works as I 
expected.  I added fill="none" and stroke="black" to the text element.  Now I 
get two different types of empty rectangles, which is explained by the fill 
rule that you referred me to.
 



http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd";>

http://www.w3.org/2000/svg"; width="100%" height="100%">

Glyph Test

















ABCDE






-
Do you Yahoo!?
 The all-new My Yahoo! – Get yours free!

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] Simple SVG Strip Chart Display

2005-01-21 Thread Peter Thompson

> Does anyone know if I can get my hands on an example of a SVG strip?

Try this link: http://www.zuccaralloo.de/devgroup/content.php 
and look at the dynagraph sample.

 


-
Do you Yahoo!?
 Yahoo! Search presents - Jib Jab's 'Second Term'

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] SVG validation question

2005-01-24 Thread Peter Thompson


The following code does not validate.  XMLSpy indicates "the element 
has no declaration for an attribute named 'onkeydown'".  What do I 
need to do to get the 'onkeydown' to validate?

-

http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd";>









-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] SVG validation question

2005-01-25 Thread Peter Thompson


Thanks for the response.  The following fragment validates.  If there is a 
better way to do this, please let me know.

-


http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"; [

]>
http://www.w3.org/2000/svg";>





__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Re: How to pass data from an servlet to a svg-dokument with get-url

2005-02-03 Thread Peter Thompson


Try accessing the servlet directly from a browser to see what the 
servlet outputs.  This may help you understand what is happening.

--- In svg-developers@yahoogroups.com, [EMAIL PROTECTED] wrote:
> Hi Chris,
> It's getting called. But the line   alert(urlRequestStatus.content)
> returns an alert box which is empty.
> I just don't know how to spefify a value in a servlet.
> for example I want to be test as a return from the response.
> PrintWriter out = response.getWriter();
> out.println("test");
> How can this be done?
> Danke und mit freundlichen Grüßen
> Christian
> 
>  
>  
> 
> 
> 
> 
> [Non-text portions of this message have been removed]





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] SVG Element

2005-02-04 Thread Peter Thompson

It is a DOCTYPE declaration.  Paraphrasing from SVG Unleashed, a document type 
definition defines the permitted structure of an SVG document, and, you may not 
need the DOCTYPE declaration if, for example, your browser recognizes an svg 
file by the file extension.  It also states that it is wiser to include the 
DOCTYPE declaration.
 
I know that you don't need it for svg files that are displayed in ASVG3 in IE.  
If you are using a validating editor (e.g., XMLSpy) you will definitely want to 
use the DOCTYPE.

I'd keep the DOCTYPE.
 


-
Do you Yahoo!?
 Yahoo! Search presents - Jib Jab's 'Second Term'

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Re: servlet and getURL()

2005-02-04 Thread Peter Thompson


This was discussed here not too long ago, so it should be easy to 
find the thread.  The consensus was that you couldn't expect to be 
getting data via getURL() more than a few times a second.

It doesn't mean it can't be done, just not the way that you 
suggested.  If you want to use getURL(), you could accumulate the 
sensor data on the server and send it down in chunks.






-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] Update Project What do you think about

2005-02-25 Thread Peter Thompson

I don't see anything using ASVG3.02 in Windows.

Burkhard Stollenwerk <[EMAIL PROTECTED]> wrote:Hello,

Could you have a look at my project.
What do you think about?

www.futurefarm.de/
> http://futurefarm.de/kuh2005/svgkuh.svg

Burkhard Stollenwerk

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 



-
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/
  
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 




-
Do you Yahoo!?
 Yahoo! Mail - 250MB free storage. Do more. Manage less.

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] minimize svg file

2005-03-31 Thread Peter Thompson

In Linux, if you have a file named temp.svg, type: gzip -9 -c temp.svg > 
temp.svgz
 
Not gzip, but if you are using the Adobe SVG viewer, you can right click and 
select "Save SVG As ...", change the file type to svgz and save the file as 
svgz.
 


-
Do you Yahoo!?
 Take Yahoo! Mail with you! Get it on your mobile phone.

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] personalized line endcaps

2005-04-20 Thread Peter Thompson

Are you talking about the style "stroke-linecap" with possible values: butt, 
round, and square?


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] Re: personalized line endcaps

2005-04-20 Thread Peter Thompson

You can make a line with an arrow on the end using the market element.
 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] Re: SVG & Java servlets

2005-04-28 Thread Peter Thompson
There are lots of people here who can explain this.
 
Generally, SVG and JavaScript are both running in a browser on a client.  SVG 
communicates with JavaScript via events.  JavaScript updates the DOM, which is 
the in-memory representation of the SVG.  See this link for a working example 
of JavaScript/SVG interaction:
http://www.w3.org/TR/SVG11/script.html#EventHandling
 
The Java Servlets run on a web server that supports servlets (e.g., Tomcat).  
The client JavaScript that is embedded in the SVG can communicate with a 
servlet via getURL() and postURL() calls.  For example, the client can call 
getURL(url, callback) to execute the doGet() function in a servlet.  In Tomcat, 
the url is mapped to the servlet via the web.xml file.  The doGet() function on 
the server returns a result to the client, which causes the callback function 
on the client to be called.  The callback function parses the results and 
updates the DOM, causing the display to be updated.
 
getURL() and postURL() are supported by the Adobe SVG and Batik viewers, but 
not all viewers.  
 
I don't know of a link that explains in detail with examples the 
servlet-JavaScript interaction (maybe someone else can provide this).  If you 
know how to do servlets on your web server, then getting them to work with 
client JavaScript and SVG isn't difficult.
 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] Re: getURL() problem

2005-05-03 Thread Peter Thompson
In the servlet, write the parameters to the response object in a format you can 
parse (e.g., XML, comma-separated values, whatever) then parse the data you 
receive in the callback function.

derguteonkeldod <[EMAIL PROTECTED]> wrote:
Thank you so much, Rick.
I'm a bit embarassed.
The id in the servlet was an int!
Now it works.

By the way: in the servlet I do a 'select' on a database. Then I get
about 5 parameters which I want to pass to the callback-function in
the javascript. Do you know how to do this?


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] Re: getURL() problem

2005-05-03 Thread Peter Thompson
Set the content type, like you did, get an output stream, and then print.
 
ServletOutputStream out = response.getOutputStream();
out.print("para1|para2|para3|para4");
out.flush();  // don't know if you really need this ...

derguteonkeldod <[EMAIL PROTECTED]> wrote:
Which Java method sends back the parameters? sendRedirect? Like:

res.setContentType("text/plain");
res.sendRedirect("para1|para2|para3|para4");

?


--- In svg-developers@yahoogroups.com, Peter Thompson
<[EMAIL PROTECTED]> wrote:
> In the servlet, write the parameters to the response object in a
format you can parse (e.g., XML, comma-separated values, whatever)
then parse the data you receive in the callback function.
> 
> derguteonkeldod <[EMAIL PROTECTED]> wrote:
> Thank you so much, Rick.
> I'm a bit embarassed.
> The id in the servlet was an int!
> Now it works.
> 
> By the way: in the servlet I do a 'select' on a database. Then I get
> about 5 parameters which I want to pass to the callback-function in
> the javascript. Do you know how to do this?
> 
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> [Non-text portions of this message have been removed]





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 



-
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/
  
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] Re: getURL() problem

2005-05-04 Thread Peter Thompson
There are no attributes in that XML document.  The following fragment returns 
the letter 'u' from the XML document:
 
 x=xmldoc.childNodes.item(0).childNodes.item(0).firstChild.nodeValue;
 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] Re: Creating User defined DOCTYPE by xslt

2005-05-04 Thread Peter Thompson
Jim,
 
I understand about the DTD not being useful to the renderer, but what other 
ways are there to validate SVG besides validating with an XML parser using the 
DTD?
 
Peter

 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] setAttribute("display","block") doesn't work in javascript function

2005-05-04 Thread Peter Thompson
I looked at this the first time that you posted it.  I think that there is some 
interaction between the declarative set attribute and the Javascript set 
attribute, but I don't know for sure and can't explain it (maybe someone who 
really understands this will comment).  If it were me, I'd remove the 
declarative set attribute tags and just use Javascript to do what I wanted.
 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] setAttribute("display","block") doesn't work in javascript function

2005-05-04 Thread Peter Thompson
Thanks.  That is exactly what I didn't know.

 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] marker help...

2005-05-13 Thread Peter Thompson
I think that the answer is that markers as designed to be immutables symbols, 
ie. they will use only the properties defined at marker definition.  Follow the 
link for more explanation

http://groups.yahoo.com/group/svg-developers/message/46077
 


-
Yahoo! Mail Mobile
 Take Yahoo! Mail with you! Check email on your mobile phone.

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [svg-developers] Plotting Latitude and Longitude on an SVG map

2005-05-17 Thread Peter Thompson
>To simplify my question.. How can I put dots from lat/long
>positions on an SVG map?

If you can't find out what projection was used to generate the map that you 
have, then these are the steps that I would use:
1) Pick a map data set.  Check out this web site for free map data:
http://www.evl.uic.edu/pape/data/WDB/
 
2) Pick a map projection.  Check out this web site to pick the appropriate 
projection and see the formulas:
http://mathworld.wolfram.com/topics/MapProjections.html
 
3) Write the code to convert the map data to SVG.
 
4) When you have an SVG map that displays, convert your lat/long points to 
screen X/Y using the projection you used in step 3 and add them to your map.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] Re: Plotting Latitude and Longitude on an SVG map

2005-05-18 Thread Peter Thompson
Matt,
 
If you can, please tell us how you convert post office addresses to 
latitude/longitude.
 
Peter
 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] Plotting Latitude and Longitude on an SVG map - how it was done

2005-05-19 Thread Peter Thompson
If you use a projection and write the lines using a path with relative moves, 
so they look something like this:
 

Re: [svg-developers] Re: Plotting Latitude and Longitude on an SVG map

2005-05-19 Thread Peter Thompson
Thanks for the information about spidering hacks.
 


-
Yahoo! Mail Mobile
 Take Yahoo! Mail with you! Check email on your mobile phone.

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] correct way to write code that modifies DOM?

2005-05-25 Thread Peter Thompson
I started looking at Firefox with native SVG enabled.  The following 
file shows a few ways to modify a text element character data.  You 
click on the text item and it is modified.  Simple.  They don't all 
work in Firefox/SVG.

The programmer in me says just code it the way that works, but I am 
wondering:
1) What is the recommended way to code it that is least apt to break 
in the future?
2) In the cases that don't work, what is broken, Firefox/SVG or my 
code?










  element.getFirstChild().setData
("hello")
  element.getFirstChild().data 
= "hello"
  element.firstChild.setData("hello")

  element.firstChild.data 
= "hello"
  element.firstChild.nodeValue 
= "hello"







-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] Re: correct way to write code that modifies DOM?

2005-05-25 Thread Peter Thompson
Are any of the SVG books being updated to reflect the new/correct way 
to code DOM access using Javascript?






-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] Raise Event on ASP or ASP.NET

2005-05-25 Thread Peter Thompson
ASP runs on a web server and SVG/script runs in a browser on a client.  The SVG 
events trigger event functions in the browser.  To get back to the server you 
need to call getURL() or postURL() in your event function in the browser.  The 
SVG events in the client cannot directly trigger ASP functions on the server.
 
If you have some other configuration, that is, the ASP is not running on a web 
server and the SVG/script is not in a browser, and you can explain it then 
perhaps there are other answers.

CWS <[EMAIL PROTECTED]> wrote:
I need example how to raise event on ASP and SVG like this


ON SVG:

http://www.w3.org/2000/svg"; width="500" 
height="280"onmouseover="hParent.MYFunction(evt)">
   
   


on ASP
^

Function .MYFunction(..)
.
.
.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] animated and interactive SVG

2005-05-25 Thread Peter Thompson
If I didn't need to sign up then I'd look at it.
 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] getBox() failing during onload

2005-05-25 Thread Peter Thompson
When I run the following test file in ASVG3 and Squiggle, the 'click 
here' text is blue.  When I run it in Moz/SVG the 'click here' text 
is red and there is an error in the JavaScript console indicating 
getBBox() is generating an exception.

I know that getBBox() works in all 3 environments, because if you 
click on the text the bbox is read and the returned x value is 
displayed.

Which is functioning correctly, ASVG3 and Squiggle or Moz/SVG?

Is there a better solution than a timer hack to be able to use the 
results of getBBox() during initialization in all three 
environments?  I think that I've read about a problem like this, but 
can't find that discussion.










  click here








-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] Re: open a new Browserwindow in SVG?

2005-06-03 Thread Peter Thompson
If it doesn't really have to be a browser window, you could display a new SVG 
rectangle with SVG text on it when your original rectangle is clicked, so that 
it looks like a browser window was openned.
 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] Re: Big svg

2005-06-30 Thread Peter Thompson
There are too many elements, making it unable to display, or very slow.
 
I was able to display 365,000 rects in batik and deer park (mozilla nightly 
build with SVG enabled).  It takes a long time to display, and screen updates 
were very slow.  It would no be usable.
 
What are you really trying to do?  You probably aren't planning on looking at 
all 365,000 rectangles at the same time.  If you are, then you should probably 
should be be using a raster image.  Is there another way to solve the problem, 
like displaying only the rectangles that can be seen, and updating the DOM (via 
interactions with a web server) as the user pans?  Or if continguous rectanges 
are the same color, draw them as a single rectangle?

I also tried 1000 text elements, each with 365 characters (thinking that you 
could use a character that looks like a square) and that was also too slow.
 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] panning a group of elements

2005-07-11 Thread Peter Thompson
You can pan or zoom any element or group of elements.  You can use something 
like this in you Up() function, which I assume is event driven, to pan the 
group of objects in the y direction:
 
obj=SVGDoc.getElementById("to-be-updated");
obj.setAttribute('transform','translate(0,' + change + ')'; 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] getting text width?

2005-07-11 Thread Peter Thompson
What specific function can't you get to work?  The following code is just one 
way to get the length of text, which could be what you mean by 'width':
 

http://www.w3.org/2000/svg"; onload="onInit(evt)">


  Some text here
  text length goes 
here




rg_espinola <[EMAIL PROTECTED]> wrote:
hi all, 
  i do have a problem in getting the text font width.

regards,
Robert

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] Re: panning a group of elements

2005-07-11 Thread Peter Thompson
You can pan as much as you want in any direction.  If you look at your code I 
think that you'll see that you aren't updating the translate variable 
correctly.  Put in alert() functions to display the translate variable before 
and after you modify it; you'll see what I mean.
 


-
 Sell on Yahoo! Auctions  - No fees. Bid on great items.

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] dtd

2005-07-12 Thread Peter Thompson
I can't answer that question, but if I were setting styles that don't change 
dynamically, I'd be use a style tag in a defs section, like:
 





 
Why are you putting them in the DTD?


Erwan TROEL <[EMAIL PROTECTED]> wrote:
i try to create an external DTD:

the code of my svg:





http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/";
a3:scriptImplementation="Adobe" zoomAndPan="magnify">



the code of my DTD:










it seems to find no DTD


-
 Sell on Yahoo! Auctions  - No fees. Bid on great items.

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] SVG Parser in VC++

2005-07-12 Thread Peter Thompson
SVG is just XML, so you are looking for an XML parser for C++.  Google for "xml 
parser c++" and you'll quickly find the Xerces parser, which has been ported to 
Windows/VC++.  You can find other c++ parsers if you don't like that one.  
There is also MSXML.

"P. Gnana Prakash" <[EMAIL PROTECTED]> wrote:Hi all,

Right now we are developing drawing editor application. In this 
application, one of the requirement is saving and loading  the drawing 
in SVG format. Anyone please give me an idea about how to write the SVG 
parser or is there anybody already created the parser for this please 
send it to me.

Regards,
Prakash.



-
 Sell on Yahoo! Auctions  - No fees. Bid on great items.

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] dtd

2005-07-12 Thread Peter Thompson
You can use a stylesheet that can be applied to multiple files.  See 
http://www.w3.org/TR/SVG/styling.html for an example.  There is also an example 
on that page, so you can make sure that it works for your environment.  You 
can't reuse styles in a stylesheet, as Jerome pointed out.
 
Jerome, can you please point to a small example that shows using ENTITIES for 
styling, where the entities are declared in an external file?

 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] Loading SVG in a JSP

2005-07-28 Thread Peter Thompson
If I understand your question, this is what I suggest:  Lets assume that the 
main SVG file is created dynamically on the server using JSP.  Lets assume that 
you use the primary database key as the id attribute on the SVG objects that 
you want to detect and get more information about.

Lets assume that the SVG has been generated, loaded, and displayed.  When the 
user clicks on one of the objects, you can use get the id of the clicked object 
easily.  Then you can call a JSP on the server using getURL(), passing the id 
as part of url (e.g., http://www.yourserver.com/getData.jsp?id=abc123).
 
The getData.jsp function would get the id parameter, query the database, and 
return the results as plain text (or XML or whatever) to the callback function 
in the client, which would modify the DOM, causing the new data to be displayed 
in the main SVG display.
 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] Newbie SVG Developer

2005-08-07 Thread Peter Thompson
Since you don't know SVG, I suggest that you try hand coding a few SVG files 
that contain a subset of the type of data/display you want.  In your case, a 
few simple schematics will do.  I suggest this because you need to understand 
what your program is supposed to produce if you are going to write that code.
 
You can write a C/C++ program that generates SVG using file I/O.   As you learn 
more about what you are trying to do, you may find needs/uses for the libraries 
suggested by Holger.
 


-
 Start your day with Yahoo! - make it your home page 

[Non-text portions of this message have been removed]



 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12h6n96dd/M=362329.6886308.7839368.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123447000/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] invisible objects

2005-08-23 Thread Peter Thompson
You put ids on the elements or groups of elements that you want to show/hide. 
You can find the elements that you want to show/hide using the id when a menu 
item is selected.  You modify attributes to show/hide elements or groups of 
elements.  You can use either display, visibility, or opacity attributes.  See 
http://svg-whiz.com/svg/HideShow.svg for a working example of all three 
attributes.

chruschtschow64 <[EMAIL PROTECTED]> wrote:Hi there. 

I have a website containing a map exported from ArcGIS with 
mapviewSVG. The site contains a drop-down menu to choose, highlight 
and zoom to certain elements of the map. some of the elements in the 
are stacked and covering other elements. How do I have to manipulate 
the embedded SVG-file in order to achieve that the element chosen in 
the drop-down menu is visible and the others are hidden?




-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 



SPONSORED LINKS 
Format Data Svg Computer internet 

-
YAHOO! GROUPS LINKS 


Visit your group "svg-developers" on the web.
  
To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
  
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


-




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hvqbutm/M=362329.6886308.7839368.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1124819124/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] Re: invisible objects

2005-08-23 Thread Peter Thompson
Assuming that your drop down menus are coded using SVG, then you respond to the 
onmousedown event to capture the mouse click on an element.  You write your own 
code to handle the onmousedown event, like look up the element id(s) and change 
the visibility I mentioned previously.
 
If I have not answered your question and you post a small test file, maybe 
someone can look at it and answer your question.

chruschtschow64 <[EMAIL PROTECTED]> wrote:

I know the ID of the elements, but what I don´t know is the js-command 
in the document which makes th edocument react on the drop-down-menu. 
I´m pretty new to JS...
Maybe I could send you a small test project with the same problem?


-
 Start your day with Yahoo! - make it your home page 

[Non-text portions of this message have been removed]



 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hsdft2b/M=362329.6886308.7839368.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1124825992/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] parseXML doesnt split up XML nodes

2005-10-17 Thread Peter Thompson
I think that you need to Response.write something like "" 
after you set the content type but before Response.write mydoc.xml (to make 
what you send be a valid XML document).  I've only done this in Java, so I may 
not be correct for ASP.
 
Depending on your application, you may be able to test sendData.asp by 
accessing that page directly from the browser and seeing what is returned, if 
the browser can parse/display XML.



-
 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.

[Non-text portions of this message have been removed]



 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 






Re: [svg-developers] Background color and border

2005-10-31 Thread Peter Thompson
For background and border, I would add something like:
 

 
before the circle.


fuliopen <[EMAIL PROTECTED]> wrote:
Hi, 

I am a new user for svg. In the following svg code, I like to add 
background color and border. I know that this piece <. . . width="200" 
height="200" . . .> defines the area of background.  What and where do 
I add code for background color and border? 

http://www.w3.org/2000/svg";> 

 

Thanks for teaching. 
Fuliopen 



-
 Yahoo! FareChase - Search multiple travel sites in one click.  

[Non-text portions of this message have been removed]



 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] How can i change color of a marker?

2005-11-03 Thread Peter Thompson
You can't. SVG markers are designed to be immutables symbols,
ie. they will use only the properties defined at marker definition. Follow the
link for more explanation

http://groups.yahoo.com/group/svg-developers/message/46077

 
You can follow David Dailey's example to create something that might meet your 
needs.
 
 


-
 Yahoo! FareChase - Search multiple travel sites in one click.  

[Non-text portions of this message have been removed]



 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] Re: Please help. How can I get width of text element?

2005-11-14 Thread Peter Thompson
The call getComputedTextLength() might be what you are looking for.  I know 
that it works on ASVG3 and Squiggle.

  
How can I calculate? if the width of leters is different. I want to 
find the width of the text for different browser. Thank you for your 
answer.




-
 Yahoo! FareChase - Search multiple travel sites in one click.  

[Non-text portions of this message have been removed]



 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] Easy nooby question...svg

2005-11-22 Thread Peter Thompson
You can use the viewbox attribute on the svg element.

--- Jatinder <[EMAIL PROTECTED]> wrote:

> I have a svg document what is has very large
> dimensionsi.e my main 
>  root svg tag is width 4000px and height
> 5000px(approx..cant remember 
> the actual size)...in other words the whole thing
> has huge dimensions.
> 
> The problem is that i have to give a preview of the
> svg on my weppage
> ...in an  tag which is around 300x400.
> 
> 
> When i display/put the svg directly to the tag its
> soo large that i 
> have to zoom out a number of times before i can seen
> anything.
> 
> Can you please tell me how to make my svg fit into
> the embed tag.
> 
> 
> 
> 
> 





__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


 Yahoo! Groups Sponsor ~--> 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] Re: anti-aliasing problem

2005-11-22 Thread Peter Thompson
I think that you can get the effect you are trying to
get in ASVG3 by using rect statements like:




That is, don't use opacity.  You'll need to figure out
the range of rgb values to get an acceptable
gray-scale for your application.






__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


 Yahoo! Groups Sponsor ~--> 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/WpTY2A/izNLAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] Re: resize and draggable the group of the SVG element.....

2010-11-10 Thread Peter Thompson
Here is a simple example that shows the drag/drop and resize of a rectangle: 
http://fastsvg.com/notes/drag1.svg

It doesn't show a selector box or put drag handles on the rectangle when it is 
selected. You resize the rectangles by grabbing'near' the edges.

Peter

--- On Thu, 11/4/10, jeff_schiller  wrote:

From: jeff_schiller 
Subject: [svg-developers] Re: resize and draggable the group of the SVG 
element.
To: svg-developers@yahoogroups.com
Date: Thursday, November 4, 2010, 3:34 PM







 



  



  
  
  

--- In svg-developers@yahoogroups.com, "Mr Rauf"  wrote:

>

> I am working on a SVG and now want to let a user resize an object

> using draggable corners, very much like in SVG-edit (http://svg-

> edit.googlecode.com/svn/trunk/editor/svg-editor.html). The

> functionality should work as follows: The user selects the SVG objects,

> drags it to the main `canvas' and once on the `canvas', four corners

> on the outside of the object appear, the user can drag on each of the

> corner points & drag to enlarge the object. The objects will be

> rectangular in shape and created using paths, not using the SVG `rect'

> function. Would anyone have any suggestions as to how this should be

> implemented?

> Thanks in Advance..

>



Here's how SVG-edit did it:



- have listeners for mousedown, mouseup, mousemove

- if an element is clicked on (in mouseup), then that is your currently 
selected element

- put a 'selector box' element on top of the selected element (that has the 
visible handles you can drag)

- in your mousemove, detect if a handle is being dragged, while it's being 
dragged, determine what the element's new size should be and either:  a) 
recompute the element's geometry to fit into that box or b) put a transform on 
that element



See SVG-edit's code involving Selector, SelectorManager and 
recalculateDimensions() and the mouse event handler functions.



Note that these are not trivial pieces of code and they took awhile to get into 
a working state.



Best of luck,

Jeff






 





 



  






  

[Non-text portions of this message have been removed]





-
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

<*> To change settings via email:
svg-developers-dig...@yahoogroups.com 
svg-developers-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
svg-developers-unsubscr...@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/