1. 13 Jan, 2019 1 commit
  2. 06 Jan, 2019 1 commit
  3. 24 Dec, 2018 1 commit
  4. 21 Dec, 2018 1 commit
  5. 20 Dec, 2018 1 commit
  6. 19 Dec, 2018 1 commit
  7. 18 Dec, 2018 1 commit
    • mrbean-bremen's avatar
      Added simple appveyor config that executes the unit tests · 0b5f4ccb
      mrbean-bremen authored
      - suppress warning CS1591: Missing XML comment for publicly visible type or member
        to avoid to overflow the build log with warnings
      - fixed the rest of the documentation warnings in SVG project
      - ignore all failing tests for the time being
      0b5f4ccb
  8. 19 Mar, 2017 1 commit
  9. 10 Mar, 2017 1 commit
  10. 07 Mar, 2017 1 commit
    • mrbean-bremen's avatar
      Fixed PushTransform for SvgUse · bed13eb8
      mrbean-bremen authored
      - fixed matrix order (Prepend instead of Append)
      - fixes #64 (see __issue-064-01.svg and __issue-064-02.svg)
      - fixes test for struct-use-03-t.svg
      bed13eb8
  11. 03 Mar, 2017 1 commit
    • mrbean-bremen's avatar
      Do not create a clip region for view box · b12c63d1
      mrbean-bremen authored
      - a view box does not need a clip region, this breaks the overflow
      handling
      - overflow handling:  handle overflow attribut "Inherit" as Visible and
      "Scroll" as Hidden as per W3C documentation
      - fixes #279
      b12c63d1
  12. 20 Dec, 2015 1 commit
    • HeinrichAD's avatar
      Add: shape-rendering; Fix: CurrentCulture · 7894ea9e
      HeinrichAD authored
      Fix:
      Now the application make sure to set back the old culture even an error
      occurred.
      SvgColourConverter.ConvertFrom
      SvgPathBuilder.ConvertTo
      SvgDocument.Write
      SvgExtentions.GetXML
      
      Add:
      Attribute: "shape-rendering"
      
      Change:
      - Many other properties were unknowingly overloaded. I changed them to
      override.
      - Some methods or structures need the [CLSCompliant(false)] Attribute.
      For example the Enums.TryParse extension. This extension has the where
      condition IConvertible. IConvertible is [CLSCompliant(false)] and that
      the reason why it is correct to mark the Enums.TryParse extension also
      as [CLSCompliant(false)].
      - Property "float Opacity" in SvgElement was unknowingly overloaded in
      SvgGradientStop as string [stop-opacity]. In the end this property was
      only used as float. I changed the SvgGradientStop.Opacity property from
      string to float and to override.
      7894ea9e
  13. 28 Jul, 2015 1 commit
  14. 03 Apr, 2015 3 commits
  15. 23 Mar, 2015 1 commit
  16. 11 Feb, 2015 2 commits
  17. 26 Sep, 2014 1 commit
  18. 24 Sep, 2014 1 commit
    • Dan Backes's avatar
      Performance Improvement · 1b8cb43f
      Dan Backes authored
      - Because querying the Bounds property of an ISvgBoundable or
        SvgVisualElement is expensive, we introduced an ImmutableBoundable that
        is used by the SvgRenderer. This class stores the bounds of the supplied
        ISvgBoundable so that multiple queries for the bounds do not hamper
        performance when rendering.
      
      - Converted the Bounds property on ISvgBoundable and SvgVisualElement to a
        CalculateBounds method to indicate that it is an expensive operation
        that returns a new value each time it is called.
      
      - Removed redundant ISvgBoundable Location and Size properties.
      
      - Fixed a bug in SvgFragment.Path property by converting it to a method that
        indicates it returns a new GraphicsPath instance when called and by
        disposing of that instance in CalculateBounds. There are many more
        instances of GraphicsPath not being disposed in the code base but we did
        not address that here.
      1b8cb43f
  19. 23 Aug, 2014 1 commit
    • Eric Domke's avatar
      Gradient, Pattern, and Clip Fixes · 3f4ee333
      Eric Domke authored
      - Better parser for dealing with parsing edge cases
      - Fix corner radius for rectangles
      - Fix to gradients.  Most tests now pass
      - Add the possibility for a fallback paint server
      - Initial fixes to clipping
      - Start marking passed test
      - Fixes to pattern rendering
      3f4ee333
  20. 18 Aug, 2014 1 commit
    • Eric Domke's avatar
      Bug Fixes · 46e375e4
      Eric Domke authored
      - Fixing path parsing algorithm to deal with nuanced arc cases and
      hopefully improve performance
      - Attempts at better memory management
      - Working toward getting symbols to render correctly
      46e375e4
  21. 17 Aug, 2014 1 commit
    • Eric Domke's avatar
      Text on a Path & SVG Fonts · 7c70bd11
      Eric Domke authored
      - Extraction interface for SvgRenderer
      - Initial support for Text on a Path
      - Initial support for Svg Fonts
      - Support for symbol element
      - Minor bug fixes with image pattern rendering
      - Additional support for Text whitespace modes
      7c70bd11
  22. 10 Aug, 2014 1 commit
  23. 04 Aug, 2014 1 commit
    • Eric Domke's avatar
      Refactoring while working through W3C tests · d5c659a5
      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.
      - ...
      d5c659a5
  24. 30 Jul, 2014 1 commit
  25. 24 Jul, 2014 5 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
    • 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
    • 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
  26. 21 Jul, 2014 1 commit
  27. 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
  28. 04 Jul, 2014 1 commit
  29. 02 Jul, 2014 1 commit
  30. 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
  31. 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
  32. 28 Jun, 2014 2 commits