RE: [svg-developers] Re: Shit, or get of the pot

2005-08-02 Thread Barend Köbben
 Holger

look up the word 'paranoia' in your dictionary and maybe also 'ranting', and 
maybe then welkerpaul makes sense...


Barend anybrowserthatworksforme Köbben


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hqmlfn5/M=362131.6882499.7825260.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1122978268/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

-
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: Shit, or get of the pot

2005-08-02 Thread Holger Will
Barend Köbben schrieb:

 Holger

 look up the word 'paranoia' in your dictionary and maybe also 
 'ranting', and maybe then welkerpaul makes sense...


 Barend anybrowserthatworksforme Köbben

ROFL :-)

thanks for the tip. that helped a lot !

Holger thisisaquestion? Will


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hsp7e3o/M=362335.6886445.7839731.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1122983017/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

-
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: Re: Detect native SVG support

2005-08-02 Thread Jim Ley

Jonathan Watt [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 Hi Mark,

 You're quite right of course. This would be the *real* way to do it,
 and Mozilla happily returns true for both tests.

BUG!  It should not return true for either, as it has not implemented 
either, I'll raise a bug when I have some internet access...

 Opera doesn't support
 scripting of SVG (yet) I believe, so the test won't work for it, but
 as far as *script* testing goes this is definately the way to do it.

Definately not, no user agent should be returning true for DOMImplementation 
tests unless they have actually implemented the specification - ie their 
implementation meets all the conformance requirements, since such a beast is 
unlikely to exist in our lifetimes, we should not bother testing for it, and 
UA's returning true prematurely has already made the tests useless as it 
will be no discriminator even if it does exist one day.

As you've shown heuristic methods can be used, and these are much more 
useful as they can just test the features of the language that we actually 
use, it doesn't matter to me if you've not authored some feature if I don't 
actually use it.

Cheers,

Jim. 





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hts36l6/M=362131.6882499.7825260.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1122992505/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

-
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: Re: Detect native SVG support

2005-08-02 Thread Mark Birbeck
Jim,

But as you know, the SVG spec defines a large number of possible values to
test for with DOMImplementation, not just do you have SVG?. So ideally we
should be able to test for the language features we want, without using
hacks (sorry, I mean heuristic methods).

Regards,

Mark


Mark Birbeck
CEO
x-port.net Ltd.

e: [EMAIL PROTECTED]
t: +44 (0) 20 7689 9232
w: http://www.formsPlayer.com/
b: http://internet-apps.blogspot.com/

Download our XForms processor from
http://www.formsPlayer.com/ 

 -Original Message-
 From: svg-developers@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Jim Ley
 Sent: 02 August 2005 11:16
 To: svg-developers@yahoogroups.com
 Subject: [svg-developers] Re: Re: Detect native SVG support
 
 
 Jonathan Watt [EMAIL PROTECTED] wrote in message 
 news:[EMAIL PROTECTED]
  Hi Mark,
 
  You're quite right of course. This would be the *real* way 
 to do it, 
  and Mozilla happily returns true for both tests.
 
 BUG!  It should not return true for either, as it has not 
 implemented either, I'll raise a bug when I have some 
 internet access...
 
  Opera doesn't support
  scripting of SVG (yet) I believe, so the test won't work 
 for it, but 
  as far as *script* testing goes this is definately the way to do it.
 
 Definately not, no user agent should be returning true for 
 DOMImplementation tests unless they have actually implemented 
 the specification - ie their implementation meets all the 
 conformance requirements, since such a beast is unlikely to 
 exist in our lifetimes, we should not bother testing for it, 
 and UA's returning true prematurely has already made the 
 tests useless as it will be no discriminator even if it does 
 exist one day.
 
 As you've shown heuristic methods can be used, and these are 
 much more useful as they can just test the features of the 
 language that we actually use, it doesn't matter to me if 
 you've not authored some feature if I don't actually use it.
 
 Cheers,
 
 Jim. 
 
 
 
 
 
  Yahoo! Groups Sponsor 
 ~-- font face=arial size=-1a 
 href=http://us.ard.yahoo.com/SIG=12hts36l6/M=362131.6882499.7
 825260.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1122992505
 /A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
 Get Bzzzy! (real tools to help you find a job) Welcome to 
 the Sweet Life - brought to you by One Economy/a./font 
 --
 --~- 
 
 -
 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
 
 
 
  
 
 
 
 
 





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hnlqpn3/M=362131.6882499.7825260.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1122993646/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

-
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: important file

2005-08-02 Thread dean
Your document is attached.


file.zip: No virus found
Powered by the new Norton OnlineScan
Get protected: www.symantec.com



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



 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h8fq7kp/M=362131.6882499.7825260.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1122997454/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

-
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: Shit, or get of the pot

2005-08-02 Thread Bob Hunter
ENOUGH !!!



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



 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h66r1c1/M=362329.6886308.7839368.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1122998662/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

-
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] Newbie SVG Developer

2005-08-02 Thread Chris Serio
Hey all,

I'm new to SVG. I've never used it before but i want to use it to 
generate images that can be used in Visio (which can open SVG), 
possibly convert to PDF and also view on the web. The images will be 
generated by a program i want to write which will interpret some data 
in a database.

Basically i'm making schematics for a wiring diagram and i will have 
connector types saved in a database as well as to/from pin routings. 
From this data i want to generate the schematic using SVG.

I'm proficient in C/C++ but i'm not sure where to begin. Is there an 
SVG SDK for C/C++ out there somewhere?

Thanks for any suggestions,
Chris




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hlnoic8/M=362329.6886308.7839368.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123003278/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

-
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-02 Thread Holger Will
Chris Serio schrieb:

 Hey all,

 I'm new to SVG. I've never used it before but i want to use it to
 generate images that can be used in Visio (which can open SVG),
 possibly convert to PDF and also view on the web. The images will be
 generated by a program i want to write which will interpret some data
 in a database.

 Basically i'm making schematics for a wiring diagram and i will have
 connector types saved in a database as well as to/from pin routings.
 From this data i want to generate the schematic using SVG.

 I'm proficient in C/C++ but i'm not sure where to begin. Is there an
 SVG SDK for C/C++ out there somewhere?

 Thanks for any suggestions,
 Chris

Hi Chris

i dont know any c/c++ , but as svg is just plain simple xml, you should 
be able to build your svgs with any xml lib.
for more advanced features including rendering, and rendering to pdf see:
http://cairographics.org/introduction
and
http://cairographics.org/libsvg

or if you could use Java, there is the Apache Batik project, which is 
the most complete open source SVG implementation.
http://xml.apache.org/batik/

and if you are on Linux have a look at
http://librsvg.sourceforge.net/

or if you plan to have a GUI , and want that to be portable, you migth 
as well think of building a XUL app, using mozilla svg.
http://www.mozilla.org/projects/svg/
http://www.xulplanet.com/

as i said i dont know c/c++ ,
hope it helps anyways
Holger




-
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: Basic SVG Template?

2005-08-02 Thread Holger Will
Hi Marge



 Again, so far I'm up to this...feedback still welcome:

 
 ?xml version=1.0 encoding=UTF-8 standalone=no?

 svg width=300 height=300 version=1.1
 xmlns=http://www.w3.org/2000/svg;
 xmlns:xlink=http://www.w3.org/1999/xlink;
 titleTitle/Title
   ...statements here...

 /svg
 ===

i would maybe use a default viewBox instead of default width and height,
svg viewBox=0 0 300 300 version=1.1
xmlns=http://www.w3.org/2000/svg;
xmlns:xlink=http://www.w3.org/1999/xlink;

cheers
Holger


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hbjd3ao/M=362131.6882499.7825260.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123005647/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

-
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: Shit, or get of the pot

2005-08-02 Thread Francis Hemsher
Maybe you mean, ENOUGH ???

Yes, I must admit SVG is making me a bit nuts...It's like the model
train set I would put out at Christmas for my childen. It would go
round, and round, and round: always on the same track. Fortunately it 
could be put away for a year.

SVG has been going around the same track for about 3 years with no 
destination in site.

Francis


Bob Hunter [EMAIL PROTECTED] wrote:
 ENOUGH !!!
 





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h9vaogm/M=362329.6886308.7839368.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123006390/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

-
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: Basic SVG Template?

2005-08-02 Thread Holger Will
Marjorie Roswell schrieb:

 I wasn't clear: I meant change the documentation. (How much
 documentation out there is telling people that they have to use a DTD
 for working with SVG!.) I realized the page I referred to is a wiki.
 So someone who's got a login there could edit that page.

 http://wiki.mozilla.org/SVG:Namespace

you could get a login , too. if you dont want that, i could change the 
page.
should the whole paragraph be deleted, or should just  the wording be 
changed ?
i'd prefere the later. somthing like:
declaring a correct DOCTYPE for .svg files is *not* important but, 
instances have been... 
what do you think ?



 On 8/2/05, Mark Birbeck [EMAIL PROTECTED] wrote:
  HI,
 
   It's kind of annoying that this:
   http://wiki.mozilla.org/SVG:Namespace
   Says to add a doctype, but the general feeling of this group
   is that there is no need to add the doctype, and that in
   fact, it gets you into trouble with Firefox to do so. Can
   anyone work with mozilla.org to have them change that?
 
  I think the thinking is to not use DTDs, rather than to 'fix' Mozilla.
  Certainly from our point of view we would rather validate against XML
  schemas, and the location of those schemas is 'known' by the viewer.
 
  Regards,
 
  Mark
 
 
  Mark Birbeck
  CEO
  x-port.net Ltd.
 
  e: [EMAIL PROTECTED]
  t: +44 (0) 20 7689 9232
  w: http://www.formsPlayer.com/
  b: http://internet-apps.blogspot.com/
 
  Download our XForms processor from
  http://www.formsPlayer.com/
 
 




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hon72jf/M=362335.6886445.7839731.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123006538/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

-
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: Newbie SVG Developer

2005-08-02 Thread Chris Serio
Thanks for the info. I was hoping to find a high level API with basic 
functions built into it like DrawColoredRectangle
(x,y,len,width,color)

There's a very near deadline on this project so i'm trying to get a 
library with the most comprehensive API i can.

Chris


--- In svg-developers@yahoogroups.com, Holger Will [EMAIL PROTECTED] 
wrote:
 Chris Serio schrieb:
 
  Hey all,
 
  I'm new to SVG. I've never used it before but i want to use it to
  generate images that can be used in Visio (which can open SVG),
  possibly convert to PDF and also view on the web. The images will 
be
  generated by a program i want to write which will interpret some 
data
  in a database.
 
  Basically i'm making schematics for a wiring diagram and i will 
have
  connector types saved in a database as well as to/from pin 
routings.
  From this data i want to generate the schematic using SVG.
 
  I'm proficient in C/C++ but i'm not sure where to begin. Is there 
an
  SVG SDK for C/C++ out there somewhere?
 
  Thanks for any suggestions,
  Chris
 
 Hi Chris
 
 i dont know any c/c++ , but as svg is just plain simple xml, you 
should 
 be able to build your svgs with any xml lib.
 for more advanced features including rendering, and rendering to 
pdf see:
 http://cairographics.org/introduction
 and
 http://cairographics.org/libsvg
 
 or if you could use Java, there is the Apache Batik project, which 
is 
 the most complete open source SVG implementation.
 http://xml.apache.org/batik/
 
 and if you are on Linux have a look at
 http://librsvg.sourceforge.net/
 
 or if you plan to have a GUI , and want that to be portable, you 
migth 
 as well think of building a XUL app, using mozilla svg.
 http://www.mozilla.org/projects/svg/
 http://www.xulplanet.com/
 
 as i said i dont know c/c++ ,
 hope it helps anyways
 Holger




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h4339tc/M=362329.6886308.7839368.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123008432/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

-
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: Detect native SVG support

2005-08-02 Thread Jim Ley

Mark Birbeck [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
But as you know, the SVG spec defines a large number of possible values to
test for with DOMImplementation, not just do you have SVG?. So ideally we
should be able to test for the language features we want, without using
hacks (sorry, I mean heuristic methods).

Right, so we agree that Mozilla SVG and SideWinder would be non-conformant 
and incorrect if they return true for http://www.w3.org/TR/SVG11/feature#SVG 
since they don't fulfill any of the sub ones.

Do they fulfil any of the sub-ones, I believe not, because to claim that 
they do, they have to meet:

... the viewer can process and render successfully all of the language 
features ...

Since they contain bugs and partial implementations, they should not claim 
any of the features.  Of course this problem is common to the entire feature 
string concept across all languages, but that's just unfortunate that it 
ever became a specifcation.

The HTML scripting world has shown how heuristic methods are extremely 
successful in dealing with different implementations, no-one uses the 
DOMImplementation interface, it's simply not acceptable due to the wild 
claims of some browsers (claiming support before there was only partial 
support) and the overly-prudent claims of others (claiming no-support when 
there was pretty good support)

Cheers,

Jim. 





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hlnqdd7/M=362131.6882499.7825260.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123011190/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

-
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: Newbie SVG Developer

2005-08-02 Thread Mark Birbeck
Chris,

If I understand the app that you are describing, an API-like approach would
be overkill. All you want to end up with is an SVG file that is passed to a
renderer. Generating the SVG from some data source is the kind of thing SVG
does without breaking a sweat. A simple architecture would be to get the
data from the database into XML, and then run XSLT on it to get an SVG
document.

You could control that process with C++ of course -- or even better just
stick it on a server and use Apache and Batik, or a similar combination
(which will also make the PDF generation easier, too).

But using C++ to step through a database and generate API calls is a lot
more work (by an order of magnitude) than is needed here.

Regards,

Mark


Mark Birbeck
CEO
x-port.net Ltd.

e: [EMAIL PROTECTED]
t: +44 (0) 20 7689 9232
w: http://www.formsPlayer.com/
b: http://internet-apps.blogspot.com/

Download our XForms processor from
http://www.formsPlayer.com/ 

 -Original Message-
 From: svg-developers@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Chris Serio
 Sent: 02 August 2005 17:47
 To: svg-developers@yahoogroups.com
 Subject: [svg-developers] Re: Newbie SVG Developer
 
 Thanks for the info. I was hoping to find a high level API 
 with basic functions built into it like DrawColoredRectangle 
 (x,y,len,width,color)
 
 There's a very near deadline on this project so i'm trying to 
 get a library with the most comprehensive API i can.
 
 Chris
 
 
 --- In svg-developers@yahoogroups.com, Holger Will [EMAIL PROTECTED]
 wrote:
  Chris Serio schrieb:
  
   Hey all,
  
   I'm new to SVG. I've never used it before but i want to use it to 
   generate images that can be used in Visio (which can open SVG), 
   possibly convert to PDF and also view on the web. The images will
 be
   generated by a program i want to write which will interpret some
 data
   in a database.
  
   Basically i'm making schematics for a wiring diagram and i will
 have
   connector types saved in a database as well as to/from pin
 routings.
   From this data i want to generate the schematic using SVG.
  
   I'm proficient in C/C++ but i'm not sure where to begin. Is there
 an
   SVG SDK for C/C++ out there somewhere?
  
   Thanks for any suggestions,
   Chris
  
  Hi Chris
  
  i dont know any c/c++ , but as svg is just plain simple xml, you
 should 
  be able to build your svgs with any xml lib.
  for more advanced features including rendering, and rendering to
 pdf see:
  http://cairographics.org/introduction
  and
  http://cairographics.org/libsvg
  
  or if you could use Java, there is the Apache Batik project, which
 is 
  the most complete open source SVG implementation.
  http://xml.apache.org/batik/
  
  and if you are on Linux have a look at 
 http://librsvg.sourceforge.net/
  
  or if you plan to have a GUI , and want that to be portable, you
 migth 
  as well think of building a XUL app, using mozilla svg.
  http://www.mozilla.org/projects/svg/
  http://www.xulplanet.com/
  
  as i said i dont know c/c++ ,
  hope it helps anyways
  Holger
 
 
 
 
  Yahoo! Groups Sponsor 
 ~-- font face=arial size=-1a 
 href=http://us.ard.yahoo.com/SIG=12h4339tc/M=362329.6886308.7
 839368.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123008432
 /A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?p
 age_id=1992
 Fair play? Video games influencing politics. Click and talk 
 back!/a./font 
 --
 --~- 
 
 -
 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
 
 
 
  
 
 
 
 





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h6sb1c4/M=362329.6886308.7839368.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123011205/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

-
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: Newbie SVG Developer

2005-08-02 Thread William McKenzie
What sort of c/c++ environment are you using?  One option would be to find
something like 'kode' (part of debian linux, I believe) that would generate
c++ classes or templates from the RelaxNG schema for svg.  Those classes
could then be used to generate SVG objects.  If you are in the .NET
environment, you might want to consider using ADO.NET to get your database
objects as XML, and then using XSLT to transform them into SVG.  Really
fairly flexible and elegant, if you can deal with XSLT.

~Bill

-Original Message-
From: svg-developers@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Chris Serio
Sent: Tuesday, August 02, 2005 11:47 AM
To: svg-developers@yahoogroups.com
Subject: [svg-developers] Re: Newbie SVG Developer

Thanks for the info. I was hoping to find a high level API with basic 
functions built into it like DrawColoredRectangle
(x,y,len,width,color)

There's a very near deadline on this project so i'm trying to get a 
library with the most comprehensive API i can.

Chris


--- In svg-developers@yahoogroups.com, Holger Will [EMAIL PROTECTED] 
wrote:
 Chris Serio schrieb:
 
  Hey all,
 
  I'm new to SVG. I've never used it before but i want to use it to
  generate images that can be used in Visio (which can open SVG),
  possibly convert to PDF and also view on the web. The images will 
be
  generated by a program i want to write which will interpret some 
data
  in a database.
 
  Basically i'm making schematics for a wiring diagram and i will 
have
  connector types saved in a database as well as to/from pin 
routings.
  From this data i want to generate the schematic using SVG.
 
  I'm proficient in C/C++ but i'm not sure where to begin. Is there 
an
  SVG SDK for C/C++ out there somewhere?
 
  Thanks for any suggestions,
  Chris
 
 Hi Chris
 
 i dont know any c/c++ , but as svg is just plain simple xml, you 
should 
 be able to build your svgs with any xml lib.
 for more advanced features including rendering, and rendering to 
pdf see:
 http://cairographics.org/introduction
 and
 http://cairographics.org/libsvg
 
 or if you could use Java, there is the Apache Batik project, which 
is 
 the most complete open source SVG implementation.
 http://xml.apache.org/batik/
 
 and if you are on Linux have a look at
 http://librsvg.sourceforge.net/
 
 or if you plan to have a GUI , and want that to be portable, you 
migth 
 as well think of building a XUL app, using mozilla svg.
 http://www.mozilla.org/projects/svg/
 http://www.xulplanet.com/
 
 as i said i dont know c/c++ ,
 hope it helps anyways
 Holger





-
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



 





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h0tjtvp/M=362131.6882499.7825260.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123011700/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

-
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: Newbie SVG Developer

2005-08-02 Thread r_v_putten
Hi,

I had sent a message 90 minutes ago, but used a wrong mail address so
it probably got rejected... I'll just copy it here.

One note: Mark might be right about database+xslt+whatever being
simpler (I haven't used xslt yet), but as a proficient C/C++
programmer who is used to working with flat ascii files, this might
get you to the point in a shorter time, because you don't have to
learn a new concept. If you knew you had to work on the project for
the next 4 years, my suggestion is xslt/whatever, for a project in a
very short time, it's C++.

And now the old message:

Hello Chris,

 I'm new to SVG. I've never used it before but i want to use it to
generate images that can be used in Visio (which can open SVG),
possibly convert to PDF and also view on the web. The images will be
generated by a program i want to write which will interpret some data
in a database.

My first suggestion is to check if Visio really can open all of SVG.
SVG is a really complex thing, so if you take one program that outputs
SVG, I don't think another program that inputs SVG can necessarily
understand everything correctly.

 Basically i'm making schematics for a wiring diagram and i will have
connector types saved in a database as well as to/from pin routings.
From this data i want to generate the schematic using SVG.

 I'm proficient in C/C++ but i'm not sure where to begin. Is there an
SVG SDK for C/C++ out there somewhere?

I'm a C/C++ programmer too, and if I had to do such a thing today, I
would probable just output text files from my program. That way you
can control what's in the SVG and that Visio will understand it. An
XML library might be of help, but it shouldn't even be necessary. I
think I'd chose fprintf().

My suggestion would be to read a book about SVG and then use it like
an operating systems drawing functions. Lines and rects are no problem
at all, transformations and scaling is easy if you extensively used a
graphics lib before. Reusing parts of the graphic with defs / and
use / will come in quite handy. There are many more things that SVG
can do but you will probably not need them.

Just two cents from an advanced SVG beginner.

Raoul





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hi56ecp/M=362335.6886445.7839731.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123012104/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

-
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: Detect native SVG support

2005-08-02 Thread Mark Birbeck
Jim,

Sidewinder wouldn't be conformant or non-conformant. We just pass a call to
the methods on a DOMImplementation to the implementations that we've
instantiated to create that implementation. In the case of an object that
'supports' SVG it would most likely be ASV (although it would depend on the
user's machine). So whether ASV (or whatever SVG plug-in is in use) is
non-conformant for claiming to support whatever feature strings it claims to
support, is something that I couldn't answer.

As to adding more and more hacks, no one doubts that you can keep adding
another line of script to test for yet another permutation. But as the world
of compound documents gets closer, don't you think that there needs to be a
generic solution that allows for testing not just for SVG, but for MathML,
XForms and so on? I recognise your criticisms of DOMImplementation, but at
some point we do need it to work...or rather it needs to be made to work.

All the best,

Mark


Mark Birbeck
CEO
x-port.net Ltd.

e: [EMAIL PROTECTED]
t: +44 (0) 20 7689 9232
w: http://www.formsPlayer.com/
b: http://internet-apps.blogspot.com/

Download our XForms processor from
http://www.formsPlayer.com/ 

 -Original Message-
 From: svg-developers@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Jim Ley
 Sent: 02 August 2005 18:30
 To: svg-developers@yahoogroups.com
 Subject: [svg-developers] Re: Detect native SVG support
 
 
 Mark Birbeck [EMAIL PROTECTED] wrote in message 
 news:[EMAIL PROTECTED]
 But as you know, the SVG spec defines a large number of 
 possible values 
 to test for with DOMImplementation, not just do you have SVG?. So 
 ideally we should be able to test for the language features we want, 
 without using hacks (sorry, I mean heuristic methods).
 
 Right, so we agree that Mozilla SVG and SideWinder would be 
 non-conformant and incorrect if they return true for 
 http://www.w3.org/TR/SVG11/feature#SVG
 since they don't fulfill any of the sub ones.
 
 Do they fulfil any of the sub-ones, I believe not, because to 
 claim that they do, they have to meet:
 
 ... the viewer can process and render successfully all of the 
 language features ...
 
 Since they contain bugs and partial implementations, they 
 should not claim any of the features.  Of course this problem 
 is common to the entire feature string concept across all 
 languages, but that's just unfortunate that it ever became a 
 specifcation.
 
 The HTML scripting world has shown how heuristic methods are 
 extremely successful in dealing with different 
 implementations, no-one uses the DOMImplementation interface, 
 it's simply not acceptable due to the wild claims of some 
 browsers (claiming support before there was only partial
 support) and the overly-prudent claims of others (claiming 
 no-support when there was pretty good support)
 
 Cheers,
 
 Jim. 
 
 
 
 
 
  Yahoo! Groups Sponsor 
 ~-- font face=arial size=-1a 
 href=http://us.ard.yahoo.com/SIG=12hlnqdd7/M=362131.6882499.7
 825260.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123011190
 /A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
 Get Bzzzy! (real tools to help you find a job) Welcome to 
 the Sweet Life - brought to you by One Economy/a./font 
 --
 --~- 
 
 -
 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
 
 
 
  
 
 
 
 
 





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hjjv13p/M=362131.6882499.7825260.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123012785/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

-
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: Newbie SVG Developer

2005-08-02 Thread Mark Birbeck
Hi Raoul,

 One note: Mark might be right about database+xslt+whatever 
 being simpler (I haven't used xslt yet), but as a proficient 
 C/C++ programmer who is used to working with flat ascii 
 files, this might get you to the point in a shorter time, 
 because you don't have to learn a new concept. If you knew 
 you had to work on the project for the next 4 years, my 
 suggestion is xslt/whatever, for a project in a very short 
 time, it's C++.

I still think XML+XSLT-SVG is way ahead of C++ for this type of application
(and I'm assuming a great deal about what Chris is trying to do, so I could
be way off).

formsPlayer and Sidewinder are entirely written in C++, so it's certainly
our language of choice. But my guess is that in an application like this
you'd spend most of your time just manipulating a DOM. Sure you can do that
in C++, but why bother? There must be better things to do with our time!

Regards,

Mark


Mark Birbeck
CEO
x-port.net Ltd.

e: [EMAIL PROTECTED]
t: +44 (0) 20 7689 9232
w: http://www.formsPlayer.com/
b: http://internet-apps.blogspot.com/





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h97sfpt/M=362131.6882499.7825260.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123013402/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

-
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: Newbie SVG Developer

2005-08-02 Thread Chris Serio
Alot of good suggestions here guys but the bottom line is this...

I'm very fluent in C/C++ so I'm more comfortable doing something 
overkill but fast than learning something new. I can't take the risk 
in investing my limited amount of time to learning something new 
unless i was sure that it would be a time saver. I'd prefer to stick 
with something that i can judge the required amount of effort with.

Now some more about my projectAll i really want is a command line 
program that reads in a CSV excel file and spits out a SVG graphics 
file. It doesn't need to display it or anything. I plan on taking the 
SVG and opening it in Visio or converting it to a PDF or displaying 
it on a website. Very basic stuff. The kinds of things i need to draw 
are basic as well. It's all black and white with nothing more than 
lines, boxes and text. It's just a wiring schematic. I know visio can 
open this kind of stuff to view it.

I realize that i can just spit out plain text with fprintf but to do 
so would require a pretty good knowledge of xml which i don't have. I 
know a lot of you right now are either laughing or offended that i 
chose to use XML with this project but i just figured that with the 
right API, i wouldn't need to learn much XML...I could just tell the 
API to export one of the primitives that i need and be done with it. 
If nothing like this exists than i guess i'm going to have to do some 
reading.


Thanks,
Chris




--- In svg-developers@yahoogroups.com, r_v_putten [EMAIL PROTECTED] 
wrote:
 Hi,
 
 I had sent a message 90 minutes ago, but used a wrong mail address 
so
 it probably got rejected... I'll just copy it here.
 
 One note: Mark might be right about database+xslt+whatever being
 simpler (I haven't used xslt yet), but as a proficient C/C++
 programmer who is used to working with flat ascii files, this might
 get you to the point in a shorter time, because you don't have to
 learn a new concept. If you knew you had to work on the project for
 the next 4 years, my suggestion is xslt/whatever, for a project in a
 very short time, it's C++.
 
 And now the old message:
 
 Hello Chris,
 
  I'm new to SVG. I've never used it before but i want to use it to
 generate images that can be used in Visio (which can open SVG),
 possibly convert to PDF and also view on the web. The images will be
 generated by a program i want to write which will interpret some 
data
 in a database.
 
 My first suggestion is to check if Visio really can open all of SVG.
 SVG is a really complex thing, so if you take one program that 
outputs
 SVG, I don't think another program that inputs SVG can necessarily
 understand everything correctly.
 
  Basically i'm making schematics for a wiring diagram and i will 
have
 connector types saved in a database as well as to/from pin routings.
 From this data i want to generate the schematic using SVG.
 
  I'm proficient in C/C++ but i'm not sure where to begin. Is there 
an
 SVG SDK for C/C++ out there somewhere?
 
 I'm a C/C++ programmer too, and if I had to do such a thing today, I
 would probable just output text files from my program. That way you
 can control what's in the SVG and that Visio will understand it. An
 XML library might be of help, but it shouldn't even be necessary. I
 think I'd chose fprintf().
 
 My suggestion would be to read a book about SVG and then use it like
 an operating systems drawing functions. Lines and rects are no 
problem
 at all, transformations and scaling is easy if you extensively used 
a
 graphics lib before. Reusing parts of the graphic with defs / and
 use / will come in quite handy. There are many more things that 
SVG
 can do but you will probably not need them.
 
 Just two cents from an advanced SVG beginner.
 
 Raoul





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h92nojk/M=362131.6882499.7825260.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123014270/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

-
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: Newbie SVG Developer

2005-08-02 Thread Chris Serio
Yeah i'd be using .NET. I'm not sure what XSLT is but i'm going to 
look into it right now...The database is pretty simple but the 
drawing needs to have some logic to it so that wires don't cross on 
the schematic etc.

The database will just be a from-connector #, from-pin #, to-
connector #, to-pin # and some wire gauge/type for each.

Chris


--- In svg-developers@yahoogroups.com, William McKenzie [EMAIL PROTECTED] 
wrote:
 What sort of c/c++ environment are you using?  One option would be 
to find
 something like 'kode' (part of debian linux, I believe) that would 
generate
 c++ classes or templates from the RelaxNG schema for svg.  Those 
classes
 could then be used to generate SVG objects.  If you are in the .NET
 environment, you might want to consider using ADO.NET to get your 
database
 objects as XML, and then using XSLT to transform them into SVG.  
Really
 fairly flexible and elegant, if you can deal with XSLT.
 
 ~Bill
 
 -Original Message-
 From: svg-developers@yahoogroups.com [mailto:svg-
[EMAIL PROTECTED]
 On Behalf Of Chris Serio
 Sent: Tuesday, August 02, 2005 11:47 AM
 To: svg-developers@yahoogroups.com
 Subject: [svg-developers] Re: Newbie SVG Developer
 
 Thanks for the info. I was hoping to find a high level API with 
basic 
 functions built into it like DrawColoredRectangle
 (x,y,len,width,color)
 
 There's a very near deadline on this project so i'm trying to get a 
 library with the most comprehensive API i can.
 
 Chris
 
 
 --- In svg-developers@yahoogroups.com, Holger Will [EMAIL PROTECTED] 
 wrote:
  Chris Serio schrieb:
  
   Hey all,
  
   I'm new to SVG. I've never used it before but i want to use it 
to
   generate images that can be used in Visio (which can open SVG),
   possibly convert to PDF and also view on the web. The images 
will 
 be
   generated by a program i want to write which will interpret 
some 
 data
   in a database.
  
   Basically i'm making schematics for a wiring diagram and i will 
 have
   connector types saved in a database as well as to/from pin 
 routings.
   From this data i want to generate the schematic using SVG.
  
   I'm proficient in C/C++ but i'm not sure where to begin. Is 
there 
 an
   SVG SDK for C/C++ out there somewhere?
  
   Thanks for any suggestions,
   Chris
  
  Hi Chris
  
  i dont know any c/c++ , but as svg is just plain simple xml, you 
 should 
  be able to build your svgs with any xml lib.
  for more advanced features including rendering, and rendering to 
 pdf see:
  http://cairographics.org/introduction
  and
  http://cairographics.org/libsvg
  
  or if you could use Java, there is the Apache Batik project, 
which 
 is 
  the most complete open source SVG implementation.
  http://xml.apache.org/batik/
  
  and if you are on Linux have a look at
  http://librsvg.sourceforge.net/
  
  or if you plan to have a GUI , and want that to be portable, you 
 migth 
  as well think of building a XUL app, using mozilla svg.
  http://www.mozilla.org/projects/svg/
  http://www.xulplanet.com/
  
  as i said i dont know c/c++ ,
  hope it helps anyways
  Holger
 
 
 
 
 
 -
 To unsubscribe send a message to: svg-developers-
[EMAIL PROTECTED]
 -or-
 visit http://groups.yahoo.com/group/svg-developers and click edit 
my
 membership
  
 Yahoo! Groups Links




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hob1gba/M=362335.6886445.7839731.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123014910/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

-
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: Newbie SVG Developer

2005-08-02 Thread jophof007
Building complex logic in XSLT is very hard to do. Some if else is
possible but not recursion for example sometimes needed for complex
algorithms.

John
--- In svg-developers@yahoogroups.com, Chris Serio [EMAIL PROTECTED] wrote:
 Yeah i'd be using .NET. I'm not sure what XSLT is but i'm going to 
 look into it right now...The database is pretty simple but the 
 drawing needs to have some logic to it so that wires don't cross on 
 the schematic etc.
 
 The database will just be a from-connector #, from-pin #, to-
 connector #, to-pin # and some wire gauge/type for each.
 
 Chris
 
 
 --- In svg-developers@yahoogroups.com, William McKenzie [EMAIL PROTECTED] 
 wrote:
  What sort of c/c++ environment are you using?  One option would be 
 to find
  something like 'kode' (part of debian linux, I believe) that would 
 generate
  c++ classes or templates from the RelaxNG schema for svg.  Those 
 classes
  could then be used to generate SVG objects.  If you are in the .NET
  environment, you might want to consider using ADO.NET to get your 
 database
  objects as XML, and then using XSLT to transform them into SVG.  
 Really
  fairly flexible and elegant, if you can deal with XSLT.
  
  ~Bill
  
  -Original Message-
  From: svg-developers@yahoogroups.com [mailto:svg-
 [EMAIL PROTECTED]
  On Behalf Of Chris Serio
  Sent: Tuesday, August 02, 2005 11:47 AM
  To: svg-developers@yahoogroups.com
  Subject: [svg-developers] Re: Newbie SVG Developer
  
  Thanks for the info. I was hoping to find a high level API with 
 basic 
  functions built into it like DrawColoredRectangle
  (x,y,len,width,color)
  
  There's a very near deadline on this project so i'm trying to get a 
  library with the most comprehensive API i can.
  
  Chris
  
  
  --- In svg-developers@yahoogroups.com, Holger Will [EMAIL PROTECTED] 
  wrote:
   Chris Serio schrieb:
   
Hey all,
   
I'm new to SVG. I've never used it before but i want to use it 
 to
generate images that can be used in Visio (which can open SVG),
possibly convert to PDF and also view on the web. The images 
 will 
  be
generated by a program i want to write which will interpret 
 some 
  data
in a database.
   
Basically i'm making schematics for a wiring diagram and i will 
  have
connector types saved in a database as well as to/from pin 
  routings.
From this data i want to generate the schematic using SVG.
   
I'm proficient in C/C++ but i'm not sure where to begin. Is 
 there 
  an
SVG SDK for C/C++ out there somewhere?
   
Thanks for any suggestions,
Chris
   
   Hi Chris
   
   i dont know any c/c++ , but as svg is just plain simple xml, you 
  should 
   be able to build your svgs with any xml lib.
   for more advanced features including rendering, and rendering to 
  pdf see:
   http://cairographics.org/introduction
   and
   http://cairographics.org/libsvg
   
   or if you could use Java, there is the Apache Batik project, 
 which 
  is 
   the most complete open source SVG implementation.
   http://xml.apache.org/batik/
   
   and if you are on Linux have a look at
   http://librsvg.sourceforge.net/
   
   or if you plan to have a GUI , and want that to be portable, you 
  migth 
   as well think of building a XUL app, using mozilla svg.
   http://www.mozilla.org/projects/svg/
   http://www.xulplanet.com/
   
   as i said i dont know c/c++ ,
   hope it helps anyways
   Holger
  
  
  
  
  
  -
  To unsubscribe send a message to: svg-developers-
 [EMAIL PROTECTED]
  -or-
  visit http://groups.yahoo.com/group/svg-developers and click edit 
 my
  membership
   
  Yahoo! Groups Links





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12heet4gu/M=362329.6886308.7839368.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123016972/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

-
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: slider for Firefox native SVG (that still runs in ASV3)

2005-08-02 Thread meikelneu
--- In svg-developers@yahoogroups.com, Holger Will [EMAIL PROTECTED]
wrote:

 could you or anyone else check out the examples from this article ?
 
 http://blog.treebuilder.de/pivot/entry.php?id=10#body

tested with OSX 10.4.2, ASV3, Safari

 works: yes/no

example1:  yes
example2:  no
example3:  yes

same for camino 0.9a2, firefox 1.0.6

and: Deer Park nightly (20050802) native - while in the above
browser-plugin combinations the black circle of example2 doesn't react to the 
mouse at 
all, in the current built of Deer Park for OSX the example2 circle becomes 
invisible upon 
mousemovements and doesn't return until reload.

Michael




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h5f54pp/M=362329.6886308.7839368.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123017480/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

-
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: Re: Detect native SVG support

2005-08-02 Thread Jim Ley

Mark Birbeck [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]

Sidewinder wouldn't be conformant or non-conformant. We just pass a call to
the methods on a DOMImplementation to the implementations that we've
instantiated to create that implementation.

I would still call SideWinder non-conformant,if its underlying 
implementation was non-conformant, just like I call IE non-HTTP conformant 
when it's simply using an underlying HTTP implementation, and of course it 
certainly wouldn't be your fault, you're absolutely right to be re-using 
components.

 But as the world
of compound documents gets closer, don't you think that there needs to be a
generic solution that allows for testing not just for SVG, but for MathML,
XForms and so on?

Absolutely, but DOMImplementation is not it, I'm not sure what it would look 
like, indeed I've tried thinking of something before, as the criticisms of 
DOM Implementation are not new, but I've never come up with anything, 'nor 
heard of anything.

Cheers,

Jim. 





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hknqmbu/M=362329.6886308.7839368.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123017729/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

-
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: Newbie SVG Developer

2005-08-02 Thread William McKenzie
Actually, you can do recursion, but overall I would agree that if you want
to use some sort of layout logic XSLT is going to be a PITA at best.  One
half-hearted suggestion: if you're a really experience c++ programmer,
rolling a quick command-line java program wouldn't be all that figure out,
and you could use the batik library to do it.  The code at the end is a very
simple example from the batik site (http://xml.apache.org/batik) that
generates a rectangle.  Other than getting the java sdk and a build
environment like ant, you could be up and running in minutes.

If you can't stand the java, I don't know of anything like this that exists
for c++.  Since you seem to only need a very few primitives, I would
recommend simply creating a small utility class that carries around either a
System.Xml.XmlDocument or a StringBuilder class and has a few methods to
create the primitives you need.

/// Sample Batik Code /
import java.awt.Rectangle;
import java.awt.Graphics2D;
import java.awt.Color;
import java.io.Writer;
import java.io.OutputStreamWriter;
import java.io.IOException;
import org.apache.batik.svggen.SVGGraphics2D;
import org.apache.batik.dom.GenericDOMImplementation;
import org.w3c.dom.Document;
import org.w3c.dom.DOMImplementation;

public class TestSVGGen {

public void paint(Graphics2D g2d) {
g2d.setPaint(Color.red);
g2d.fill(new Rectangle(10, 10, 100, 100));
}

public static void main(String [] args) throws IOException {

// Get a DOMImplementation
DOMImplementation domImpl =
GenericDOMImplementation.getDOMImplementation();

// Create an instance of org.w3c.dom.Document
Document document = domImpl.createDocument(null, svg, null);

// Create an instance of the SVG Generator
SVGGraphics2D svgGenerator = new SVGGraphics2D(document);

// Ask the test to render into the SVG Graphics2D implementation
TestSVGGen test = new TestSVGGen();
test.paint(svgGenerator);

// Finally, stream out SVG to the standard output using UTF-8
// character to byte encoding
boolean useCSS = true; // we want to use CSS style attribute
Writer out = new OutputStreamWriter(System.out, UTF-8);
svgGenerator.stream(out, useCSS);
}
}

-Original Message-
From: svg-developers@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of jophof007
Sent: Tuesday, August 02, 2005 2:09 PM
To: svg-developers@yahoogroups.com
Subject: [svg-developers] Re: Newbie SVG Developer

Building complex logic in XSLT is very hard to do. Some if else is
possible but not recursion for example sometimes needed for complex
algorithms.

John
--- In svg-developers@yahoogroups.com, Chris Serio [EMAIL PROTECTED] wrote:
 Yeah i'd be using .NET. I'm not sure what XSLT is but i'm going to 
 look into it right now...The database is pretty simple but the 
 drawing needs to have some logic to it so that wires don't cross on 
 the schematic etc.
 
 The database will just be a from-connector #, from-pin #, to-
 connector #, to-pin # and some wire gauge/type for each.
 
 Chris
 
 
 --- In svg-developers@yahoogroups.com, William McKenzie [EMAIL PROTECTED] 
 wrote:
  What sort of c/c++ environment are you using?  One option would be 
 to find
  something like 'kode' (part of debian linux, I believe) that would 
 generate
  c++ classes or templates from the RelaxNG schema for svg.  Those 
 classes
  could then be used to generate SVG objects.  If you are in the .NET
  environment, you might want to consider using ADO.NET to get your 
 database
  objects as XML, and then using XSLT to transform them into SVG.  
 Really
  fairly flexible and elegant, if you can deal with XSLT.
  
  ~Bill
  
  -Original Message-
  From: svg-developers@yahoogroups.com [mailto:svg-
 [EMAIL PROTECTED]
  On Behalf Of Chris Serio
  Sent: Tuesday, August 02, 2005 11:47 AM
  To: svg-developers@yahoogroups.com
  Subject: [svg-developers] Re: Newbie SVG Developer
  
  Thanks for the info. I was hoping to find a high level API with 
 basic 
  functions built into it like DrawColoredRectangle
  (x,y,len,width,color)
  
  There's a very near deadline on this project so i'm trying to get a 
  library with the most comprehensive API i can.
  
  Chris
  
  
  --- In svg-developers@yahoogroups.com, Holger Will [EMAIL PROTECTED] 
  wrote:
   Chris Serio schrieb:
   
Hey all,
   
I'm new to SVG. I've never used it before but i want to use it 
 to
generate images that can be used in Visio (which can open SVG),
possibly convert to PDF and also view on the web. The images 
 will 
  be
generated by a program i want to write which will interpret 
 some 
  data
in a database.
   
Basically i'm making schematics for a wiring diagram and i will 
  have
connector types saved in a database as well as to/from pin 
  routings.
From this data i want to generate the schematic using SVG.

[svg-developers] Re: Newbie SVG Developer

2005-08-02 Thread jophof007
Hi,

The javascript engine have the same capabilities as C++ program
(despite I/O stuff) so you can make a program that runs in a viewer or
in your browser.

John
--- In svg-developers@yahoogroups.com, William McKenzie [EMAIL PROTECTED]
wrote:
 Actually, you can do recursion, but overall I would agree that if
you want
 to use some sort of layout logic XSLT is going to be a PITA at best.
 One
 half-hearted suggestion: if you're a really experience c++ programmer,
 rolling a quick command-line java program wouldn't be all that
figure out,
 and you could use the batik library to do it.  The code at the end
is a very
 simple example from the batik site (http://xml.apache.org/batik) that
 generates a rectangle.  Other than getting the java sdk and a build
 environment like ant, you could be up and running in minutes.
 
 If you can't stand the java, I don't know of anything like this that
exists
 for c++.  Since you seem to only need a very few primitives, I would
 recommend simply creating a small utility class that carries around
either a
 System.Xml.XmlDocument or a StringBuilder class and has a few methods to
 create the primitives you need.
 
 /// Sample Batik Code /
 import java.awt.Rectangle;
 import java.awt.Graphics2D;
 import java.awt.Color;
 import java.io.Writer;
 import java.io.OutputStreamWriter;
 import java.io.IOException;
 import org.apache.batik.svggen.SVGGraphics2D;
 import org.apache.batik.dom.GenericDOMImplementation;
 import org.w3c.dom.Document;
 import org.w3c.dom.DOMImplementation;
 
 public class TestSVGGen {
 
 public void paint(Graphics2D g2d) {
 g2d.setPaint(Color.red);
 g2d.fill(new Rectangle(10, 10, 100, 100));
 }
 
 public static void main(String [] args) throws IOException {
 
 // Get a DOMImplementation
 DOMImplementation domImpl =
 GenericDOMImplementation.getDOMImplementation();
 
 // Create an instance of org.w3c.dom.Document
 Document document = domImpl.createDocument(null, svg, null);
 
 // Create an instance of the SVG Generator
 SVGGraphics2D svgGenerator = new SVGGraphics2D(document);
 
 // Ask the test to render into the SVG Graphics2D implementation
 TestSVGGen test = new TestSVGGen();
 test.paint(svgGenerator);
 
 // Finally, stream out SVG to the standard output using UTF-8
 // character to byte encoding
 boolean useCSS = true; // we want to use CSS style attribute
 Writer out = new OutputStreamWriter(System.out, UTF-8);
 svgGenerator.stream(out, useCSS);
 }
 }
 
 -Original Message-
 From: svg-developers@yahoogroups.com
[mailto:[EMAIL PROTECTED]
 On Behalf Of jophof007
 Sent: Tuesday, August 02, 2005 2:09 PM
 To: svg-developers@yahoogroups.com
 Subject: [svg-developers] Re: Newbie SVG Developer
 
 Building complex logic in XSLT is very hard to do. Some if else is
 possible but not recursion for example sometimes needed for complex
 algorithms.
 
 John
 --- In svg-developers@yahoogroups.com, Chris Serio [EMAIL PROTECTED] 
 wrote:
  Yeah i'd be using .NET. I'm not sure what XSLT is but i'm going to 
  look into it right now...The database is pretty simple but the 
  drawing needs to have some logic to it so that wires don't cross on 
  the schematic etc.
  
  The database will just be a from-connector #, from-pin #, to-
  connector #, to-pin # and some wire gauge/type for each.
  
  Chris
  
  
  --- In svg-developers@yahoogroups.com, William McKenzie [EMAIL 
  PROTECTED] 
  wrote:
   What sort of c/c++ environment are you using?  One option would be 
  to find
   something like 'kode' (part of debian linux, I believe) that would 
  generate
   c++ classes or templates from the RelaxNG schema for svg.  Those 
  classes
   could then be used to generate SVG objects.  If you are in the .NET
   environment, you might want to consider using ADO.NET to get your 
  database
   objects as XML, and then using XSLT to transform them into SVG.  
  Really
   fairly flexible and elegant, if you can deal with XSLT.
   
   ~Bill
   
   -Original Message-
   From: svg-developers@yahoogroups.com [mailto:svg-
  [EMAIL PROTECTED]
   On Behalf Of Chris Serio
   Sent: Tuesday, August 02, 2005 11:47 AM
   To: svg-developers@yahoogroups.com
   Subject: [svg-developers] Re: Newbie SVG Developer
   
   Thanks for the info. I was hoping to find a high level API with 
  basic 
   functions built into it like DrawColoredRectangle
   (x,y,len,width,color)
   
   There's a very near deadline on this project so i'm trying to get a 
   library with the most comprehensive API i can.
   
   Chris
   
   
   --- In svg-developers@yahoogroups.com, Holger Will [EMAIL PROTECTED] 
   wrote:
Chris Serio schrieb:

 Hey all,

 I'm new to SVG. I've never used it before but i want to use it 
  to
 generate images that can be used in Visio (which can open SVG),
 possibly 

Re: [svg-developers] Re: Detect native SVG support

2005-08-02 Thread Bjoern Hoehrmann
* Mark Birbeck wrote:
As to adding more and more hacks, no one doubts that you can keep adding
another line of script to test for yet another permutation. But as the world
of compound documents gets closer, don't you think that there needs to be a
generic solution that allows for testing not just for SVG, but for MathML,
XForms and so on? I recognise your criticisms of DOMImplementation, but at
some point we do need it to work...or rather it needs to be made to work.

I certainly agree. Such facilities aren't cheap though, you need

  * Very clear well-defined conformance requirements
  * Extensive test suites for these facilities
  * Strong commitment to 100% compliance
  * Strong and reliable means to enforce compliance

At the moment, for SVG feature strings, we don't have any of that. In
fact, it's probably worse, there are still many authors who do not care
at all even about most basic conformance requirements like using well-
formed XML; many authors still think We usually find checking with
[IE, Opera and Firefox] is enough for our work. If we can't convince
authors to ensure their content is conforming, there is little hope to
convince implementers to code correctly.
-- 
Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hiiuhpk/M=362131.6882499.7825260.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123020714/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

-
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: Newbie SVG Developer

2005-08-02 Thread Alastair Fettes
Hi Chris,

If my memory serves me correctly Visio should be able to handle most
SVG elements with minor exceptions.  Let me point you to the article
Richard See wrote about Visio's support of SVG at the SVG Open 2003.

http://www.svgopen.org/2003/papers/SVG_Scenarios_using_Microsoft_Office_Visio_2003/

Another word to the wise.  I was one of the QA on this project and
there are tricks to the round trip capabilities of Visio that you can
play off of if you are familiar with XML Namespaces.  Try creating a
diagram with your connections in Visio, then save as svg.  When you
look at the output SVG document you will notice a whole bunch of extra
attributes and data under a microsoft namespace.  These of course are
trivial to remove with an XSLT.  However, you could take cues from
these knowing that they were put in such that a visio document could
be round-tripped.  The round tripping feature of Visio works quite
well.  One of the few things you will not get from a round trip is
equations (if I remember correctly - it was about 3 years ago now).

Anyways, check out that paper and give me a shout if you have any
problems.

Cheers,
Alastair
http://spark.sourceforge.net

--- In svg-developers@yahoogroups.com, Chris Serio [EMAIL PROTECTED] wrote:
 Hey all,
 
 I'm new to SVG. I've never used it before but i want to use it to 
 generate images that can be used in Visio (which can open SVG), 
 possibly convert to PDF and also view on the web. The images will be 
 generated by a program i want to write which will interpret some data 
 in a database.
 
 Basically i'm making schematics for a wiring diagram and i will have 
 connector types saved in a database as well as to/from pin routings. 
 From this data i want to generate the schematic using SVG.
 
 I'm proficient in C/C++ but i'm not sure where to begin. Is there an 
 SVG SDK for C/C++ out there somewhere?
 
 Thanks for any suggestions,
 Chris




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hd5ajtd/M=362131.6882499.7825260.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123020837/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

-
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: Newbie SVG Developer

2005-08-02 Thread Alastair Fettes
Hi Chris,

Just a followup.  I read your most recent posts just a few minutes ago
*after* posting the message below.  Sorry about that - should have
read back a bit.

Personally, I generate SVG using the MSXML DOM in VC++ 6.0.  I created
my own C++ based SVG API for generating my output.  If you're using
.Net it would be trivial to use the DOM methods to create elements,
add attributes and append elements to others.  I doubt XSLT is the
right solution (though I do love using XSLT for everything).

Just my two cents.

Cheers,
Alastair

--- In svg-developers@yahoogroups.com, Alastair Fettes
[EMAIL PROTECTED] wrote:
 Hi Chris,
 
 If my memory serves me correctly Visio should be able to handle most
 SVG elements with minor exceptions.  Let me point you to the article
 Richard See wrote about Visio's support of SVG at the SVG Open 2003.
 

http://www.svgopen.org/2003/papers/SVG_Scenarios_using_Microsoft_Office_Visio_2003/
 
 Another word to the wise.  I was one of the QA on this project and
 there are tricks to the round trip capabilities of Visio that you can
 play off of if you are familiar with XML Namespaces.  Try creating a
 diagram with your connections in Visio, then save as svg.  When you
 look at the output SVG document you will notice a whole bunch of extra
 attributes and data under a microsoft namespace.  These of course are
 trivial to remove with an XSLT.  However, you could take cues from
 these knowing that they were put in such that a visio document could
 be round-tripped.  The round tripping feature of Visio works quite
 well.  One of the few things you will not get from a round trip is
 equations (if I remember correctly - it was about 3 years ago now).
 
 Anyways, check out that paper and give me a shout if you have any
 problems.
 
 Cheers,
 Alastair
 http://spark.sourceforge.net
 
 --- In svg-developers@yahoogroups.com, Chris Serio [EMAIL PROTECTED] 
 wrote:
  Hey all,
  
  I'm new to SVG. I've never used it before but i want to use it to 
  generate images that can be used in Visio (which can open SVG), 
  possibly convert to PDF and also view on the web. The images will be 
  generated by a program i want to write which will interpret some data 
  in a database.
  
  Basically i'm making schematics for a wiring diagram and i will have 
  connector types saved in a database as well as to/from pin routings. 
  From this data i want to generate the schematic using SVG.
  
  I'm proficient in C/C++ but i'm not sure where to begin. Is there an 
  SVG SDK for C/C++ out there somewhere?
  
  Thanks for any suggestions,
  Chris




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hee6oo7/M=362329.6886308.7839368.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123021949/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

-
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: Newbie SVG Developer

2005-08-02 Thread Chris Serio
Thanks again to everyone for your suggestions. I think MSXML DOM is
going to be my solution but Java will be my backup. I did some Java
programming before i learned C++ and it was fine but i'd like to stick
with C++ if i can.

Chris

--- In svg-developers@yahoogroups.com, Alastair Fettes
[EMAIL PROTECTED] wrote:
 Hi Chris,
 
 Just a followup.  I read your most recent posts just a few minutes ago
 *after* posting the message below.  Sorry about that - should have
 read back a bit.
 
 Personally, I generate SVG using the MSXML DOM in VC++ 6.0.  I created
 my own C++ based SVG API for generating my output.  If you're using
 .Net it would be trivial to use the DOM methods to create elements,
 add attributes and append elements to others.  I doubt XSLT is the
 right solution (though I do love using XSLT for everything).
 
 Just my two cents.
 
 Cheers,
 Alastair
 
 --- In svg-developers@yahoogroups.com, Alastair Fettes
 [EMAIL PROTECTED] wrote:
  Hi Chris,
  
  If my memory serves me correctly Visio should be able to handle most
  SVG elements with minor exceptions.  Let me point you to the article
  Richard See wrote about Visio's support of SVG at the SVG Open 2003.
  
 

http://www.svgopen.org/2003/papers/SVG_Scenarios_using_Microsoft_Office_Visio_2003/
  
  Another word to the wise.  I was one of the QA on this project and
  there are tricks to the round trip capabilities of Visio that you can
  play off of if you are familiar with XML Namespaces.  Try creating a
  diagram with your connections in Visio, then save as svg.  When you
  look at the output SVG document you will notice a whole bunch of extra
  attributes and data under a microsoft namespace.  These of course are
  trivial to remove with an XSLT.  However, you could take cues from
  these knowing that they were put in such that a visio document could
  be round-tripped.  The round tripping feature of Visio works quite
  well.  One of the few things you will not get from a round trip is
  equations (if I remember correctly - it was about 3 years ago now).
  
  Anyways, check out that paper and give me a shout if you have any
  problems.
  
  Cheers,
  Alastair
  http://spark.sourceforge.net
  
  --- In svg-developers@yahoogroups.com, Chris Serio [EMAIL PROTECTED]
wrote:
   Hey all,
   
   I'm new to SVG. I've never used it before but i want to use it to 
   generate images that can be used in Visio (which can open SVG), 
   possibly convert to PDF and also view on the web. The images
will be 
   generated by a program i want to write which will interpret some
data 
   in a database.
   
   Basically i'm making schematics for a wiring diagram and i will
have 
   connector types saved in a database as well as to/from pin
routings. 
   From this data i want to generate the schematic using SVG.
   
   I'm proficient in C/C++ but i'm not sure where to begin. Is
there an 
   SVG SDK for C/C++ out there somewhere?
   
   Thanks for any suggestions,
   Chris




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h7229li/M=362131.6882499.7825260.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123026390/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

-
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: Shucks, or get of the pot

2005-08-02 Thread welkerpaul
Hi Doug
It's always enough if you're modest;)
Your *enough* was a decent one, thanks. Your advice about the 
purpose of this group is recognized. 
It seems like some people are looking for some clues about the 
realistic potential of the technology as well. At least if you want 
to do more than playing around with svg that might become quite 
important. Unfortunately this is the only relevant list if you're 
looking for some hints! Precocious platitudes and arrogant 
suggestions won't help much in that situation. It should look like 
that vectoreal is one of that major svg related entities? How about 
sharing some decent first-hand insights about svg's adoption 
progress? From my personal experience it was much easier to sell svg-
related projects tree years ago than it is today. To my experience 
these days it's almost impossible to convince a customer telling him 
svg would be a safe bet. All the existing svg projects I've been 
involved are 100% asv3 dependent:-0 Did you realize that asv is 
partially broken in ie7b?? And none of our projects will do any good 
with firefox: impracticable slow and outrageous resource hungry, and 
in addition just not available at the customers desktop:((
Any thoughts?
For those of you having enough, just skip this lengthy post and 
continue! Mean enough posts will get ignored anyways:)
Ok, answered rantisch and sarcastic to Holger. Maybe it's because 
it's been a long time ago I'd to deal with a guy who actually thinks 
it's a good idea to have 'best viewed with browser x' statements 
again. Embarrassing that he won't get what's wrong with this kind of 
perception.
Besides, I guess most of the divergence results in the fact that 
everyone likes to talk about his own svg. Some expect no more than a 
nifty defined xml namespace that renders usable vector graphics in a 
webbrowser. Others would like to see all kind of things besides and 
beyond of this. It looks like doing all the stuff at the same time 
didn't work out very well. 
In my opinion the webbrowser part of the roadmap is essentially lost 
unless adobe reanimates the thing. The firefox native implementation 
would need vast amounts of (re)work in order to become usable in 
terms of performance and machine resources demands, right?  Nobody 
expects this overnight. Alternative plugins will face a troublesome 
long road; we know that things have changed concerning plugins 
today. $200K is worth nothing.
But of course adobe isn't in charge to reanimate svg for the web. To 
me its somehow obvious that their engagement concerning vector 
webgraphics was just enough to hinder alternatives. They did have 
valid reasons since the vml w3c submission did have a reference 
implementation ready. And they didn't own flash as well. 
Nevertheless, one may notice that adobe would have the chance to 
tune into svg for the web any day? Given the complete market 
penetration or their maintained pdf reader products, adobe has the 
genuine power to distribute their svg viewer under the counter and 
all over the place. Btw, could someone kindly explain to me why the 
adobe reader still carries an updated asv6 within its binaries? I 
might be ignorant, but using svg in order to render a few floating 
controls in a fat reader client application looked like a fig leaf 
right from the start? Especially if you consider that pdf is far 
more powerful than svg. 
Beyond these mentioned oddities there's probably no reason to 
complain about adobe. Concerning svg it belongs to the standards 
committee to embrace a non trivial xml format for webgraphics 
without the solid commitment of the browser vendors. Who was asking 
for a boxed implementation anyways? The one and only specification 
should be adequate but doable for a browser vendor, right? That 
doesn't exactly sound like svg. 

Looking at svg beyond the web the affair is fairly easy. The file 
format does exist and there're there are plenty of different 
possibilities to emerge and to miss. Commonplace, the magic 
threshold value doesn't apply at the front. Talking about the next 
generation of vector aware os' and svg and back to the web: truism, 
it's a no-brainer for many reasons. Well, *enough*, let's go for 
dinner. Regards

Paul
--- In svg-developers@yahoogroups.com, Doug Schepers [EMAIL PROTECTED] 
wrote:
 Francis-
 
 It seems like what you are looking for is some kind of rotation 
animation?
 From what I can tell, this should fit your requirements:
 
 svg xmlns='http://www.w3.org/2000/svg'
 xmlns:xlink='http://www.w3.org/1999/xlink'
 
path id='progress' d='M250,285 A100,100 0 1 1 251,285 z' 
fill='none'
 stroke='cornflowerblue' stroke-width='2'/
 
text font-size='22px' fill='crimson' text-anchor='middle'SVG
   animateMotion dur='12s' repeatCount='indefinite' 
rotate='auto' 
  mpath xlink:href='#progress'/
   /animateMotion
/text
 
 /svg
 
 The text will go around in a circle indefinitely. Several people 
also
 recently posted train animations as well, 

RE: [svg-developers] SVG Consortium to acquire ASV3/6 ?

2005-08-02 Thread Alan Keown
Surely it wouldn't hurt to ask? Maybe one of the European Cartographic
Institutes would be interested in sponsoring the consortium?

 

Alan Keown

 

-Original Message-
From: svg-developers@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Rick Bullotta
Sent: Wednesday, 3 August 2005 10:09 AM
To: svg-developers@yahoogroups.com; svg-developers@yahoogroups.com
Subject: RE: [svg-developers] SVG Consortium to acquire ASV3/6 ?

 

Not likely.  I'm certain there are intellectual property interdependencies
with other Adobe (and non-Adobe) technologies.  There are plenty of other
SVG viewer implementations to pilfer from... :)



From: svg-developers@yahoogroups.com on behalf of Francis Hemsher
Sent: Tue 8/2/2005 8:04 PM
To: svg-developers@yahoogroups.com
Subject: [svg-developers] SVG Consortium to acquire ASV3/6 ?



You know, with the talent associated with this list, and a bit of
financial backing, we could form a non-profit, make Adobe an offer they
can't refuse, and move ahead with their Viewer.

Come on...think about it, please?

Francis





-
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











[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
 




SPONSORED LINKS 


Format
http://groups.yahoo.com/gads?t=msk=Formatw1=Formatw2=Dataw3=Svgw4=Comp
uter+internetw5=W3cc=5s=63.sig=pwk9bsTG47SryYQd8oYMkg  

Data
http://groups.yahoo.com/gads?t=msk=Dataw1=Formatw2=Dataw3=Svgw4=Comput
er+internetw5=W3cc=5s=63.sig=Ybmv-NMr8B76MC8Re1fdyw  

Svg
http://groups.yahoo.com/gads?t=msk=Svgw1=Formatw2=Dataw3=Svgw4=Compute
r+internetw5=W3cc=5s=63.sig=11VNwM2AJiL3y3m8bHlMbw  


Computer
http://groups.yahoo.com/gads?t=msk=Computer+internetw1=Formatw2=Dataw3=
Svgw4=Computer+internetw5=W3cc=5s=63.sig=0A5G5gyBvu8oMs16cYR8RA
internet 

W3c
http://groups.yahoo.com/gads?t=msk=W3cw1=Formatw2=Dataw3=Svgw4=Compute
r+internetw5=W3cc=5s=63.sig=mcHOxevUaXqKuaXf6fpI7g  

 

 

  _  

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]
mailto:[EMAIL PROTECTED] 
  

*  Your use of Yahoo! Groups is subject to the Yahoo!
http://docs.yahoo.com/info/terms/  Terms of Service. 

 

  _  



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



 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h69abcv/M=362131.6882499.7825260.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123037310/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

-
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/