- 30 Jul, 2014 1 commit
-
-
Eric Domke authored
-
- 25 Jul, 2014 2 commits
-
-
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
-
- 24 Jul, 2014 4 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
-
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
-
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.
-
Tebjan Halm authored
-
- 21 Jul, 2014 1 commit
-
-
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
-
- 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.
-
- 02 Jul, 2014 1 commit
-
-
Tebjan Halm 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.
-
- 30 Jun, 2014 1 commit
-
-
Eric Domke authored
- 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 a marker to scale with either the stroke width or the use a custom coordinate space - Allow gradients to reference other gradients defined later in the SVG - Respect the font and fill styles of TextSpan elements. Current support is still partial. - Fix href attribute bug on the SVG use element
-
- 28 Jun, 2014 1 commit
-
-
Brian C. Barnes authored
-
- 27 Jun, 2014 1 commit
-
-
Eric Domke authored
- Implemented .Net 3.5 support mostly by removing ISvgEventCaller functionality in .Net 3.5 build - Added ability to parse orient="auto" - Added ability to parse colors such as rgb(#%, #%, #%) - Fixed marker rendering implementation
-
- 13 Mar, 2014 1 commit
-
-
tebjan authored
-
- 12 Mar, 2014 1 commit
-
-
tebjan authored
-
- 08 Mar, 2014 1 commit
-
-
tebjan authored
-
- 25 Nov, 2013 1 commit
-
-
Tebjan Halm authored
-
- 17 Nov, 2013 1 commit
-
- 10 Oct, 2013 1 commit
-
-
Bartosz Raczek authored
-
- 28 Jun, 2013 1 commit
-
-
Tebjan Halm authored
-
- 26 Jun, 2013 1 commit
-
-
Tebjan Halm authored
-
- 04 Jun, 2013 1 commit
-
-
Tebjan Halm authored
-
- 16 Jul, 2012 1 commit
-
-
Tebjan Halm authored
-
- 16 Apr, 2012 1 commit
-
-
Tebjan Halm authored
-
- 19 Mar, 2012 1 commit
-
-
G Money authored
- Changes to get texts displaying bold / normal weight - Changes to get textspans work correctly - Made (semi-hardcoded) document metadata section - allow reading and regurgitating metdata tag from an original source document - Included image - Modified paths to allow for scientific notation - Included ability to have markers for path ends (arrow ends etc)
-
- 24 Dec, 2011 1 commit
-
-
Tebjan Halm authored
* fixed missing files
-
- 30 Nov, 2011 1 commit
-
-
Tebjan Halm authored
* added method to collect paths of children elements * fixed possible bug getinheritedattribute
-
- 11 Nov, 2011 1 commit
-
-
Tebjan Halm authored
* fill can be null -> none in XML * added type converters for enums * added type converter for unitcollection * fixes several viewbox bugs * document can now draw into a given bitmap * content of SVG tag is written (used by the text tag) * changed font handling in text element, still need proper alignment * changed intersparse character of SvgTransformConverter.cs to space, because inkscape couldn't parse comma * added class diagram for basic shapes
-
- 04 Mar, 2010 1 commit
-
-
davescriven authored
-
- 03 Mar, 2010 1 commit
-
-
davescriven authored
- Adding initial support for Write functionality. Units & Transforms mostly. Enums still need work. Needs support for an IsDirty concept so that that every possible attribute isn't written.
-
- 21 Dec, 2008 1 commit
-
-
davescriven authored
- Fixed #7986: public static SvgDocument Open(XmlDocument document) returns null: Implemented the proposed solution - Added more XML API comments. - Removed SvgVisualElementEvents.cs class - this was not used and not likely to be used
-
- 20 Dec, 2008 1 commit
-
-
davescriven authored
- Refactored SvgElementFactory to use the new SvgElementAttribute to get available elements.
-
- 19 Dec, 2008 1 commit
-
-
davescriven authored
-
- 17 Oct, 2008 1 commit
-
-
davescriven authored
- Made all transforms (SvgTranslate, SvgMatrix etc) sealed types.
-
- 17 Jun, 2008 1 commit
-
-
davescriven authored
- Fixed #6324: SvgElement.PushTransforms and ViewBox - not necessarily related to ViewBox but every element was 'resetting' the current graphics transform if the element contained it's own transform. This was a very small fix for a large problem (SvgElement.PushTransforms Matrix transformMatrix = new Matrix(); changed to Matrix transformMatrix = renderer.Transform; in order to inherit the current transform.) - Fixed #6344: Parsing document incorrectly parents elements when it encounters empty nodes which are in a different namespace. Empty nodes are now ignored and current nodes are closed as required. We'll see how this fix goes. - Fixed #6381: Units in inches are incorrectly parsed as millimeters - problem was caused by some copy/paste work. - Graphics has been replaced by SvgRenderer. This is essentially a wrapper around graphics but will allow custom svg related properties in the future when needed. - Removed ISvgRenderer: A concrete implementation is suitable. - SvgElement.ElementName has been changed to non-virtual and is set by the parser instead of the developer having to specify it when developing the class. - Added more XML API documentation.
-
- 19 Apr, 2008 1 commit
-
-
davescriven authored
- Added initial custom/querystring 'parameters' implementation (#5652)
-
- 24 Mar, 2008 1 commit
-
-
davescriven authored
- Fixed support for text-anchor="middle" and text-anchor="end" for <text/> elements. - Added more XML API documentation - Added x attribute and y attribute support to <use/> elements.
-
- 07 Mar, 2008 1 commit
-
-
davescriven authored
-