- 04 Aug, 2014 1 commit
-
-
Eric Domke authored
- Adding W3C test cases and a test fixture - Fixed support for CSS stylesheets (particularly when class names are referenced) - Refactoring unit calculations so that percentages and fractions calculate more accurately - SvgImage: - Support PreserveAspectRatio attribute - Support for referencing svg images - Refactored text rendering to use the AttributeCollection inheritance scheme - Initial attempt at 'ex' unit support - Added support for system color names - Changed parsing of entities to support XML entities - Supporting loading of a svg document directly from a XmlDocument with requiring serializing the document as a string first. - ...
-
- 01 Aug, 2014 1 commit
-
-
Eric Domke authored
- Very initial support of CSS stylesheets in the SVG via including the ExCss and Fizzler libraries - Bug fixes with path rendering - Improvements to the API for loading an SVG file
-
- 31 Jul, 2014 1 commit
-
-
Eric Domke authored
-
- 30 Jul, 2014 3 commits
-
-
Eric Domke authored
-
Eric Domke authored
-
Eric Domke authored
-
- 28 Jul, 2014 1 commit
-
-
joreg authored
-
- 26 Jul, 2014 2 commits
-
-
Eric Domke authored
-
Eric Domke authored
- Begin allowing character positioning within a text element - Start fixing bugs with linear gradients
-
- 25 Jul, 2014 4 commits
-
-
Tebjan Halm authored
Fix for GDI crash if stroke-dasharray contains value<=0
-
Eric Domke authored
- Support more font styles - Fix problems with parsing 'em' svg units introduced by trying to parse 2e-5 double formats - Move font properties to SvgVisualElement class as grouping elements can also contain them - Properly inherit font properties via the parent list - Properly handle tspan offsets - Support for .Net 3.5
-
Eric Domke authored
-
Chris Moore authored
GDI Pen was crashing with some bad (Adobe Illustrator) data that had: stroke-dasharray="10,10,0"
-
- 24 Jul, 2014 8 commits
-
-
Eric Domke authored
- Implemented .Net 3.5 support mostly by removing ISvgEventCaller functionality in .Net 3.5 build - Added ability to parse colors such as rgb(#%, #%, #%) - Fix issues with calculating the next coordinate after a close figure and a relative move - Allow the std. deviation in a gaussian blur to be a float. - Allow "none" for a unit collection - Allow gradients to reference other gradients defined later in the SVG - Fix href attribute bug on the SVG use element - Adding a descendants convenience methods (similar to the Xml to Linq API) - Removed non-functional property from the SvgDescription class to encourage use of the Content property instead
-
Dan Backes authored
-Fixes issues with colors not parsing correctly. Saving an SvgDocument resulted in RGB color values being converted to well known color names. -Compile regex statements to improve performance. -Make rendering a document threadsafe.
-
Guymestef authored
Add support for unknown svg element and non svg element: useful for not removing unknown xml tag from document when loading a file
-
tebjan authored
-
tebjan authored
-
James Welle authored
- Added support for the "gradientTransform" attribute on both linear and radial gradients. The matrix in this attribute needs to be applied to attributes with coordinate values on the gradient element in order to transform them into the correct coordinate space. - Added support for a value of "pad" for the "spreadMode" attribute on both linear and radial gradients. This is the default value but was not implemented correctly. In order to implement, we examine the properties of the gradient along with the element to which the gradient is being applied to determine if we need to expand the bounds of the gradient to fill the element. If so, we do so and adjust the color stops and positions so they are correct for the new gradient bounds. - Divided ISvgStylable into ISvgBoundable and ISvgStylable. The SvgUnit.ToDeviceValue method just needs bounds so it can take ISvgBoundable. Moved SvgDocument.GetDimensions() to SvgFragment and made SvgFragment ISvgBoundable. - Fixed a bug in SvgFragment.PushTransforms where it was calling the SvgUnit.ToDeviceValue overload that takes no parameters. This overload doesn't work if the value being converted is a percentage. (The overload should probably be removed entirely, but we didn't take that on in this commit.) - Fixed an issue in SvgGroup.Bounds where a child with empty bounds would cause the group's bounds to be reported as empty. - Fixed broken build by adding missing SvgMarker.MarkerUnits property. - Converted files that we touched with mixed tabs and spaces to spaces. Also removed unused usings from files we touched. - Converted SvgLinearGradientServer to use properties without backing fields for X1, Y1, etc. in order to match SvgRadialGradientServer. - Moved default value assignments into constructors for consistency.
-
Brian C. Barnes authored
-
Tebjan Halm authored
-
- 23 Jul, 2014 1 commit
-
-
Tebjan Halm authored
Colors Fix, Perf Improvement, Thread Safety
-
- 22 Jul, 2014 2 commits
-
-
Dan Backes authored
Colors Fix, Perf Improvement, Thread Safety
-
Dan Backes authored
-Fixes issues with colors not parsing correctly. Saving an SvgDocument resulted in RGB color values being converted to well known color names. -Compile regex statements to improve performance. -Make rendering a document threadsafe.
-
- 21 Jul, 2014 2 commits
-
-
Tebjan Halm authored
Add support for unknown svg element and non svg element: useful for not ...
-
Guymestef authored
Add support for unknown svg element and non svg element: useful for not removing unknown xml tag from document when loading a file
-
- 15 Jul, 2014 3 commits
-
-
tebjan authored
-
tebjan authored
-
Tebjan Halm authored
Gradient Improvements
-
- 14 Jul, 2014 1 commit
-
-
James Welle authored
- Added support for the "gradientTransform" attribute on both linear and radial gradients. The matrix in this attribute needs to be applied to attributes with coordinate values on the gradient element in order to transform them into the correct coordinate space. - Added support for a value of "pad" for the "spreadMode" attribute on both linear and radial gradients. This is the default value but was not implemented correctly. In order to implement, we examine the properties of the gradient along with the element to which the gradient is being applied to determine if we need to expand the bounds of the gradient to fill the element. If so, we do so and adjust the color stops and positions so they are correct for the new gradient bounds. - Divided ISvgStylable into ISvgBoundable and ISvgStylable. The SvgUnit.ToDeviceValue method just needs bounds so it can take ISvgBoundable. Moved SvgDocument.GetDimensions() to SvgFragment and made SvgFragment ISvgBoundable. - Fixed a bug in SvgFragment.PushTransforms where it was calling the SvgUnit.ToDeviceValue overload that takes no parameters. This overload doesn't work if the value being converted is a percentage. (The overload should probably be removed entirely, but we didn't take that on in this commit.) - Fixed an issue in SvgGroup.Bounds where a child with empty bounds would cause the group's bounds to be reported as empty. - Fixed broken build by adding missing SvgMarker.MarkerUnits property. - Converted files that we touched with mixed tabs and spaces to spaces. Also removed unused usings from files we touched. - Converted SvgLinearGradientServer to use properties without backing fields for X1, Y1, etc. in order to match SvgRadialGradientServer. - Moved default value assignments into constructors for consistency.
-
- 07 Jul, 2014 1 commit
-
-
Tebjan Halm authored
Support for 'slice' and fixed '...Max' in aspect ratio
-
- 04 Jul, 2014 1 commit
-
-
Brian C. Barnes authored
-
- 02 Jul, 2014 7 commits
-
-
Tebjan Halm authored
.Net 3.5 Support and Rendering Improvements (Markers, TSpans, Paths, etc.) + Working Build!
-
Tebjan Halm authored
Revert ".Net 3.5 Support and Rendering Improvements (Markers, TSpans, Pa...
-
Tebjan Halm authored
-
Eric Domke authored
-
Tebjan Halm authored
.Net 3.5 Support and Rendering Improvements (Markers, TSpans, Paths, etc.)
-
Eric Domke authored
-
tebjan authored
-
- 01 Jul, 2014 1 commit
-
-
Eric Domke authored
- Adding a descendants convenience methods (similar to the Xml to Linq API) - Removed non-functional property from the SvgDescription class to encourage use of the Content property instead - Added unit test project for unit test of new functionality.
-