protected override void OnRenderInternal(Map map, Polygon polygon, Graphics g)
{
// convert points
var pts = /*LimitValues(*/polygon.TransformToImage(map)/*)*/;
// clip
if (UseClipping)
pts = VectorRenderer.ClipPolygon(pts, map.Size.Width, map.Size.Height);
// fill the polygon
if (Fill != null)
g.FillPolygon(Fill, pts);
// outline the polygon
if (Outline != null)
g.DrawPolygon(Outline, pts);
}