1. 01 Aug, 2014 1 commit
    • Eric Domke's avatar
      CSS Support · 3aedd8e8
      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
      3aedd8e8
  2. 31 Jul, 2014 1 commit
  3. 30 Jul, 2014 1 commit
  4. 26 Jul, 2014 2 commits
  5. 25 Jul, 2014 3 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. 22 Jul, 2014 1 commit
    • Dan Backes's avatar
      Colors Fix, Perf Improvement, Thread Safety · 837e0963
      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.
      837e0963
  8. 21 Jul, 2014 1 commit
  9. 15 Jul, 2014 2 commits
  10. 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
  11. 04 Jul, 2014 1 commit
  12. 02 Jul, 2014 3 commits
  13. 01 Jul, 2014 1 commit
    • 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
  14. 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
  15. 28 Jun, 2014 4 commits
  16. 27 Jun, 2014 1 commit
    • Eric Domke's avatar
      .Net 3.5 Support and Marker Fixes · 14a3b6a9
      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
      14a3b6a9
  17. 17 Jun, 2014 1 commit
    • Guymestef's avatar
      Reading EntityReference on open when use as a node · 87e25aa7
      Guymestef authored
      Read EntityReference node and add it to the SvgDocument.
      
      ```
      <?xml version="1.0"?>
      <svg xmlns="http://www.w3.org/2000/svg" width="800px" height="800px">
        <g>
          <rect width="200px" height="200px" fill="black" />
          <text x="100px" y="100px" font-family="Verdana" font-size="24" fill="white" text-anchor="middle">&name;</text>
        </g>
      </svg>
      ```
      87e25aa7
  18. 14 Jun, 2014 1 commit
  19. 12 Jun, 2014 1 commit
  20. 11 Jun, 2014 1 commit
  21. 02 Jun, 2014 1 commit
  22. 31 May, 2014 1 commit
  23. 21 May, 2014 1 commit
    • C Moore's avatar
      Requested Changes from PR #67 Review · c04111fc
      C Moore authored
      Moved Display="none" hack & Added .Render check for : if (!Visible ||
      !Displayable)
      
      Also, minor change to logic of SvgBoolConverter so bad visibility values
      (other than "hidden" or "collapse") wouldn't accidentally hide element
      c04111fc
  24. 20 May, 2014 1 commit