// ----- DrawEllipse -------------------------------------------------------------------------- //public void DrawEllipse(XPen pen, Rectangle rect); //public void DrawEllipse(XPen pen, RectangleF rect); //public void DrawEllipse(XPen pen, int x, int y, int width, int height); //public void DrawEllipse(XPen pen, float x, float y, float width, float height); // ----- DrawPolygon -------------------------------------------------------------------------- //public void DrawPolygon(XPen pen, Point[] points); //public void DrawPolygon(XPen pen, PointF[] points); // ----- DrawPath ----------------------------------------------------------------------------- public void DrawPath(XPen pen, XSolidBrush brush, XGraphicsPath path) { if (this.gfx != null) { this.gfx.FillPath(brush.RealizeGdiBrush(), path.RealizeGdiPath()); this.gfx.DrawPath(pen.RealizeGdiPen(), path.RealizeGdiPath()); } if (this.pdfPage != null) { this.pdfPage.PageContent.DrawPath(pen, brush, path); } }
// ----- DrawEllipse -------------------------------------------------------------------------- //public void DrawEllipse(XPen pen, Rectangle rect); //public void DrawEllipse(XPen pen, RectangleF rect); //public void DrawEllipse(XPen pen, int x, int y, int width, int height); //public void DrawEllipse(XPen pen, float x, float y, float width, float height); // ----- DrawPolygon -------------------------------------------------------------------------- //public void DrawPolygon(XPen pen, Point[] points); //public void DrawPolygon(XPen pen, PointF[] points); // ----- DrawPath ----------------------------------------------------------------------------- public void DrawPath(XPen pen, XSolidBrush brush, XGraphicsPath path) { if (this.gfx != null) { this.gfx.FillPath(brush.RealizeGdiBrush(), path.RealizeGdiPath()); this.gfx.DrawPath(pen.RealizeGdiPen(), path.RealizeGdiPath()); } if (this.pdfPage != null) this.pdfPage.PageContent.DrawPath(pen, brush, path); }