1. 24 Jul, 2014 4 commits
    • 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
  2. 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
  3. 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
  4. 28 Jun, 2014 2 commits
  5. 12 Jun, 2014 1 commit
  6. 02 Jun, 2014 1 commit
  7. 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
  8. 26 Apr, 2014 1 commit
  9. 17 Apr, 2014 1 commit
    • HarkDev's avatar
      Fixed Bound Calculation · 02ee6c04
      HarkDev authored
      To get the Bounds, the Union method of the rectangle must be called only when the first rectangle has been set. If the Renctangle is empty, use the first children's Bound, as a rectangle.
      02ee6c04
  10. 28 Mar, 2014 1 commit
  11. 17 Nov, 2013 1 commit
  12. 10 Oct, 2013 1 commit
  13. 30 Jul, 2013 1 commit
  14. 11 Jul, 2013 1 commit
  15. 08 Jul, 2013 2 commits
  16. 20 Jun, 2013 1 commit
  17. 19 Mar, 2012 1 commit
    • G Money's avatar
      - Made Deepcopy change to all elements to allow for duplicating part of the Svg document tree · 094c0b1a
      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)
      094c0b1a
  18. 24 Dec, 2011 2 commits
  19. 02 Dec, 2011 1 commit
  20. 30 Nov, 2011 1 commit
  21. 11 Nov, 2011 1 commit
    • Tebjan Halm's avatar
      * implemented fill modes · 6998823a
      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
      6998823a
  22. 04 Mar, 2010 1 commit