public SvgGraphics(TextWriter tw, RectangleF viewBox) { _viewBox = viewBox; _tw = tw; IncludeXmlAndDoctype = true; _fontMetrics = new SvgGraphicsFontMetrics(); SetColor(Colors.Black); _states.Push(_state); }
public SvgGraphics(TextWriter tw, RectangleF viewBox) { _viewBox = viewBox; _tw = tw; IncludeXmlAndDoctype = true; _fontMetrics = new SvgGraphicsFontMetrics (); SetColor (Colors.Black); _states.Push (_state); }
public void SetFont(Font f) { _fontMetrics = new SvgGraphicsFontMetrics(f); }