예제 #1
0
파일: PdfCanvas.cs 프로젝트: mwilian/demos
        public void DrawAndFillBeziers(Pen pen, Brush brush, TPointF[] points, TClippingStyle clippingStyle)
        {
            switch (clippingStyle)
            {
            case TClippingStyle.None:
                Canvas.DrawAndFillBeziers(pen, brush, points);
                break;

            default:
                if (brush != null)
                {
                    Canvas.ClipBeziers(points, clippingStyle == TClippingStyle.Exclude);
                    SetClipped(true, RectangleF.Empty);
                }
                break;
            }
        }