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); }
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); }