Exemplo n.º 1
0
        public void FillPolygon(IColor color, params Point[] points)
        {
            if (!color.IsTransparent)
            {
                var b = resourceManager.GetBrush(color.ToSolidColor());

                var wfpoints = new WFPointF[points.Length];
                for (int i = 0; i < points.Length; i++)
                {
                    wfpoints[i] = points[i];
                }

                this.g.FillPolygon(b, wfpoints);
            }
        }