Skip to content

Version 2.4.2

Choose a tag to compare

@arklumpus arklumpus released this 16 Apr 15:49

New features

  • The Graphics class now has a UseUniqueTags property. If this is true (the default), all plot actions called with a tag parameter attempt to create unique tags. Otherwise, they use the tag as is (e.g., using the same tag for multiple sub-elements), which was the previous behaviour until v2.4.0.
  • Added an extension method GetText on IEnumerable<FormattedText>.
  • There are now a number of standard gradients in the VectSharp.Gradients static class.
  • Added an implicit conversion operator between GradientStops and Func<double, Colour>.
  • New option for text when exporting SVG images. The ConvertIntoPathsUsingGlyphs option converts the font in paths, but only stores each glyph once and reuses it. Compared to ConvertIntoPaths, this produces smaller files, while still being independent of the original font file.
  • VectSharp.Point now implements IReadOnlyList<double> and has a number of conversion methods to and from tuples and arrays.
  • New VectSharp.Plots package to draw many kinds of plots (e.g., scatter plots, line charts, bar charts, box plots, function plots, and more).

Bugfixes

  • Fixed issues with some symbols in PDF documents (#43).