You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New TrueTypeFile.GetNames methods to get the font name(s) defined in a TrueType file.
New FolderFontLibrary class (to parse fonts from a folder) and MultiFontLibrary class (to parse fonts using multiple font libraries).
New +, -, and * operators for the Point class.
New methods to monotonise segments and to flatten paths and segments.
New Reverse method to reverse a GraphicsPath.
New GraphicsPath.GetStroke method to get the stroke of a path.
New GraphicsPath.ContainsPoint method to check whether a path contains a point.
New overload of the Graphics.FillPath method, accepting a FillRule argument that determines the fill rule (non-zero winding number, or even/odd number of contours).
VectSharp.Canvas
Support for Avalonia 11.
VectSharp.Plots
Added property to specify the maximum number of bins for violin plots.
VectSharp.Raster.ImageSharp and VectSharp.ImageSharpUtils
Two new versions of these packages, one with ImageSharp.Drawing updated to 1.0.0 and the other to 2.0.1.
Versions using ImageSharp.Drawing 1.0.0 target netstandard2.0, while the latest versions target net6.0 (like ImageSharp).
Bugfixes
Attempting to draw a null or empty string should not throw an exception anymore.
VectSharp.SVG
SVG documents containing text that uses font families that are included in the default font library now work properly.
Font style attributes are now propagated properly when parsing SVG documents.
Clipping paths defined by rect objects now work properly.
Improved text positioning.
Units other than px are now allowed when parsing SVG documents.
Fixed issue that occurred when multiple path data point coordinates < 1 were specified using only the . as a separator.
Gradients with relative units are now supported when parsing SVG documents.
text-anchor is now supported.
Entities defined outside of a defs tag are now supported.
Fixed issues with SVG animations on Chrome and Firefox.