PdfSharp-GDI
1.31.7289
|
Represents a drawing surface (or canvas) for a fixed size page. More...
Classes | |
class | SpaceTransformer |
(This class is under construction.) More... | |
class | XGraphicsInternals |
Provides access to internal data structures of the XGraphics class. More... | |
Public Member Functions | |
void | Dispose () |
Releases all resources used by this object. More... | |
void | Clear (XColor color) |
Fills the entire drawing surface with the specified color. The functions works only if the current transformation is identity, i.e. the function should be called only immediately after the XGraphics object was created. More... | |
void | DrawLine (XPen pen, System.Drawing.Point pt1, System.Drawing.Point pt2) |
Draws a line connecting two Point structures. More... | |
void | DrawLine (XPen pen, PointF pt1, PointF pt2) |
Draws a line connecting two PointF structures. More... | |
void | DrawLine (XPen pen, XPoint pt1, XPoint pt2) |
Draws a line connecting two XPoint structures. More... | |
void | DrawLine (XPen pen, int x1, int y1, int x2, int y2) |
Draws a line connecting the two points specified by coordinate pairs. More... | |
void | DrawLine (XPen pen, double x1, double y1, double x2, double y2) |
Draws a line connecting the two points specified by coordinate pairs. More... | |
void | DrawLines (XPen pen, System.Drawing.Point[] points) |
Draws a series of line segments that connect an array of points. More... | |
void | DrawLines (XPen pen, PointF[] points) |
Draws a series of line segments that connect an array of points. More... | |
void | DrawLines (XPen pen, XPoint[] points) |
Draws a series of line segments that connect an array of points. More... | |
void | DrawLines (XPen pen, double x, double y, params double[] value) |
Draws a series of line segments that connect an array of x and y pairs. More... | |
void | DrawBezier (XPen pen, System.Drawing.Point pt1, System.Drawing.Point pt2, System.Drawing.Point pt3, System.Drawing.Point pt4) |
Draws a Bézier spline defined by four points. More... | |
void | DrawBezier (XPen pen, PointF pt1, PointF pt2, PointF pt3, PointF pt4) |
Draws a Bézier spline defined by four points. More... | |
void | DrawBezier (XPen pen, XPoint pt1, XPoint pt2, XPoint pt3, XPoint pt4) |
Draws a Bézier spline defined by four points. More... | |
void | DrawBezier (XPen pen, double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4) |
Draws a Bézier spline defined by four points. More... | |
void | DrawBeziers (XPen pen, System.Drawing.Point[] points) |
Draws a series of Bézier splines from an array of points. More... | |
void | DrawBeziers (XPen pen, PointF[] points) |
Draws a series of Bézier splines from an array of points. More... | |
void | DrawBeziers (XPen pen, XPoint[] points) |
Draws a series of Bézier splines from an array of points. More... | |
void | DrawCurve (XPen pen, System.Drawing.Point[] points) |
Draws a cardinal spline through a specified array of points. More... | |
void | DrawCurve (XPen pen, PointF[] points) |
Draws a cardinal spline through a specified array of points. More... | |
void | DrawCurve (XPen pen, XPoint[] points) |
Draws a cardinal spline through a specified array of points. More... | |
void | DrawCurve (XPen pen, System.Drawing.Point[] points, double tension) |
Draws a cardinal spline through a specified array of points using a specified tension. More... | |
void | DrawCurve (XPen pen, PointF[] points, double tension) |
Draws a cardinal spline through a specified array of points using a specified tension. More... | |
void | DrawCurve (XPen pen, XPoint[] points, double tension) |
Draws a cardinal spline through a specified array of points using a specified tension. More... | |
void | DrawArc (XPen pen, Rectangle rect, double startAngle, double sweepAngle) |
Draws an arc representing a portion of an ellipse. More... | |
void | DrawArc (XPen pen, RectangleF rect, double startAngle, double sweepAngle) |
Draws an arc representing a portion of an ellipse. More... | |
void | DrawArc (XPen pen, XRect rect, double startAngle, double sweepAngle) |
Draws an arc representing a portion of an ellipse. More... | |
void | DrawArc (XPen pen, int x, int y, int width, int height, int startAngle, int sweepAngle) |
Draws an arc representing a portion of an ellipse. More... | |
void | DrawArc (XPen pen, double x, double y, double width, double height, double startAngle, double sweepAngle) |
Draws an arc representing a portion of an ellipse. More... | |
void | DrawRectangle (XPen pen, Rectangle rect) |
Draws a rectangle. More... | |
void | DrawRectangle (XPen pen, RectangleF rect) |
Draws a rectangle. More... | |
void | DrawRectangle (XPen pen, XRect rect) |
Draws a rectangle. More... | |
void | DrawRectangle (XPen pen, int x, int y, int width, int height) |
Draws a rectangle. More... | |
void | DrawRectangle (XPen pen, double x, double y, double width, double height) |
Draws a rectangle. More... | |
void | DrawRectangle (XBrush brush, Rectangle rect) |
Draws a rectangle. More... | |
void | DrawRectangle (XBrush brush, RectangleF rect) |
Draws a rectangle. More... | |
void | DrawRectangle (XBrush brush, XRect rect) |
Draws a rectangle. More... | |
void | DrawRectangle (XBrush brush, int x, int y, int width, int height) |
Draws a rectangle. More... | |
void | DrawRectangle (XBrush brush, double x, double y, double width, double height) |
Draws a rectangle. More... | |
void | DrawRectangle (XPen pen, XBrush brush, Rectangle rect) |
Draws a rectangle. More... | |
void | DrawRectangle (XPen pen, XBrush brush, RectangleF rect) |
Draws a rectangle. More... | |
void | DrawRectangle (XPen pen, XBrush brush, XRect rect) |
Draws a rectangle. More... | |
void | DrawRectangle (XPen pen, XBrush brush, int x, int y, int width, int height) |
Draws a rectangle. More... | |
void | DrawRectangle (XPen pen, XBrush brush, double x, double y, double width, double height) |
Draws a rectangle. More... | |
void | DrawRectangles (XPen pen, Rectangle[] rectangles) |
Draws a series of rectangles. More... | |
void | DrawRectangles (XPen pen, RectangleF[] rectangles) |
Draws a series of rectangles. More... | |
void | DrawRectangles (XPen pen, XRect[] rectangles) |
Draws a series of rectangles. More... | |
void | DrawRectangles (XBrush brush, Rectangle[] rectangles) |
Draws a series of rectangles. More... | |
void | DrawRectangles (XBrush brush, RectangleF[] rectangles) |
Draws a series of rectangles. More... | |
void | DrawRectangles (XBrush brush, XRect[] rectangles) |
Draws a series of rectangles. More... | |
void | DrawRectangles (XPen pen, XBrush brush, Rectangle[] rectangles) |
Draws a series of rectangles. More... | |
void | DrawRectangles (XPen pen, XBrush brush, RectangleF[] rectangles) |
Draws a series of rectangles. More... | |
void | DrawRectangles (XPen pen, XBrush brush, XRect[] rectangles) |
Draws a series of rectangles. More... | |
void | DrawRoundedRectangle (XPen pen, Rectangle rect, System.Drawing.Size ellipseSize) |
Draws a rectangles with round corners. More... | |
void | DrawRoundedRectangle (XPen pen, RectangleF rect, SizeF ellipseSize) |
Draws a rectangles with round corners. More... | |
void | DrawRoundedRectangle (XPen pen, XRect rect, XSize ellipseSize) |
Draws a rectangles with round corners. More... | |
void | DrawRoundedRectangle (XPen pen, int x, int y, int width, int height, int ellipseWidth, int ellipseHeight) |
Draws a rectangles with round corners. More... | |
void | DrawRoundedRectangle (XPen pen, double x, double y, double width, double height, double ellipseWidth, double ellipseHeight) |
Draws a rectangles with round corners. More... | |
void | DrawRoundedRectangle (XBrush brush, Rectangle rect, System.Drawing.Size ellipseSize) |
Draws a rectangles with round corners. More... | |
void | DrawRoundedRectangle (XBrush brush, RectangleF rect, SizeF ellipseSize) |
Draws a rectangles with round corners. More... | |
void | DrawRoundedRectangle (XBrush brush, XRect rect, XSize ellipseSize) |
Draws a rectangles with round corners. More... | |
void | DrawRoundedRectangle (XBrush brush, int x, int y, int width, int height, int ellipseWidth, int ellipseHeight) |
Draws a rectangles with round corners. More... | |
void | DrawRoundedRectangle (XBrush brush, double x, double y, double width, double height, double ellipseWidth, double ellipseHeight) |
Draws a rectangles with round corners. More... | |
void | DrawRoundedRectangle (XPen pen, XBrush brush, Rectangle rect, System.Drawing.Size ellipseSize) |
Draws a rectangles with round corners. More... | |
void | DrawRoundedRectangle (XPen pen, XBrush brush, RectangleF rect, SizeF ellipseSize) |
Draws a rectangles with round corners. More... | |
void | DrawRoundedRectangle (XPen pen, XBrush brush, XRect rect, XSize ellipseSize) |
Draws a rectangles with round corners. More... | |
void | DrawRoundedRectangle (XPen pen, XBrush brush, int x, int y, int width, int height, int ellipseWidth, int ellipseHeight) |
Draws a rectangles with round corners. More... | |
void | DrawRoundedRectangle (XPen pen, XBrush brush, double x, double y, double width, double height, double ellipseWidth, double ellipseHeight) |
Draws a rectangles with round corners. More... | |
void | DrawEllipse (XPen pen, Rectangle rect) |
Draws an ellipse defined by a bounding rectangle. More... | |
void | DrawEllipse (XPen pen, RectangleF rect) |
Draws an ellipse defined by a bounding rectangle. More... | |
void | DrawEllipse (XPen pen, XRect rect) |
Draws an ellipse defined by a bounding rectangle. More... | |
void | DrawEllipse (XPen pen, int x, int y, int width, int height) |
Draws an ellipse defined by a bounding rectangle. More... | |
void | DrawEllipse (XPen pen, double x, double y, double width, double height) |
Draws an ellipse defined by a bounding rectangle. More... | |
void | DrawEllipse (XBrush brush, Rectangle rect) |
Draws an ellipse defined by a bounding rectangle. More... | |
void | DrawEllipse (XBrush brush, RectangleF rect) |
Draws an ellipse defined by a bounding rectangle. More... | |
void | DrawEllipse (XBrush brush, XRect rect) |
Draws an ellipse defined by a bounding rectangle. More... | |
void | DrawEllipse (XBrush brush, int x, int y, int width, int height) |
Draws an ellipse defined by a bounding rectangle. More... | |
void | DrawEllipse (XBrush brush, double x, double y, double width, double height) |
Draws an ellipse defined by a bounding rectangle. More... | |
void | DrawEllipse (XPen pen, XBrush brush, Rectangle rect) |
Draws an ellipse defined by a bounding rectangle. More... | |
void | DrawEllipse (XPen pen, XBrush brush, RectangleF rect) |
Draws an ellipse defined by a bounding rectangle. More... | |
void | DrawEllipse (XPen pen, XBrush brush, XRect rect) |
Draws an ellipse defined by a bounding rectangle. More... | |
void | DrawEllipse (XPen pen, XBrush brush, int x, int y, int width, int height) |
Draws an ellipse defined by a bounding rectangle. More... | |
void | DrawEllipse (XPen pen, XBrush brush, double x, double y, double width, double height) |
Draws an ellipse defined by a bounding rectangle. More... | |
void | DrawPolygon (XPen pen, System.Drawing.Point[] points) |
Draws a polygon defined by an array of points. More... | |
void | DrawPolygon (XPen pen, PointF[] points) |
Draws a polygon defined by an array of points. More... | |
void | DrawPolygon (XPen pen, XPoint[] points) |
Draws a polygon defined by an array of points. More... | |
void | DrawPolygon (XBrush brush, System.Drawing.Point[] points, XFillMode fillmode) |
Draws a polygon defined by an array of points. More... | |
void | DrawPolygon (XBrush brush, PointF[] points, XFillMode fillmode) |
Draws a polygon defined by an array of points. More... | |
void | DrawPolygon (XBrush brush, XPoint[] points, XFillMode fillmode) |
Draws a polygon defined by an array of points. More... | |
void | DrawPolygon (XPen pen, XBrush brush, System.Drawing.Point[] points, XFillMode fillmode) |
Draws a polygon defined by an array of points. More... | |
void | DrawPolygon (XPen pen, XBrush brush, PointF[] points, XFillMode fillmode) |
Draws a polygon defined by an array of points. More... | |
void | DrawPolygon (XPen pen, XBrush brush, XPoint[] points, XFillMode fillmode) |
Draws a polygon defined by an array of points. More... | |
void | DrawPie (XPen pen, Rectangle rect, double startAngle, double sweepAngle) |
Draws a pie defined by an ellipse. More... | |
void | DrawPie (XPen pen, RectangleF rect, double startAngle, double sweepAngle) |
Draws a pie defined by an ellipse. More... | |
void | DrawPie (XPen pen, XRect rect, double startAngle, double sweepAngle) |
Draws a pie defined by an ellipse. More... | |
void | DrawPie (XPen pen, int x, int y, int width, int height, int startAngle, int sweepAngle) |
Draws a pie defined by an ellipse. More... | |
void | DrawPie (XPen pen, double x, double y, double width, double height, double startAngle, double sweepAngle) |
Draws a pie defined by an ellipse. More... | |
void | DrawPie (XBrush brush, Rectangle rect, double startAngle, double sweepAngle) |
Draws a pie defined by an ellipse. More... | |
void | DrawPie (XBrush brush, RectangleF rect, double startAngle, double sweepAngle) |
Draws a pie defined by an ellipse. More... | |
void | DrawPie (XBrush brush, XRect rect, double startAngle, double sweepAngle) |
Draws a pie defined by an ellipse. More... | |
void | DrawPie (XBrush brush, int x, int y, int width, int height, int startAngle, int sweepAngle) |
Draws a pie defined by an ellipse. More... | |
void | DrawPie (XBrush brush, double x, double y, double width, double height, double startAngle, double sweepAngle) |
Draws a pie defined by an ellipse. More... | |
void | DrawPie (XPen pen, XBrush brush, Rectangle rect, double startAngle, double sweepAngle) |
Draws a pie defined by an ellipse. More... | |
void | DrawPie (XPen pen, XBrush brush, RectangleF rect, double startAngle, double sweepAngle) |
Draws a pie defined by an ellipse. More... | |
void | DrawPie (XPen pen, XBrush brush, XRect rect, double startAngle, double sweepAngle) |
Draws a pie defined by an ellipse. More... | |
void | DrawPie (XPen pen, XBrush brush, int x, int y, int width, int height, int startAngle, int sweepAngle) |
Draws a pie defined by an ellipse. More... | |
void | DrawPie (XPen pen, XBrush brush, double x, double y, double width, double height, double startAngle, double sweepAngle) |
Draws a pie defined by an ellipse. More... | |
void | DrawClosedCurve (XPen pen, System.Drawing.Point[] points) |
Draws a closed cardinal spline defined by an array of points. More... | |
void | DrawClosedCurve (XPen pen, PointF[] points) |
Draws a closed cardinal spline defined by an array of points. More... | |
void | DrawClosedCurve (XPen pen, XPoint[] points) |
Draws a closed cardinal spline defined by an array of points. More... | |
void | DrawClosedCurve (XPen pen, System.Drawing.Point[] points, double tension) |
Draws a closed cardinal spline defined by an array of points. More... | |
void | DrawClosedCurve (XPen pen, PointF[] points, double tension) |
Draws a closed cardinal spline defined by an array of points. More... | |
void | DrawClosedCurve (XPen pen, XPoint[] points, double tension) |
Draws a closed cardinal spline defined by an array of points. More... | |
void | DrawClosedCurve (XBrush brush, System.Drawing.Point[] points) |
Draws a closed cardinal spline defined by an array of points. More... | |
void | DrawClosedCurve (XBrush brush, PointF[] points) |
Draws a closed cardinal spline defined by an array of points. More... | |
void | DrawClosedCurve (XBrush brush, XPoint[] points) |
Draws a closed cardinal spline defined by an array of points. More... | |
void | DrawClosedCurve (XBrush brush, System.Drawing.Point[] points, XFillMode fillmode) |
Draws a closed cardinal spline defined by an array of points. More... | |
void | DrawClosedCurve (XBrush brush, PointF[] points, XFillMode fillmode) |
Draws a closed cardinal spline defined by an array of points. More... | |
void | DrawClosedCurve (XBrush brush, XPoint[] points, XFillMode fillmode) |
Draws a closed cardinal spline defined by an array of points. More... | |
void | DrawClosedCurve (XBrush brush, System.Drawing.Point[] points, XFillMode fillmode, double tension) |
Draws a closed cardinal spline defined by an array of points. More... | |
void | DrawClosedCurve (XBrush brush, PointF[] points, XFillMode fillmode, double tension) |
Draws a closed cardinal spline defined by an array of points. More... | |
void | DrawClosedCurve (XBrush brush, XPoint[] points, XFillMode fillmode, double tension) |
Draws a closed cardinal spline defined by an array of points. More... | |
void | DrawClosedCurve (XPen pen, XBrush brush, System.Drawing.Point[] points) |
Draws a closed cardinal spline defined by an array of points. More... | |
void | DrawClosedCurve (XPen pen, XBrush brush, PointF[] points) |
Draws a closed cardinal spline defined by an array of points. More... | |
void | DrawClosedCurve (XPen pen, XBrush brush, XPoint[] points) |
Draws a closed cardinal spline defined by an array of points. More... | |
void | DrawClosedCurve (XPen pen, XBrush brush, System.Drawing.Point[] points, XFillMode fillmode) |
Draws a closed cardinal spline defined by an array of points. More... | |
void | DrawClosedCurve (XPen pen, XBrush brush, PointF[] points, XFillMode fillmode) |
Draws a closed cardinal spline defined by an array of points. More... | |
void | DrawClosedCurve (XPen pen, XBrush brush, XPoint[] points, XFillMode fillmode) |
Draws a closed cardinal spline defined by an array of points. More... | |
void | DrawClosedCurve (XPen pen, XBrush brush, System.Drawing.Point[] points, XFillMode fillmode, double tension) |
Draws a closed cardinal spline defined by an array of points. More... | |
void | DrawClosedCurve (XPen pen, XBrush brush, PointF[] points, XFillMode fillmode, double tension) |
Draws a closed cardinal spline defined by an array of points. More... | |
void | DrawClosedCurve (XPen pen, XBrush brush, XPoint[] points, XFillMode fillmode, double tension) |
Draws a closed cardinal spline defined by an array of points. More... | |
void | DrawPath (XPen pen, XGraphicsPath path) |
Draws a graphical path. More... | |
void | DrawPath (XBrush brush, XGraphicsPath path) |
Draws a graphical path. More... | |
void | DrawPath (XPen pen, XBrush brush, XGraphicsPath path) |
Draws a graphical path. More... | |
void | DrawString (string s, XFont font, XBrush brush, PointF point) |
Draws the specified text string. More... | |
void | DrawString (string s, XFont font, XBrush brush, XPoint point) |
Draws the specified text string. More... | |
void | DrawString (string s, XFont font, XBrush brush, PointF point, XStringFormat format) |
Draws the specified text string. More... | |
void | DrawString (string s, XFont font, XBrush brush, XPoint point, XStringFormat format) |
Draws the specified text string. More... | |
void | DrawString (string s, XFont font, XBrush brush, double x, double y) |
Draws the specified text string. More... | |
void | DrawString (string s, XFont font, XBrush brush, double x, double y, XStringFormat format) |
Draws the specified text string. More... | |
void | DrawString (string s, XFont font, XBrush brush, RectangleF layoutRectangle) |
Draws the specified text string. More... | |
void | DrawString (string s, XFont font, XBrush brush, XRect layoutRectangle) |
Draws the specified text string. More... | |
void | DrawString (string s, XFont font, XBrush brush, RectangleF layoutRectangle, XStringFormat format) |
Draws the specified text string. More... | |
void | DrawString (string text, XFont font, XBrush brush, XRect layoutRectangle, XStringFormat format) |
Draws the specified text string. More... | |
XSize | MeasureString (string text, XFont font, XStringFormat stringFormat) |
Measures the specified string when drawn with the specified font. More... | |
XSize | MeasureString (string text, XFont font) |
Measures the specified string when drawn with the specified font. More... | |
void | DrawImage (XImage image, System.Drawing.Point point) |
Draws the specified image. More... | |
void | DrawImage (XImage image, PointF point) |
Draws the specified image. More... | |
void | DrawImage (XImage image, XPoint point) |
Draws the specified image. More... | |
void | DrawImage (XImage image, int x, int y) |
Draws the specified image. More... | |
void | DrawImage (XImage image, double x, double y) |
Draws the specified image. More... | |
void | DrawImage (XImage image, Rectangle rect) |
Draws the specified image. More... | |
void | DrawImage (XImage image, RectangleF rect) |
Draws the specified image. More... | |
void | DrawImage (XImage image, XRect rect) |
Draws the specified image. More... | |
void | DrawImage (XImage image, int x, int y, int width, int height) |
Draws the specified image. More... | |
void | DrawImage (XImage image, double x, double y, double width, double height) |
Draws the specified image. More... | |
void | DrawImage (XImage image, Rectangle destRect, Rectangle srcRect, XGraphicsUnit srcUnit) |
Draws the specified image. More... | |
void | DrawImage (XImage image, RectangleF destRect, RectangleF srcRect, XGraphicsUnit srcUnit) |
Draws the specified image. More... | |
void | DrawImage (XImage image, XRect destRect, XRect srcRect, XGraphicsUnit srcUnit) |
Draws the specified image. More... | |
void | DrawBarCode (BarCodes.BarCode barcode, XPoint position) |
Draws the specified bar code. More... | |
void | DrawBarCode (BarCodes.BarCode barcode, XBrush brush, XPoint position) |
Draws the specified bar code. More... | |
void | DrawBarCode (BarCodes.BarCode barcode, XBrush brush, XFont font, XPoint position) |
Draws the specified bar code. More... | |
void | DrawMatrixCode (BarCodes.MatrixCode matrixcode, XPoint position) |
Draws the specified data matrix code. More... | |
void | DrawMatrixCode (BarCodes.MatrixCode matrixcode, XBrush brush, XPoint position) |
Draws the specified data matrix code. More... | |
XGraphicsState | Save () |
Saves the current state of this XGraphics object and identifies the saved state with the returned XGraphicsState object. More... | |
void | Restore (XGraphicsState state) |
Restores the state of this XGraphics object to the state represented by the specified XGraphicsState object. More... | |
void | Restore () |
Restores the state of this XGraphics object to the state before the most recently call of Save. More... | |
XGraphicsContainer | BeginContainer () |
Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container. More... | |
XGraphicsContainer | BeginContainer (Rectangle dstrect, Rectangle srcrect, XGraphicsUnit unit) |
Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container. More... | |
XGraphicsContainer | BeginContainer (RectangleF dstrect, RectangleF srcrect, XGraphicsUnit unit) |
Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container. More... | |
XGraphicsContainer | BeginContainer (XRect dstrect, XRect srcrect, XGraphicsUnit unit) |
Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container. More... | |
void | EndContainer (XGraphicsContainer container) |
Closes the current graphics container and restores the state of this XGraphics to the state saved by a call to the BeginContainer method. More... | |
void | TranslateTransform (double dx, double dy) |
Applies the specified translation operation to the transformation matrix of this object by prepending it to the object's transformation matrix. More... | |
void | TranslateTransform (double dx, double dy, XMatrixOrder order) |
Applies the specified translation operation to the transformation matrix of this object in the specified order. More... | |
void | ScaleTransform (double scaleX, double scaleY) |
Applies the specified scaling operation to the transformation matrix of this object by prepending it to the object's transformation matrix. More... | |
void | ScaleTransform (double scaleX, double scaleY, XMatrixOrder order) |
Applies the specified scaling operation to the transformation matrix of this object in the specified order. More... | |
void | ScaleTransform (double scaleXY) |
Applies the specified scaling operation to the transformation matrix of this object by prepending it to the object's transformation matrix. More... | |
void | ScaleTransform (double scaleXY, XMatrixOrder order) |
Applies the specified scaling operation to the transformation matrix of this object in the specified order. More... | |
void | RotateTransform (double angle) |
Applies the specified rotation operation to the transformation matrix of this object by prepending it to the object's transformation matrix. More... | |
void | RotateTransform (double angle, XMatrixOrder order) |
Applies the specified rotation operation to the transformation matrix of this object in the specified order. The angle unit of measure is degree. More... | |
void | RotateAtTransform (double angle, XPoint point) |
Applies the specified rotation operation to the transformation matrix of this object by prepending it to the object's transformation matrix. More... | |
void | RotateAtTransform (double angle, XPoint point, XMatrixOrder order) |
Applies the specified rotation operation to the transformation matrix of this object by prepending it to the object's transformation matrix. More... | |
void | ShearTransform (double shearX, double shearY) |
Applies the specified shearing operation to the transformation matrix of this object by prepending it to the object's transformation matrix. More... | |
void | ShearTransform (double shearX, double shearY, XMatrixOrder order) |
Applies the specified shearing operation to the transformation matrix of this object in the specified order. More... | |
void | MultiplyTransform (XMatrix matrix) |
Multiplies the transformation matrix of this object and specified matrix. More... | |
void | MultiplyTransform (XMatrix matrix, XMatrixOrder order) |
Multiplies the transformation matrix of this object and specified matrix in the specified order. More... | |
void | ResetTransform () |
Resets the transformation matrix of this object to the identity matrix. More... | |
void | SetClip (Rectangle rect) |
Sets the clipping region to the specified rectangle. More... | |
void | SetClip (RectangleF rect) |
Sets the clipping region to the specified rectangle. More... | |
void | SetClip (XRect rect) |
Sets the clipping region to the specified rectangle. More... | |
void | SetClip (XGraphicsPath path) |
Sets the clipping region to the specified graphical path. More... | |
void | SetClip (XRect rect, XCombineMode combineMode) |
Sets the clipping region to the specified graphical path. More... | |
void | SetClip (XGraphicsPath path, XCombineMode combineMode) |
Sets the clipping region to the specified graphical path. More... | |
void | IntersectClip (Rectangle rect) |
Updates the clip region of this XGraphics to the intersection of the current clip region and the specified rectangle. More... | |
void | IntersectClip (RectangleF rect) |
Updates the clip region of this XGraphics to the intersection of the current clip region and the specified rectangle. More... | |
void | IntersectClip (XRect rect) |
Updates the clip region of this XGraphics to the intersection of the current clip region and the specified rectangle. More... | |
void | IntersectClip (XGraphicsPath path) |
Updates the clip region of this XGraphics to the intersection of the current clip region and the specified graphical path. More... | |
void | ResetClip () |
Resets the clip region of this XGraphics to an infinite region, i.e. no clipping takes place. More... | |
void | WriteComment (string comment) |
Writes a comment to the output stream. Comments have no effect on the rendering of the output. They may be useful to mark a position in a content stream of a PDF document. More... | |
Static Public Member Functions | |
static XGraphics | CreateMeasureContext (XSize size, XGraphicsUnit pageUnit, XPageDirection pageDirection) |
Creates the measure context. This is a graphics context created only for querying measures of text. Drawing on a measure context has no effect. More... | |
static XGraphics | FromGraphics (Graphics graphics, XSize size) |
Creates a new instance of the XGraphics class from a System.Drawing.Graphics object. More... | |
static XGraphics | FromGraphics (Graphics graphics, XSize size, XGraphicsUnit unit) |
Creates a new instance of the XGraphics class from a System.Drawing.Graphics object. More... | |
static XGraphics | FromPdfPage (PdfPage page) |
Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object. More... | |
static XGraphics | FromPdfPage (PdfPage page, XGraphicsUnit unit) |
Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object. More... | |
static XGraphics | FromPdfPage (PdfPage page, XPageDirection pageDirection) |
Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object. More... | |
static XGraphics | FromPdfPage (PdfPage page, XGraphicsPdfPageOptions options) |
Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object. More... | |
static XGraphics | FromPdfPage (PdfPage page, XGraphicsPdfPageOptions options, XPageDirection pageDirection) |
Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object. More... | |
static XGraphics | FromPdfPage (PdfPage page, XGraphicsPdfPageOptions options, XGraphicsUnit unit) |
Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object. More... | |
static XGraphics | FromPdfPage (PdfPage page, XGraphicsPdfPageOptions options, XGraphicsUnit unit, XPageDirection pageDirection) |
Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object. More... | |
static XGraphics | FromPdfForm (XPdfForm form) |
Creates a new instance of the XGraphics class from a PdfSharp.Drawing.XPdfForm object. More... | |
static XGraphics | FromForm (XForm form) |
Creates a new instance of the XGraphics class from a PdfSharp.Drawing.XForm object. More... | |
Properties | |
PdfFontEncoding | MUH [get, set] |
Internal hack for MigraDoc. Will be removed in further releases. Unicode support requires a global refactoring of MigraDoc and will be done in further releases. More... | |
PdfFontEmbedding | MFEH [get, set] |
Internal hack for MigraDoc. Will be removed in further releases. Font embedding support requires a global refactoring of MigraDoc and will be done in further releases. More... | |
XGraphicsUnit | PageUnit [get] |
Gets or sets the unit of measure used for page coordinates. CURRENTLY ONLY POINT IS IMPLEMENTED. More... | |
XPageDirection | PageDirection [get, set] |
Gets or sets the a value indicating in which direction y-value grow. More... | |
XPoint | PageOrigin [get, set] |
Gets the current page origin. Setting the origin is not yet implemented. More... | |
XSize | PageSize [get] |
Gets the current size of the page. More... | |
int | GraphicsStateLevel [get] |
Gets the current graphics state level. The default value is 0. Each call of Save or BeginContainer increased and each call of Restore or EndContainer decreased the value by 1. More... | |
XSmoothingMode | SmoothingMode [get, set] |
Gets or sets the smoothing mode. More... | |
XMatrix | Transform [get, set] |
Gets or sets the transformation matrix. More... | |
XGraphicsInternals | Internals [get] |
Permits access to internal data. More... | |
SpaceTransformer | Transformer [get] |
(Under construction. May change in future versions.) More... | |
PdfPage? | PdfPage [get] |
Gets the PDF page that serves as drawing surface if PDF is rendered, otherwise null. More... | |
Graphics | Graphics [get] |
Gets the System.Drawing.Graphics objects that serves as drawing surface if no PDF is rendered, or null, if no such object exists. More... | |
Represents a drawing surface (or canvas) for a fixed size page.
XGraphicsContainer PdfSharp.Drawing.XGraphics.BeginContainer | ( | ) |
Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container.
XGraphicsContainer PdfSharp.Drawing.XGraphics.BeginContainer | ( | Rectangle | dstrect, |
Rectangle | srcrect, | ||
XGraphicsUnit | unit | ||
) |
Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container.
XGraphicsContainer PdfSharp.Drawing.XGraphics.BeginContainer | ( | RectangleF | dstrect, |
RectangleF | srcrect, | ||
XGraphicsUnit | unit | ||
) |
Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container.
XGraphicsContainer PdfSharp.Drawing.XGraphics.BeginContainer | ( | XRect | dstrect, |
XRect | srcrect, | ||
XGraphicsUnit | unit | ||
) |
Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container.
void PdfSharp.Drawing.XGraphics.Clear | ( | XColor | color | ) |
Fills the entire drawing surface with the specified color. The functions works only if the current transformation is identity, i.e. the function should be called only immediately after the XGraphics object was created.
|
static |
Creates the measure context. This is a graphics context created only for querying measures of text. Drawing on a measure context has no effect.
void PdfSharp.Drawing.XGraphics.Dispose | ( | ) |
Releases all resources used by this object.
void PdfSharp.Drawing.XGraphics.DrawArc | ( | XPen | pen, |
double | x, | ||
double | y, | ||
double | width, | ||
double | height, | ||
double | startAngle, | ||
double | sweepAngle | ||
) |
Draws an arc representing a portion of an ellipse.
void PdfSharp.Drawing.XGraphics.DrawArc | ( | XPen | pen, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height, | ||
int | startAngle, | ||
int | sweepAngle | ||
) |
Draws an arc representing a portion of an ellipse.
void PdfSharp.Drawing.XGraphics.DrawArc | ( | XPen | pen, |
Rectangle | rect, | ||
double | startAngle, | ||
double | sweepAngle | ||
) |
Draws an arc representing a portion of an ellipse.
void PdfSharp.Drawing.XGraphics.DrawArc | ( | XPen | pen, |
RectangleF | rect, | ||
double | startAngle, | ||
double | sweepAngle | ||
) |
Draws an arc representing a portion of an ellipse.
void PdfSharp.Drawing.XGraphics.DrawArc | ( | XPen | pen, |
XRect | rect, | ||
double | startAngle, | ||
double | sweepAngle | ||
) |
Draws an arc representing a portion of an ellipse.
void PdfSharp.Drawing.XGraphics.DrawBarCode | ( | BarCodes.BarCode | barcode, |
XBrush | brush, | ||
XFont | font, | ||
XPoint | position | ||
) |
Draws the specified bar code.
void PdfSharp.Drawing.XGraphics.DrawBarCode | ( | BarCodes.BarCode | barcode, |
XBrush | brush, | ||
XPoint | position | ||
) |
Draws the specified bar code.
void PdfSharp.Drawing.XGraphics.DrawBarCode | ( | BarCodes.BarCode | barcode, |
XPoint | position | ||
) |
Draws the specified bar code.
void PdfSharp.Drawing.XGraphics.DrawBezier | ( | XPen | pen, |
double | x1, | ||
double | y1, | ||
double | x2, | ||
double | y2, | ||
double | x3, | ||
double | y3, | ||
double | x4, | ||
double | y4 | ||
) |
Draws a Bézier spline defined by four points.
void PdfSharp.Drawing.XGraphics.DrawBezier | ( | XPen | pen, |
PointF | pt1, | ||
PointF | pt2, | ||
PointF | pt3, | ||
PointF | pt4 | ||
) |
Draws a Bézier spline defined by four points.
void PdfSharp.Drawing.XGraphics.DrawBezier | ( | XPen | pen, |
System.Drawing.Point | pt1, | ||
System.Drawing.Point | pt2, | ||
System.Drawing.Point | pt3, | ||
System.Drawing.Point | pt4 | ||
) |
Draws a Bézier spline defined by four points.
void PdfSharp.Drawing.XGraphics.DrawBezier | ( | XPen | pen, |
XPoint | pt1, | ||
XPoint | pt2, | ||
XPoint | pt3, | ||
XPoint | pt4 | ||
) |
Draws a Bézier spline defined by four points.
void PdfSharp.Drawing.XGraphics.DrawBeziers | ( | XPen | pen, |
PointF[] | points | ||
) |
Draws a series of Bézier splines from an array of points.
void PdfSharp.Drawing.XGraphics.DrawBeziers | ( | XPen | pen, |
System.Drawing.Point[] | points | ||
) |
Draws a series of Bézier splines from an array of points.
Draws a series of Bézier splines from an array of points.
void PdfSharp.Drawing.XGraphics.DrawClosedCurve | ( | XBrush | brush, |
PointF[] | points | ||
) |
Draws a closed cardinal spline defined by an array of points.
void PdfSharp.Drawing.XGraphics.DrawClosedCurve | ( | XBrush | brush, |
PointF[] | points, | ||
XFillMode | fillmode | ||
) |
Draws a closed cardinal spline defined by an array of points.
void PdfSharp.Drawing.XGraphics.DrawClosedCurve | ( | XBrush | brush, |
PointF[] | points, | ||
XFillMode | fillmode, | ||
double | tension | ||
) |
Draws a closed cardinal spline defined by an array of points.
void PdfSharp.Drawing.XGraphics.DrawClosedCurve | ( | XBrush | brush, |
System.Drawing.Point[] | points | ||
) |
Draws a closed cardinal spline defined by an array of points.
void PdfSharp.Drawing.XGraphics.DrawClosedCurve | ( | XBrush | brush, |
System.Drawing.Point[] | points, | ||
XFillMode | fillmode | ||
) |
Draws a closed cardinal spline defined by an array of points.
void PdfSharp.Drawing.XGraphics.DrawClosedCurve | ( | XBrush | brush, |
System.Drawing.Point[] | points, | ||
XFillMode | fillmode, | ||
double | tension | ||
) |
Draws a closed cardinal spline defined by an array of points.
Draws a closed cardinal spline defined by an array of points.
void PdfSharp.Drawing.XGraphics.DrawClosedCurve | ( | XBrush | brush, |
XPoint[] | points, | ||
XFillMode | fillmode | ||
) |
Draws a closed cardinal spline defined by an array of points.
void PdfSharp.Drawing.XGraphics.DrawClosedCurve | ( | XBrush | brush, |
XPoint[] | points, | ||
XFillMode | fillmode, | ||
double | tension | ||
) |
Draws a closed cardinal spline defined by an array of points.
void PdfSharp.Drawing.XGraphics.DrawClosedCurve | ( | XPen | pen, |
PointF[] | points | ||
) |
Draws a closed cardinal spline defined by an array of points.
void PdfSharp.Drawing.XGraphics.DrawClosedCurve | ( | XPen | pen, |
PointF[] | points, | ||
double | tension | ||
) |
Draws a closed cardinal spline defined by an array of points.
void PdfSharp.Drawing.XGraphics.DrawClosedCurve | ( | XPen | pen, |
System.Drawing.Point[] | points | ||
) |
Draws a closed cardinal spline defined by an array of points.
void PdfSharp.Drawing.XGraphics.DrawClosedCurve | ( | XPen | pen, |
System.Drawing.Point[] | points, | ||
double | tension | ||
) |
Draws a closed cardinal spline defined by an array of points.
Draws a closed cardinal spline defined by an array of points.
void PdfSharp.Drawing.XGraphics.DrawClosedCurve | ( | XPen | pen, |
XBrush | brush, | ||
PointF[] | points, | ||
XFillMode | fillmode | ||
) |
Draws a closed cardinal spline defined by an array of points.
void PdfSharp.Drawing.XGraphics.DrawClosedCurve | ( | XPen | pen, |
XBrush | brush, | ||
PointF[] | points, | ||
XFillMode | fillmode, | ||
double | tension | ||
) |
Draws a closed cardinal spline defined by an array of points.
void PdfSharp.Drawing.XGraphics.DrawClosedCurve | ( | XPen | pen, |
XBrush | brush, | ||
System.Drawing.Point[] | points | ||
) |
Draws a closed cardinal spline defined by an array of points.
void PdfSharp.Drawing.XGraphics.DrawClosedCurve | ( | XPen | pen, |
XBrush | brush, | ||
System.Drawing.Point[] | points, | ||
XFillMode | fillmode | ||
) |
Draws a closed cardinal spline defined by an array of points.
void PdfSharp.Drawing.XGraphics.DrawClosedCurve | ( | XPen | pen, |
XBrush | brush, | ||
System.Drawing.Point[] | points, | ||
XFillMode | fillmode, | ||
double | tension | ||
) |
Draws a closed cardinal spline defined by an array of points.
Draws a closed cardinal spline defined by an array of points.
void PdfSharp.Drawing.XGraphics.DrawClosedCurve | ( | XPen | pen, |
XBrush | brush, | ||
XPoint[] | points, | ||
XFillMode | fillmode | ||
) |
Draws a closed cardinal spline defined by an array of points.
void PdfSharp.Drawing.XGraphics.DrawClosedCurve | ( | XPen | pen, |
XBrush | brush, | ||
XPoint[] | points, | ||
XFillMode | fillmode, | ||
double | tension | ||
) |
Draws a closed cardinal spline defined by an array of points.
Draws a closed cardinal spline defined by an array of points.
Draws a closed cardinal spline defined by an array of points.
void PdfSharp.Drawing.XGraphics.DrawCurve | ( | XPen | pen, |
PointF[] | points | ||
) |
Draws a cardinal spline through a specified array of points.
void PdfSharp.Drawing.XGraphics.DrawCurve | ( | XPen | pen, |
PointF[] | points, | ||
double | tension | ||
) |
Draws a cardinal spline through a specified array of points using a specified tension.
void PdfSharp.Drawing.XGraphics.DrawCurve | ( | XPen | pen, |
System.Drawing.Point[] | points | ||
) |
Draws a cardinal spline through a specified array of points.
void PdfSharp.Drawing.XGraphics.DrawCurve | ( | XPen | pen, |
System.Drawing.Point[] | points, | ||
double | tension | ||
) |
Draws a cardinal spline through a specified array of points using a specified tension.
Draws a cardinal spline through a specified array of points.
Draws a cardinal spline through a specified array of points using a specified tension.
void PdfSharp.Drawing.XGraphics.DrawEllipse | ( | XBrush | brush, |
double | x, | ||
double | y, | ||
double | width, | ||
double | height | ||
) |
Draws an ellipse defined by a bounding rectangle.
void PdfSharp.Drawing.XGraphics.DrawEllipse | ( | XBrush | brush, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height | ||
) |
Draws an ellipse defined by a bounding rectangle.
void PdfSharp.Drawing.XGraphics.DrawEllipse | ( | XBrush | brush, |
Rectangle | rect | ||
) |
Draws an ellipse defined by a bounding rectangle.
void PdfSharp.Drawing.XGraphics.DrawEllipse | ( | XBrush | brush, |
RectangleF | rect | ||
) |
Draws an ellipse defined by a bounding rectangle.
Draws an ellipse defined by a bounding rectangle.
void PdfSharp.Drawing.XGraphics.DrawEllipse | ( | XPen | pen, |
double | x, | ||
double | y, | ||
double | width, | ||
double | height | ||
) |
Draws an ellipse defined by a bounding rectangle.
void PdfSharp.Drawing.XGraphics.DrawEllipse | ( | XPen | pen, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height | ||
) |
Draws an ellipse defined by a bounding rectangle.
void PdfSharp.Drawing.XGraphics.DrawEllipse | ( | XPen | pen, |
Rectangle | rect | ||
) |
Draws an ellipse defined by a bounding rectangle.
void PdfSharp.Drawing.XGraphics.DrawEllipse | ( | XPen | pen, |
RectangleF | rect | ||
) |
Draws an ellipse defined by a bounding rectangle.
void PdfSharp.Drawing.XGraphics.DrawEllipse | ( | XPen | pen, |
XBrush | brush, | ||
double | x, | ||
double | y, | ||
double | width, | ||
double | height | ||
) |
Draws an ellipse defined by a bounding rectangle.
void PdfSharp.Drawing.XGraphics.DrawEllipse | ( | XPen | pen, |
XBrush | brush, | ||
int | x, | ||
int | y, | ||
int | width, | ||
int | height | ||
) |
Draws an ellipse defined by a bounding rectangle.
Draws an ellipse defined by a bounding rectangle.
Draws an ellipse defined by a bounding rectangle.
Draws an ellipse defined by a bounding rectangle.
Draws an ellipse defined by a bounding rectangle.
void PdfSharp.Drawing.XGraphics.DrawImage | ( | XImage | image, |
double | x, | ||
double | y | ||
) |
Draws the specified image.
void PdfSharp.Drawing.XGraphics.DrawImage | ( | XImage | image, |
double | x, | ||
double | y, | ||
double | width, | ||
double | height | ||
) |
Draws the specified image.
void PdfSharp.Drawing.XGraphics.DrawImage | ( | XImage | image, |
int | x, | ||
int | y | ||
) |
Draws the specified image.
void PdfSharp.Drawing.XGraphics.DrawImage | ( | XImage | image, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height | ||
) |
Draws the specified image.
void PdfSharp.Drawing.XGraphics.DrawImage | ( | XImage | image, |
PointF | point | ||
) |
Draws the specified image.
void PdfSharp.Drawing.XGraphics.DrawImage | ( | XImage | image, |
Rectangle | destRect, | ||
Rectangle | srcRect, | ||
XGraphicsUnit | srcUnit | ||
) |
Draws the specified image.
void PdfSharp.Drawing.XGraphics.DrawImage | ( | XImage | image, |
Rectangle | rect | ||
) |
Draws the specified image.
void PdfSharp.Drawing.XGraphics.DrawImage | ( | XImage | image, |
RectangleF | destRect, | ||
RectangleF | srcRect, | ||
XGraphicsUnit | srcUnit | ||
) |
Draws the specified image.
void PdfSharp.Drawing.XGraphics.DrawImage | ( | XImage | image, |
RectangleF | rect | ||
) |
Draws the specified image.
void PdfSharp.Drawing.XGraphics.DrawImage | ( | XImage | image, |
System.Drawing.Point | point | ||
) |
Draws the specified image.
void PdfSharp.Drawing.XGraphics.DrawImage | ( | XImage | image, |
XRect | destRect, | ||
XRect | srcRect, | ||
XGraphicsUnit | srcUnit | ||
) |
Draws the specified image.
void PdfSharp.Drawing.XGraphics.DrawLine | ( | XPen | pen, |
double | x1, | ||
double | y1, | ||
double | x2, | ||
double | y2 | ||
) |
Draws a line connecting the two points specified by coordinate pairs.
void PdfSharp.Drawing.XGraphics.DrawLine | ( | XPen | pen, |
int | x1, | ||
int | y1, | ||
int | x2, | ||
int | y2 | ||
) |
Draws a line connecting the two points specified by coordinate pairs.
void PdfSharp.Drawing.XGraphics.DrawLine | ( | XPen | pen, |
PointF | pt1, | ||
PointF | pt2 | ||
) |
Draws a line connecting two PointF structures.
void PdfSharp.Drawing.XGraphics.DrawLine | ( | XPen | pen, |
System.Drawing.Point | pt1, | ||
System.Drawing.Point | pt2 | ||
) |
Draws a line connecting two Point structures.
Draws a line connecting two XPoint structures.
void PdfSharp.Drawing.XGraphics.DrawLines | ( | XPen | pen, |
double | x, | ||
double | y, | ||
params double[] | value | ||
) |
Draws a series of line segments that connect an array of x and y pairs.
void PdfSharp.Drawing.XGraphics.DrawLines | ( | XPen | pen, |
PointF[] | points | ||
) |
Draws a series of line segments that connect an array of points.
void PdfSharp.Drawing.XGraphics.DrawLines | ( | XPen | pen, |
System.Drawing.Point[] | points | ||
) |
Draws a series of line segments that connect an array of points.
Draws a series of line segments that connect an array of points.
void PdfSharp.Drawing.XGraphics.DrawMatrixCode | ( | BarCodes.MatrixCode | matrixcode, |
XBrush | brush, | ||
XPoint | position | ||
) |
Draws the specified data matrix code.
void PdfSharp.Drawing.XGraphics.DrawMatrixCode | ( | BarCodes.MatrixCode | matrixcode, |
XPoint | position | ||
) |
Draws the specified data matrix code.
void PdfSharp.Drawing.XGraphics.DrawPath | ( | XBrush | brush, |
XGraphicsPath | path | ||
) |
Draws a graphical path.
void PdfSharp.Drawing.XGraphics.DrawPath | ( | XPen | pen, |
XBrush | brush, | ||
XGraphicsPath | path | ||
) |
Draws a graphical path.
void PdfSharp.Drawing.XGraphics.DrawPath | ( | XPen | pen, |
XGraphicsPath | path | ||
) |
Draws a graphical path.
void PdfSharp.Drawing.XGraphics.DrawPie | ( | XBrush | brush, |
double | x, | ||
double | y, | ||
double | width, | ||
double | height, | ||
double | startAngle, | ||
double | sweepAngle | ||
) |
Draws a pie defined by an ellipse.
void PdfSharp.Drawing.XGraphics.DrawPie | ( | XBrush | brush, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height, | ||
int | startAngle, | ||
int | sweepAngle | ||
) |
Draws a pie defined by an ellipse.
void PdfSharp.Drawing.XGraphics.DrawPie | ( | XBrush | brush, |
Rectangle | rect, | ||
double | startAngle, | ||
double | sweepAngle | ||
) |
Draws a pie defined by an ellipse.
void PdfSharp.Drawing.XGraphics.DrawPie | ( | XBrush | brush, |
RectangleF | rect, | ||
double | startAngle, | ||
double | sweepAngle | ||
) |
Draws a pie defined by an ellipse.
void PdfSharp.Drawing.XGraphics.DrawPie | ( | XBrush | brush, |
XRect | rect, | ||
double | startAngle, | ||
double | sweepAngle | ||
) |
Draws a pie defined by an ellipse.
void PdfSharp.Drawing.XGraphics.DrawPie | ( | XPen | pen, |
double | x, | ||
double | y, | ||
double | width, | ||
double | height, | ||
double | startAngle, | ||
double | sweepAngle | ||
) |
Draws a pie defined by an ellipse.
void PdfSharp.Drawing.XGraphics.DrawPie | ( | XPen | pen, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height, | ||
int | startAngle, | ||
int | sweepAngle | ||
) |
Draws a pie defined by an ellipse.
void PdfSharp.Drawing.XGraphics.DrawPie | ( | XPen | pen, |
Rectangle | rect, | ||
double | startAngle, | ||
double | sweepAngle | ||
) |
Draws a pie defined by an ellipse.
void PdfSharp.Drawing.XGraphics.DrawPie | ( | XPen | pen, |
RectangleF | rect, | ||
double | startAngle, | ||
double | sweepAngle | ||
) |
Draws a pie defined by an ellipse.
void PdfSharp.Drawing.XGraphics.DrawPie | ( | XPen | pen, |
XBrush | brush, | ||
double | x, | ||
double | y, | ||
double | width, | ||
double | height, | ||
double | startAngle, | ||
double | sweepAngle | ||
) |
Draws a pie defined by an ellipse.
void PdfSharp.Drawing.XGraphics.DrawPie | ( | XPen | pen, |
XBrush | brush, | ||
int | x, | ||
int | y, | ||
int | width, | ||
int | height, | ||
int | startAngle, | ||
int | sweepAngle | ||
) |
Draws a pie defined by an ellipse.
void PdfSharp.Drawing.XGraphics.DrawPie | ( | XPen | pen, |
XBrush | brush, | ||
Rectangle | rect, | ||
double | startAngle, | ||
double | sweepAngle | ||
) |
Draws a pie defined by an ellipse.
void PdfSharp.Drawing.XGraphics.DrawPie | ( | XPen | pen, |
XBrush | brush, | ||
RectangleF | rect, | ||
double | startAngle, | ||
double | sweepAngle | ||
) |
Draws a pie defined by an ellipse.
void PdfSharp.Drawing.XGraphics.DrawPie | ( | XPen | pen, |
XBrush | brush, | ||
XRect | rect, | ||
double | startAngle, | ||
double | sweepAngle | ||
) |
Draws a pie defined by an ellipse.
void PdfSharp.Drawing.XGraphics.DrawPie | ( | XPen | pen, |
XRect | rect, | ||
double | startAngle, | ||
double | sweepAngle | ||
) |
Draws a pie defined by an ellipse.
Draws a polygon defined by an array of points.
void PdfSharp.Drawing.XGraphics.DrawPolygon | ( | XBrush | brush, |
System.Drawing.Point[] | points, | ||
XFillMode | fillmode | ||
) |
Draws a polygon defined by an array of points.
Draws a polygon defined by an array of points.
void PdfSharp.Drawing.XGraphics.DrawPolygon | ( | XPen | pen, |
PointF[] | points | ||
) |
Draws a polygon defined by an array of points.
void PdfSharp.Drawing.XGraphics.DrawPolygon | ( | XPen | pen, |
System.Drawing.Point[] | points | ||
) |
Draws a polygon defined by an array of points.
void PdfSharp.Drawing.XGraphics.DrawPolygon | ( | XPen | pen, |
XBrush | brush, | ||
PointF[] | points, | ||
XFillMode | fillmode | ||
) |
Draws a polygon defined by an array of points.
void PdfSharp.Drawing.XGraphics.DrawPolygon | ( | XPen | pen, |
XBrush | brush, | ||
System.Drawing.Point[] | points, | ||
XFillMode | fillmode | ||
) |
Draws a polygon defined by an array of points.
void PdfSharp.Drawing.XGraphics.DrawPolygon | ( | XPen | pen, |
XBrush | brush, | ||
XPoint[] | points, | ||
XFillMode | fillmode | ||
) |
Draws a polygon defined by an array of points.
Draws a polygon defined by an array of points.
void PdfSharp.Drawing.XGraphics.DrawRectangle | ( | XBrush | brush, |
double | x, | ||
double | y, | ||
double | width, | ||
double | height | ||
) |
Draws a rectangle.
void PdfSharp.Drawing.XGraphics.DrawRectangle | ( | XBrush | brush, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height | ||
) |
Draws a rectangle.
void PdfSharp.Drawing.XGraphics.DrawRectangle | ( | XBrush | brush, |
Rectangle | rect | ||
) |
Draws a rectangle.
void PdfSharp.Drawing.XGraphics.DrawRectangle | ( | XBrush | brush, |
RectangleF | rect | ||
) |
Draws a rectangle.
void PdfSharp.Drawing.XGraphics.DrawRectangle | ( | XPen | pen, |
double | x, | ||
double | y, | ||
double | width, | ||
double | height | ||
) |
Draws a rectangle.
void PdfSharp.Drawing.XGraphics.DrawRectangle | ( | XPen | pen, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height | ||
) |
Draws a rectangle.
void PdfSharp.Drawing.XGraphics.DrawRectangle | ( | XPen | pen, |
Rectangle | rect | ||
) |
Draws a rectangle.
void PdfSharp.Drawing.XGraphics.DrawRectangle | ( | XPen | pen, |
RectangleF | rect | ||
) |
Draws a rectangle.
void PdfSharp.Drawing.XGraphics.DrawRectangle | ( | XPen | pen, |
XBrush | brush, | ||
double | x, | ||
double | y, | ||
double | width, | ||
double | height | ||
) |
Draws a rectangle.
void PdfSharp.Drawing.XGraphics.DrawRectangle | ( | XPen | pen, |
XBrush | brush, | ||
int | x, | ||
int | y, | ||
int | width, | ||
int | height | ||
) |
Draws a rectangle.
Draws a rectangle.
Draws a rectangle.
Draws a rectangle.
void PdfSharp.Drawing.XGraphics.DrawRectangles | ( | XBrush | brush, |
Rectangle[] | rectangles | ||
) |
Draws a series of rectangles.
void PdfSharp.Drawing.XGraphics.DrawRectangles | ( | XBrush | brush, |
RectangleF[] | rectangles | ||
) |
Draws a series of rectangles.
Draws a series of rectangles.
void PdfSharp.Drawing.XGraphics.DrawRectangles | ( | XPen | pen, |
Rectangle[] | rectangles | ||
) |
Draws a series of rectangles.
void PdfSharp.Drawing.XGraphics.DrawRectangles | ( | XPen | pen, |
RectangleF[] | rectangles | ||
) |
Draws a series of rectangles.
Draws a series of rectangles.
Draws a series of rectangles.
Draws a series of rectangles.
Draws a series of rectangles.
void PdfSharp.Drawing.XGraphics.DrawRoundedRectangle | ( | XBrush | brush, |
double | x, | ||
double | y, | ||
double | width, | ||
double | height, | ||
double | ellipseWidth, | ||
double | ellipseHeight | ||
) |
Draws a rectangles with round corners.
void PdfSharp.Drawing.XGraphics.DrawRoundedRectangle | ( | XBrush | brush, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height, | ||
int | ellipseWidth, | ||
int | ellipseHeight | ||
) |
Draws a rectangles with round corners.
void PdfSharp.Drawing.XGraphics.DrawRoundedRectangle | ( | XBrush | brush, |
Rectangle | rect, | ||
System.Drawing.Size | ellipseSize | ||
) |
Draws a rectangles with round corners.
void PdfSharp.Drawing.XGraphics.DrawRoundedRectangle | ( | XBrush | brush, |
RectangleF | rect, | ||
SizeF | ellipseSize | ||
) |
Draws a rectangles with round corners.
void PdfSharp.Drawing.XGraphics.DrawRoundedRectangle | ( | XBrush | brush, |
XRect | rect, | ||
XSize | ellipseSize | ||
) |
Draws a rectangles with round corners.
void PdfSharp.Drawing.XGraphics.DrawRoundedRectangle | ( | XPen | pen, |
double | x, | ||
double | y, | ||
double | width, | ||
double | height, | ||
double | ellipseWidth, | ||
double | ellipseHeight | ||
) |
Draws a rectangles with round corners.
void PdfSharp.Drawing.XGraphics.DrawRoundedRectangle | ( | XPen | pen, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height, | ||
int | ellipseWidth, | ||
int | ellipseHeight | ||
) |
Draws a rectangles with round corners.
void PdfSharp.Drawing.XGraphics.DrawRoundedRectangle | ( | XPen | pen, |
Rectangle | rect, | ||
System.Drawing.Size | ellipseSize | ||
) |
Draws a rectangles with round corners.
void PdfSharp.Drawing.XGraphics.DrawRoundedRectangle | ( | XPen | pen, |
RectangleF | rect, | ||
SizeF | ellipseSize | ||
) |
Draws a rectangles with round corners.
void PdfSharp.Drawing.XGraphics.DrawRoundedRectangle | ( | XPen | pen, |
XBrush | brush, | ||
double | x, | ||
double | y, | ||
double | width, | ||
double | height, | ||
double | ellipseWidth, | ||
double | ellipseHeight | ||
) |
Draws a rectangles with round corners.
void PdfSharp.Drawing.XGraphics.DrawRoundedRectangle | ( | XPen | pen, |
XBrush | brush, | ||
int | x, | ||
int | y, | ||
int | width, | ||
int | height, | ||
int | ellipseWidth, | ||
int | ellipseHeight | ||
) |
Draws a rectangles with round corners.
void PdfSharp.Drawing.XGraphics.DrawRoundedRectangle | ( | XPen | pen, |
XBrush | brush, | ||
Rectangle | rect, | ||
System.Drawing.Size | ellipseSize | ||
) |
Draws a rectangles with round corners.
void PdfSharp.Drawing.XGraphics.DrawRoundedRectangle | ( | XPen | pen, |
XBrush | brush, | ||
RectangleF | rect, | ||
SizeF | ellipseSize | ||
) |
Draws a rectangles with round corners.
void PdfSharp.Drawing.XGraphics.DrawRoundedRectangle | ( | XPen | pen, |
XBrush | brush, | ||
XRect | rect, | ||
XSize | ellipseSize | ||
) |
Draws a rectangles with round corners.
Draws a rectangles with round corners.
void PdfSharp.Drawing.XGraphics.DrawString | ( | string | s, |
XFont | font, | ||
XBrush | brush, | ||
double | x, | ||
double | y | ||
) |
Draws the specified text string.
void PdfSharp.Drawing.XGraphics.DrawString | ( | string | s, |
XFont | font, | ||
XBrush | brush, | ||
double | x, | ||
double | y, | ||
XStringFormat | format | ||
) |
Draws the specified text string.
Draws the specified text string.
void PdfSharp.Drawing.XGraphics.DrawString | ( | string | s, |
XFont | font, | ||
XBrush | brush, | ||
PointF | point, | ||
XStringFormat | format | ||
) |
Draws the specified text string.
void PdfSharp.Drawing.XGraphics.DrawString | ( | string | s, |
XFont | font, | ||
XBrush | brush, | ||
RectangleF | layoutRectangle | ||
) |
Draws the specified text string.
void PdfSharp.Drawing.XGraphics.DrawString | ( | string | s, |
XFont | font, | ||
XBrush | brush, | ||
RectangleF | layoutRectangle, | ||
XStringFormat | format | ||
) |
Draws the specified text string.
Draws the specified text string.
void PdfSharp.Drawing.XGraphics.DrawString | ( | string | s, |
XFont | font, | ||
XBrush | brush, | ||
XPoint | point, | ||
XStringFormat | format | ||
) |
Draws the specified text string.
void PdfSharp.Drawing.XGraphics.DrawString | ( | string | s, |
XFont | font, | ||
XBrush | brush, | ||
XRect | layoutRectangle | ||
) |
Draws the specified text string.
void PdfSharp.Drawing.XGraphics.DrawString | ( | string | text, |
XFont | font, | ||
XBrush | brush, | ||
XRect | layoutRectangle, | ||
XStringFormat | format | ||
) |
Draws the specified text string.
void PdfSharp.Drawing.XGraphics.EndContainer | ( | XGraphicsContainer | container | ) |
Closes the current graphics container and restores the state of this XGraphics to the state saved by a call to the BeginContainer method.
Creates a new instance of the XGraphics class from a PdfSharp.Drawing.XForm object.
Creates a new instance of the XGraphics class from a System.Drawing.Graphics object.
|
static |
Creates a new instance of the XGraphics class from a System.Drawing.Graphics object.
Creates a new instance of the XGraphics class from a PdfSharp.Drawing.XPdfForm object.
Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.
|
static |
Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.
|
static |
Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.
|
static |
Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.
|
static |
Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.
|
static |
Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.
|
static |
Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.
void PdfSharp.Drawing.XGraphics.IntersectClip | ( | Rectangle | rect | ) |
Updates the clip region of this XGraphics to the intersection of the current clip region and the specified rectangle.
void PdfSharp.Drawing.XGraphics.IntersectClip | ( | RectangleF | rect | ) |
Updates the clip region of this XGraphics to the intersection of the current clip region and the specified rectangle.
void PdfSharp.Drawing.XGraphics.IntersectClip | ( | XGraphicsPath | path | ) |
Updates the clip region of this XGraphics to the intersection of the current clip region and the specified graphical path.
void PdfSharp.Drawing.XGraphics.IntersectClip | ( | XRect | rect | ) |
Updates the clip region of this XGraphics to the intersection of the current clip region and the specified rectangle.
Measures the specified string when drawn with the specified font.
XSize PdfSharp.Drawing.XGraphics.MeasureString | ( | string | text, |
XFont | font, | ||
XStringFormat | stringFormat | ||
) |
Measures the specified string when drawn with the specified font.
void PdfSharp.Drawing.XGraphics.MultiplyTransform | ( | XMatrix | matrix | ) |
Multiplies the transformation matrix of this object and specified matrix.
void PdfSharp.Drawing.XGraphics.MultiplyTransform | ( | XMatrix | matrix, |
XMatrixOrder | order | ||
) |
Multiplies the transformation matrix of this object and specified matrix in the specified order.
void PdfSharp.Drawing.XGraphics.ResetClip | ( | ) |
Resets the clip region of this XGraphics to an infinite region, i.e. no clipping takes place.
void PdfSharp.Drawing.XGraphics.ResetTransform | ( | ) |
Resets the transformation matrix of this object to the identity matrix.
void PdfSharp.Drawing.XGraphics.Restore | ( | ) |
Restores the state of this XGraphics object to the state before the most recently call of Save.
void PdfSharp.Drawing.XGraphics.Restore | ( | XGraphicsState | state | ) |
Restores the state of this XGraphics object to the state represented by the specified XGraphicsState object.
void PdfSharp.Drawing.XGraphics.RotateAtTransform | ( | double | angle, |
XPoint | point | ||
) |
Applies the specified rotation operation to the transformation matrix of this object by prepending it to the object's transformation matrix.
void PdfSharp.Drawing.XGraphics.RotateAtTransform | ( | double | angle, |
XPoint | point, | ||
XMatrixOrder | order | ||
) |
Applies the specified rotation operation to the transformation matrix of this object by prepending it to the object's transformation matrix.
void PdfSharp.Drawing.XGraphics.RotateTransform | ( | double | angle | ) |
Applies the specified rotation operation to the transformation matrix of this object by prepending it to the object's transformation matrix.
void PdfSharp.Drawing.XGraphics.RotateTransform | ( | double | angle, |
XMatrixOrder | order | ||
) |
Applies the specified rotation operation to the transformation matrix of this object in the specified order. The angle unit of measure is degree.
XGraphicsState PdfSharp.Drawing.XGraphics.Save | ( | ) |
Saves the current state of this XGraphics object and identifies the saved state with the returned XGraphicsState object.
void PdfSharp.Drawing.XGraphics.ScaleTransform | ( | double | scaleX, |
double | scaleY | ||
) |
Applies the specified scaling operation to the transformation matrix of this object by prepending it to the object's transformation matrix.
void PdfSharp.Drawing.XGraphics.ScaleTransform | ( | double | scaleX, |
double | scaleY, | ||
XMatrixOrder | order | ||
) |
Applies the specified scaling operation to the transformation matrix of this object in the specified order.
void PdfSharp.Drawing.XGraphics.ScaleTransform | ( | double | scaleXY | ) |
Applies the specified scaling operation to the transformation matrix of this object by prepending it to the object's transformation matrix.
void PdfSharp.Drawing.XGraphics.ScaleTransform | ( | double | scaleXY, |
XMatrixOrder | order | ||
) |
Applies the specified scaling operation to the transformation matrix of this object in the specified order.
void PdfSharp.Drawing.XGraphics.SetClip | ( | Rectangle | rect | ) |
Sets the clipping region to the specified rectangle.
void PdfSharp.Drawing.XGraphics.SetClip | ( | RectangleF | rect | ) |
Sets the clipping region to the specified rectangle.
void PdfSharp.Drawing.XGraphics.SetClip | ( | XGraphicsPath | path | ) |
Sets the clipping region to the specified graphical path.
void PdfSharp.Drawing.XGraphics.SetClip | ( | XGraphicsPath | path, |
XCombineMode | combineMode | ||
) |
Sets the clipping region to the specified graphical path.
void PdfSharp.Drawing.XGraphics.SetClip | ( | XRect | rect | ) |
Sets the clipping region to the specified rectangle.
void PdfSharp.Drawing.XGraphics.SetClip | ( | XRect | rect, |
XCombineMode | combineMode | ||
) |
Sets the clipping region to the specified graphical path.
void PdfSharp.Drawing.XGraphics.ShearTransform | ( | double | shearX, |
double | shearY | ||
) |
Applies the specified shearing operation to the transformation matrix of this object by prepending it to the object's transformation matrix.
void PdfSharp.Drawing.XGraphics.ShearTransform | ( | double | shearX, |
double | shearY, | ||
XMatrixOrder | order | ||
) |
Applies the specified shearing operation to the transformation matrix of this object in the specified order.
void PdfSharp.Drawing.XGraphics.TranslateTransform | ( | double | dx, |
double | dy | ||
) |
Applies the specified translation operation to the transformation matrix of this object by prepending it to the object's transformation matrix.
void PdfSharp.Drawing.XGraphics.TranslateTransform | ( | double | dx, |
double | dy, | ||
XMatrixOrder | order | ||
) |
Applies the specified translation operation to the transformation matrix of this object in the specified order.
void PdfSharp.Drawing.XGraphics.WriteComment | ( | string | comment | ) |
Writes a comment to the output stream. Comments have no effect on the rendering of the output. They may be useful to mark a position in a content stream of a PDF document.
|
get |
Gets the System.Drawing.Graphics objects that serves as drawing surface if no PDF is rendered, or null, if no such object exists.
|
get |
Gets the current graphics state level. The default value is 0. Each call of Save or BeginContainer increased and each call of Restore or EndContainer decreased the value by 1.
|
get |
Permits access to internal data.
|
getset |
Internal hack for MigraDoc. Will be removed in further releases. Font embedding support requires a global refactoring of MigraDoc and will be done in further releases.
|
getset |
Internal hack for MigraDoc. Will be removed in further releases. Unicode support requires a global refactoring of MigraDoc and will be done in further releases.
|
getset |
Gets or sets the a value indicating in which direction y-value grow.
|
getset |
Gets the current page origin. Setting the origin is not yet implemented.
|
get |
Gets the current size of the page.
|
get |
Gets or sets the unit of measure used for page coordinates. CURRENTLY ONLY POINT IS IMPLEMENTED.
|
get |
Gets the PDF page that serves as drawing surface if PDF is rendered, otherwise null.
|
getset |
Gets or sets the smoothing mode.
The smoothing mode.
|
getset |
Gets or sets the transformation matrix.
|
get |
(Under construction. May change in future versions.)