SvgGroup.cs 719 Bytes
Newer Older
davescriven's avatar
davescriven committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using System;
using System.Collections.Generic;
using System.Xml;
using System.Text;

namespace Svg
{
    public class SvgGroup : SvgGraphicsElement
    {
        public SvgGroup()
        {
        }

        public override System.Drawing.Drawing2D.GraphicsPath Path
        {
            get { return null; }
        }

        public override System.Drawing.RectangleF Bounds
        {
            get { return new System.Drawing.RectangleF(); }
        }

        protected override void Render(System.Drawing.Graphics graphics)
        {
            this.PushTransforms(graphics);
            base.RenderContents(graphics);
            this.PopTransforms(graphics);
        }
    }
}