示例#1
0
        public XGraphicsPath TransformGeom(double sf, MultiPolygon geom, BoundingBox geomBox)
        {
            XGraphicsPath xgp = new XGraphicsPath();

            foreach (Polygon pol in (geom as MultiPolygon).Polygons)
            {
                xgp.AddPath(TransformGeom(sf, pol, geomBox), false);
            }
            return(xgp);
        }
示例#2
0
        public XGraphicsPath TransformGeom(double sf, MultiLineString geom, BoundingBox geomBox)
        {
            XGraphicsPath xgp = new XGraphicsPath();

            foreach (LineString ls in (geom as MultiLineString).LineStrings)
            {
                xgp.AddPath(TransformGeom(sf, ls, geomBox), false);
            }
            return(xgp);
        }