This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

svg troubles


Hello,
I've recently decided to learn xml-docbook/svg to write my 4th year
project documentation... so far it's been a bit rough, as I've already
sent a patch for dia relating to its svg render code, and my diagrams
are still not coming out right.
The concern I have is with the sweep-flag of an svg Arc element. Please
take a look at the sample code I'm attaching and note that the arc is
supposed to be made in the clockwise direction according to the svg
spec.... !OR! the diagrams in the svg spec are wrong! :)
I've built this sample docbook with docbook-xsl-1.53 fo and fop. To
verify I also use a java svg viewer (SVGViewer) from IBM alpha works.
What do you think?
Mike
P.S. I now have a hunch diagram
http://www.w3.org/TR/SVG/images/paths/arcs02.png is incorrect since
"positive-angle" != clockwise direction.

-- 
/*******************************************************************\
|      Mike Sowka                   o      _     _         _        |
| An Aspiring Engi"Nerd"    _o     /\_   _ \\o  (_)\__/o  (_)       |
|  Carleton University    _< \_   _>(_) (_)/<_    \_| \   _|/' \/   |
| msowka@doe.carleton.ca (_)>(_) (_)        (_)   (_)    (_)'  _\o_ |
| (home mike@sowka.com)                                             |
\*******************************************************************/

Attachment: mpimbad.dbx
Description: Text document

Attachment: sample.svg
Description: image/svg


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]