예제 #1
0
        public SVGFormat(SVG svg)
        {
            Svg = svg;

            // Get the rendering context:
            Context = Svg.svgElement.Context;
        }
예제 #2
0
        public override bool LoadData(byte[] data, ImagePackage package)
        {
            string xml = System.Text.Encoding.UTF8.GetString(data);

            // Create the SVG:
            Svg = new SVG(xml);

            // Get the rendering context:
            Context = Svg.svgElement.Context;

            return(true);
        }
예제 #3
0
 public override void ClearX()
 {
     Svg = null;
 }