1. 31 Jul, 2014 1 commit
  2. 30 Jul, 2014 3 commits
  3. 28 Jul, 2014 1 commit
  4. 26 Jul, 2014 2 commits
  5. 25 Jul, 2014 4 commits
  6. 24 Jul, 2014 8 commits
    • Eric Domke's avatar
      Various Parsing Bug Fixes · f10b0336
      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
      f10b0336
    • Dan Backes's avatar
      Colors Fix, Perf Improvement, Thread Safety · 9643cc69
      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.
      9643cc69
    • Guymestef's avatar
      Add support for unknown svg element and non svg element: useful for not... · 5649b72e
      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
      5649b72e
    • tebjan's avatar
      6d1b5eb5
    • tebjan's avatar
      fixed bug in rgb color parsing · 31b085c6
      tebjan authored
      31b085c6
    • James Welle's avatar
      Gradient Improvements · 9e269139
      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.
      9e269139
    • Brian C. Barnes's avatar
      4f3df864
    • Tebjan Halm's avatar
  7. 23 Jul, 2014 1 commit
  8. 22 Jul, 2014 2 commits
  9. 21 Jul, 2014 2 commits
  10. 15 Jul, 2014 3 commits
  11. 14 Jul, 2014 1 commit
    • James Welle's avatar
      Gradient Improvements · 3987f281
      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.
      3987f281
  12. 07 Jul, 2014 1 commit
  13. 04 Jul, 2014 1 commit
  14. 02 Jul, 2014 7 commits
  15. 01 Jul, 2014 2 commits
    • Eric Domke's avatar
      Descendants Extension and Metadata Tweaks · 1f36e015
      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.
      1f36e015
    • Tebjan Halm's avatar
      Merge pull request #75 from bcbarnes-gmx/Devel · d151315a
      Tebjan Halm authored
      fixed up the support for markers so that they draw properly, and added support for "preserveAspectRatio" except for the 'slice' and 'defer' options.
      d151315a
  16. 30 Jun, 2014 1 commit
    • Eric Domke's avatar
      Improve SVG Support: TSpans, Paths, etc. · 7bb22d37
      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
      7bb22d37