// -------------------------------------------------------------------------------------------------------------------- // // Copyright (c) 2014 OxyPlot contributors // // // Provides functionality to export plots to scalable vector graphics using text measuring in Avalonia. // // -------------------------------------------------------------------------------------------------------------------- using Avalonia.Controls; namespace OxyPlot.Avalonia { /// /// Provides functionality to export plots to scalable vector graphics using text measuring in Avalonia. /// public class SvgExporter : OxyPlot.SvgExporter { /// /// Initializes a new instance of the class. /// public SvgExporter() { TextMeasurer = new CanvasRenderContext(new Canvas()); } } }