Exemplo n.º 1
0
        private void GenerateSvg(int size, TextWriter writer, bool fragment)
        {
            var iconBounds = GetIconBounds(size);
            var renderer   = new SvgRenderer(size, size);

            iconGenerator.Generate(renderer, iconBounds, Style, hash);
            renderer.Save(writer, fragment);
        }