Initial directory structure.

git-svn-id: http://svgweb.googlecode.com/svn/trunk@1 4490c68e-677f-11de-b8ef-473237edd27e
Initial inplace import of SVGViewer from http://labs.zavoo.com.

All of the content of this commit was authored by James Hight.
I would like to thank James for releasing the code under
the MIT License on September 9th, 2008 per the above web site.

Per the instructions described in the above web site, the following
command was used to retrieve the code on October 11th, 2008:
svn co https://iciifs.com/svn/SvgViewer SvgViewer

The purpose of this project is to futher extend the code into
other applications such as dynamic control via javascript and
support for other graphics formats.

One may wonder why I did not contribute directly to SvgViewer.
There are a few reasons. The changes I wish to make will
dramatically change the underlying SVGViewer code base and
changes the purpose of the control somewhat. I also thought
the project could use a different hosting strategy. Finally, I
am doing this on a whim and did not want to go through the hassle
of coordinating these dramatic changes with the original author.
I realize that unilaterally forking this code is presumptuous of
me and if I have offended anyone, I sincerely apologize.



git-svn-id: http://svgweb.googlecode.com/svn/trunk@2 4490c68e-677f-11de-b8ef-473237edd27e
Explicitly designate copyright license for content changes
from this contributor.


git-svn-id: http://svgweb.googlecode.com/svn/trunk@3 4490c68e-677f-11de-b8ef-473237edd27e
Setup simple linux style make system.
Start with an empty wrapper mxml file.


git-svn-id: http://svgweb.googlecode.com/svn/trunk@4 4490c68e-677f-11de-b8ef-473237edd27e
Converted all code to four spaces, not tabs.

This is my personal preference and I understand this may be controversial
going forward, but right now this project is a personal hobby, and in my
experience, tabs, while useful and sensible, are often used incorrectly.
It is unfortunate, but the simplest way to avoid that is to ban them.



git-svn-id: http://svgweb.googlecode.com/svn/trunk@5 4490c68e-677f-11de-b8ef-473237edd27e
Strip whitespace before style names and values.


git-svn-id: http://svgweb.googlecode.com/svn/trunk@6 4490c68e-677f-11de-b8ef-473237edd27e
Remove the event listener for adding def node as
required and start to support def node children.


git-svn-id: http://svgweb.googlecode.com/svn/trunk@7 4490c68e-677f-11de-b8ef-473237edd27e
Support rgb colors using % format.


git-svn-id: http://svgweb.googlecode.com/svn/trunk@8 4490c68e-677f-11de-b8ef-473237edd27e
Support setting graphics xml from javascript using createFromSVG().
Support loading by filename from javascript using loadSVGFile().
Support passing filename to load by an html parameter.
Support calling out to javascript when initialized.


git-svn-id: http://svgweb.googlecode.com/svn/trunk@9 4490c68e-677f-11de-b8ef-473237edd27e
Support specifying SVG URL from parameters and from javascript
and support loading content from javascript.

Created example html files.
Added a pencil SVG example file from openclipart.org.

Checked in the binary and created a build directory.

Created readme file.


git-svn-id: http://svgweb.googlecode.com/svn/trunk@10 4490c68e-677f-11de-b8ef-473237edd27e
Fix missing copyright and misplaced comment.


git-svn-id: http://svgweb.googlecode.com/svn/trunk@11 4490c68e-677f-11de-b8ef-473237edd27e
Support linear and radial gradients.
Support xlink references generally.
Removed unused variable and code.


git-svn-id: http://svgweb.googlecode.com/svn/trunk@12 4490c68e-677f-11de-b8ef-473237edd27e
Reworked clipping paths. Guassian blurs on an object were blurring
their clipping mask, which is not appropriate for SVG, so I resorted to
creating a stub parent display object (SVGMaskedNode) that holds the
clipping path and the child to be clipped as seperate children so they
can get along.

Reverted radial gradients to a simple implementation until
problems with the advanced matrix cases are worked out.


git-svn-id: http://svgweb.googlecode.com/svn/trunk@13 4490c68e-677f-11de-b8ef-473237edd27e
Added support for linear and radial line strokes.


git-svn-id: http://svgweb.googlecode.com/svn/trunk@14 4490c68e-677f-11de-b8ef-473237edd27e
Merge styles instead of overwriting.


git-svn-id: http://svgweb.googlecode.com/svn/trunk@15 4490c68e-677f-11de-b8ef-473237edd27e
Minor bug fixes for clip path and href styles.
Disabled most debug logging.


git-svn-id: http://svgweb.googlecode.com/svn/trunk@16 4490c68e-677f-11de-b8ef-473237edd27e
Handled various minor corner cases with viewbox,
color formats, href, and stop opacity.


git-svn-id: http://svgweb.googlecode.com/svn/trunk@17 4490c68e-677f-11de-b8ef-473237edd27e
Fixed some problems with referenced objects not loaded yet.
Started writing reference checking code which should fully solve this.

Added test files for linear gradients and gaussian blurs.


git-svn-id: http://svgweb.googlecode.com/svn/trunk@18 4490c68e-677f-11de-b8ef-473237edd27e
Infrastructure improvements to support clip-path and
proper clipping for gaussian blurs, on the same object.
There is still more work to do to make this work.


git-svn-id: http://svgweb.googlecode.com/svn/trunk@19 4490c68e-677f-11de-b8ef-473237edd27e
Improved blur factor calculation by calculating the concatenated
matrix up to the root and using that to scale the factor, as SVG does.

Added svgRoot initialization to the constructor of SVGNode.as
to allow use of getElement, addReference, etc, earlier.

Improved object reference tracking.

Implemented separate classes for object clips and blur clips in
an attempt to implement SVG gaussian "filter scaled blur clipping" as
I like to call it, as seen in tests/gaussian1.svg. Unfortunately, this
failed as described in the comments at the top of SVGBlurMaskParent.as.
Unless SVGBlurMaskParent can be proven useful and reliable, perhaps for
simple objects like rects instead of paths, it may need to be removed.



git-svn-id: http://svgweb.googlecode.com/svn/trunk@20 4490c68e-677f-11de-b8ef-473237edd27e