C# Class PdfSharp.Drawing.XGraphics

Represents a drawing surface (or canvas) for a fixed size page.
Inheritance: IDisposable
Exibir arquivo Open project: DavidS/MigraDoc Class Usage Examples

Private Properties

Property Type Description
AddTransform void
CheckXPdfFormConsistence void
Dispose void
DrawMissingImageRect void
Initialize void
MakePointArray System.Windows.Point[]
MakePointFArray PointF[]
MakePointFArray PointF[]
MakeXPointArray XPoint[]
MakeXPointArray XPoint[]
ResetClip void
ResetTransform void
SetClip void
SetClip void
SetClip void
SetClip void
SetClip void
SetClip void
XGraphics System
XGraphics System
XGraphics System
XGraphics System
XGraphics System

Public Methods

Method Description
BeginContainer ( ) : PdfSharp.Drawing.XGraphicsContainer

Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container.

BeginContainer ( Rect dstrect, Rect srcrect, XGraphicsUnit unit ) : PdfSharp.Drawing.XGraphicsContainer

Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container.

BeginContainer ( Rectangle dstrect, Rectangle srcrect, XGraphicsUnit unit ) : PdfSharp.Drawing.XGraphicsContainer

Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container.

BeginContainer ( RectangleF dstrect, RectangleF srcrect, XGraphicsUnit unit ) : PdfSharp.Drawing.XGraphicsContainer

Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container.

BeginContainer ( PdfSharp.Drawing.XRect dstrect, PdfSharp.Drawing.XRect srcrect, XGraphicsUnit unit ) : PdfSharp.Drawing.XGraphicsContainer

Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container.

Clear ( XColor color ) : void

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.

CreateMeasureContext ( PdfSharp.Drawing.XSize size, XGraphicsUnit pageUnit, XPageDirection pageDirection ) : XGraphics

Creates the measure context. This is a graphics context created only for querying measures of text. Drawing on a measure context has no effect.

Dispose ( ) : void

Releases all resources used by this object.

DrawArc ( PdfSharp.Drawing.XPen pen, Rectangle rect, double startAngle, double sweepAngle ) : void

Draws an arc representing a portion of an ellipse.

DrawArc ( PdfSharp.Drawing.XPen pen, RectangleF rect, double startAngle, double sweepAngle ) : void

Draws an arc representing a portion of an ellipse.

DrawArc ( PdfSharp.Drawing.XPen pen, PdfSharp.Drawing.XRect rect, double startAngle, double sweepAngle ) : void

Draws an arc representing a portion of an ellipse.

DrawArc ( PdfSharp.Drawing.XPen pen, double x, double y, double width, double height, double startAngle, double sweepAngle ) : void

Draws an arc representing a portion of an ellipse.

DrawArc ( PdfSharp.Drawing.XPen pen, int x, int y, int width, int height, int startAngle, int sweepAngle ) : void

Draws an arc representing a portion of an ellipse.

DrawBarCode ( BarCodes barcode, PdfSharp.Drawing.XBrush brush, PdfSharp.Drawing.XFont font, PdfSharp.Drawing.XPoint position ) : void

Draws the specified bar code.

DrawBarCode ( BarCodes barcode, PdfSharp.Drawing.XBrush brush, PdfSharp.Drawing.XPoint position ) : void

Draws the specified bar code.

DrawBarCode ( BarCodes barcode, PdfSharp.Drawing.XPoint position ) : void

Draws the specified bar code.

DrawBezier ( PdfSharp.Drawing.XPen pen, PointF pt1, PointF pt2, PointF pt3, PointF pt4 ) : void

Draws a Bézier spline defined by four points.

DrawBezier ( PdfSharp.Drawing.XPen pen, System pt1, System pt2, System pt3, System pt4 ) : void

Draws a Bézier spline defined by four points.

DrawBezier ( PdfSharp.Drawing.XPen pen, PdfSharp.Drawing.XPoint pt1, PdfSharp.Drawing.XPoint pt2, PdfSharp.Drawing.XPoint pt3, PdfSharp.Drawing.XPoint pt4 ) : void

Draws a Bézier spline defined by four points.

DrawBezier ( XPen pen, double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4 ) : void

Draws a Bézier spline defined by four points.

DrawBeziers ( XPen pen, PointF points ) : void

Draws a series of Bézier splines from an array of points.

DrawBeziers ( XPen pen, System points ) : void

Draws a series of Bézier splines from an array of points.

DrawBeziers ( XPen pen, XPoint points ) : void

Draws a series of Bézier splines from an array of points.

DrawClosedCurve ( XBrush brush, PointF points ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XBrush brush, PointF points, XFillMode fillmode ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XBrush brush, PointF points, XFillMode fillmode, double tension ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XBrush brush, System points ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XBrush brush, System points, XFillMode fillmode ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XBrush brush, System points, XFillMode fillmode, double tension ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XBrush brush, XPoint points ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XBrush brush, XPoint points, XFillMode fillmode ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XBrush brush, XPoint points, XFillMode fillmode, double tension ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XPen pen, PointF points ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XPen pen, PointF points, double tension ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XPen pen, System points ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XPen pen, System points, double tension ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XPen pen, XBrush brush, PointF points ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XPen pen, XBrush brush, PointF points, XFillMode fillmode ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XPen pen, XBrush brush, PointF points, XFillMode fillmode, double tension ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XPen pen, XBrush brush, System points ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XPen pen, XBrush brush, System points, XFillMode fillmode ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XPen pen, XBrush brush, System points, XFillMode fillmode, double tension ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XPen pen, XBrush brush, XPoint points ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XPen pen, XBrush brush, XPoint points, XFillMode fillmode ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XPen pen, XBrush brush, XPoint points, XFillMode fillmode, double tension ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XPen pen, XPoint points ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XPen pen, XPoint points, double tension ) : void

Draws a closed cardinal spline defined by an array of points.

DrawCurve ( XPen pen, PointF points ) : void

Draws a cardinal spline through a specified array of points.

DrawCurve ( XPen pen, PointF points, double tension ) : void

Draws a cardinal spline through a specified array of points using a specified tension.

DrawCurve ( XPen pen, System points ) : void

Draws a cardinal spline through a specified array of points.

DrawCurve ( XPen pen, System points, double tension ) : void

Draws a cardinal spline through a specified array of points using a specified tension.

DrawCurve ( XPen pen, XPoint points ) : void

Draws a cardinal spline through a specified array of points.

DrawCurve ( XPen pen, XPoint points, double tension ) : void

Draws a cardinal spline through a specified array of points using a specified tension.

DrawEllipse ( XBrush brush, Rectangle rect ) : void

Draws an ellipse defined by a bounding rectangle.

DrawEllipse ( XBrush brush, RectangleF rect ) : void

Draws an ellipse defined by a bounding rectangle.

DrawEllipse ( XBrush brush, XRect rect ) : void

Draws an ellipse defined by a bounding rectangle.

DrawEllipse ( XBrush brush, double x, double y, double width, double height ) : void

Draws an ellipse defined by a bounding rectangle.

DrawEllipse ( XBrush brush, int x, int y, int width, int height ) : void

Draws an ellipse defined by a bounding rectangle.

DrawEllipse ( XPen pen, Rectangle rect ) : void

Draws an ellipse defined by a bounding rectangle.

DrawEllipse ( XPen pen, RectangleF rect ) : void

Draws an ellipse defined by a bounding rectangle.

DrawEllipse ( XPen pen, XBrush brush, Rectangle rect ) : void

Draws an ellipse defined by a bounding rectangle.

DrawEllipse ( XPen pen, XBrush brush, RectangleF rect ) : void

Draws an ellipse defined by a bounding rectangle.

DrawEllipse ( XPen pen, XBrush brush, XRect rect ) : void

Draws an ellipse defined by a bounding rectangle.

DrawEllipse ( XPen pen, XBrush brush, double x, double y, double width, double height ) : void

Draws an ellipse defined by a bounding rectangle.

DrawEllipse ( XPen pen, XBrush brush, int x, int y, int width, int height ) : void

Draws an ellipse defined by a bounding rectangle.

DrawEllipse ( XPen pen, XRect rect ) : void

Draws an ellipse defined by a bounding rectangle.

DrawEllipse ( XPen pen, double x, double y, double width, double height ) : void

Draws an ellipse defined by a bounding rectangle.

DrawEllipse ( XPen pen, int x, int y, int width, int height ) : void

Draws an ellipse defined by a bounding rectangle.

DrawImage ( XImage image, PointF point ) : void

Draws the specified image.

DrawImage ( XImage image, Rectangle rect ) : void

Draws the specified image.

DrawImage ( XImage image, Rectangle destRect, Rectangle srcRect, XGraphicsUnit srcUnit ) : void

Draws the specified image.

DrawImage ( XImage image, RectangleF rect ) : void

Draws the specified image.

DrawImage ( XImage image, RectangleF destRect, RectangleF srcRect, XGraphicsUnit srcUnit ) : void

Draws the specified image.

DrawImage ( XImage image, System point ) : void

Draws the specified image.

DrawImage ( XImage image, XPoint point ) : void

Draws the specified image.

DrawImage ( XImage image, XRect rect ) : void

Draws the specified image.

DrawImage ( XImage image, XRect destRect, XRect srcRect, XGraphicsUnit srcUnit ) : void

Draws the specified image.

DrawImage ( XImage image, double x, double y ) : void

Draws the specified image.

DrawImage ( XImage image, double x, double y, double width, double height ) : void

Draws the specified image.

DrawImage ( XImage image, int x, int y ) : void

Draws the specified image.

DrawImage ( XImage image, int x, int y, int width, int height ) : void

Draws the specified image.

DrawLine ( XPen pen, PointF pt1, PointF pt2 ) : void

Draws a line connecting two PointF structures.

DrawLine ( XPen pen, System pt1, System pt2 ) : void

Draws a line connecting two Point structures.

DrawLine ( XPen pen, XPoint pt1, XPoint pt2 ) : void

Draws a line connecting two XPoint structures.

DrawLine ( XPen pen, double x1, double y1, double x2, double y2 ) : void

Draws a line connecting the two points specified by coordinate pairs.

DrawLine ( XPen pen, int x1, int y1, int x2, int y2 ) : void

Draws a line connecting the two points specified by coordinate pairs.

DrawLines ( XPen pen, PointF points ) : void

Draws a series of line segments that connect an array of points.

DrawLines ( XPen pen, System points ) : void

Draws a series of line segments that connect an array of points.

DrawLines ( XPen pen, XPoint points ) : void

Draws a series of line segments that connect an array of points.

DrawLines ( XPen pen, double x, double y ) : void

Draws a series of line segments that connect an array of x and y pairs.

DrawMatrixCode ( BarCodes matrixcode, XBrush brush, XPoint position ) : void

Draws the specified data matrix code.

DrawMatrixCode ( BarCodes matrixcode, XPoint position ) : void

Draws the specified data matrix code.

DrawPath ( XBrush brush, XGraphicsPath path ) : void

Draws a graphical path.

DrawPath ( XPen pen, XBrush brush, XGraphicsPath path ) : void

Draws a graphical path.

DrawPath ( XPen pen, XGraphicsPath path ) : void

Draws a graphical path.

DrawPie ( XBrush brush, Rectangle rect, double startAngle, double sweepAngle ) : void

Draws a pie defined by an ellipse.

DrawPie ( XBrush brush, RectangleF rect, double startAngle, double sweepAngle ) : void

Draws a pie defined by an ellipse.

DrawPie ( XBrush brush, XRect rect, double startAngle, double sweepAngle ) : void

Draws a pie defined by an ellipse.

DrawPie ( XBrush brush, double x, double y, double width, double height, double startAngle, double sweepAngle ) : void

Draws a pie defined by an ellipse.

DrawPie ( XBrush brush, int x, int y, int width, int height, int startAngle, int sweepAngle ) : void

Draws a pie defined by an ellipse.

DrawPie ( XPen pen, Rectangle rect, double startAngle, double sweepAngle ) : void

Draws a pie defined by an ellipse.

DrawPie ( XPen pen, RectangleF rect, double startAngle, double sweepAngle ) : void

Draws a pie defined by an ellipse.

DrawPie ( XPen pen, XBrush brush, Rectangle rect, double startAngle, double sweepAngle ) : void

Draws a pie defined by an ellipse.

DrawPie ( XPen pen, XBrush brush, RectangleF rect, double startAngle, double sweepAngle ) : void

Draws a pie defined by an ellipse.

DrawPie ( XPen pen, XBrush brush, XRect rect, double startAngle, double sweepAngle ) : void

Draws a pie defined by an ellipse.

DrawPie ( XPen pen, XBrush brush, double x, double y, double width, double height, double startAngle, double sweepAngle ) : void

Draws a pie defined by an ellipse.

DrawPie ( XPen pen, XBrush brush, int x, int y, int width, int height, int startAngle, int sweepAngle ) : void

Draws a pie defined by an ellipse.

DrawPie ( XPen pen, XRect rect, double startAngle, double sweepAngle ) : void

Draws a pie defined by an ellipse.

DrawPie ( XPen pen, double x, double y, double width, double height, double startAngle, double sweepAngle ) : void

Draws a pie defined by an ellipse.

DrawPie ( XPen pen, int x, int y, int width, int height, int startAngle, int sweepAngle ) : void

Draws a pie defined by an ellipse.

DrawPolygon ( XBrush brush, PointF points, XFillMode fillmode ) : void

Draws a polygon defined by an array of points.

DrawPolygon ( XBrush brush, System points, XFillMode fillmode ) : void

Draws a polygon defined by an array of points.

DrawPolygon ( XBrush brush, XPoint points, XFillMode fillmode ) : void

Draws a polygon defined by an array of points.

DrawPolygon ( XPen pen, PointF points ) : void

Draws a polygon defined by an array of points.

DrawPolygon ( XPen pen, System points ) : void

Draws a polygon defined by an array of points.

DrawPolygon ( XPen pen, XBrush brush, PointF points, XFillMode fillmode ) : void

Draws a polygon defined by an array of points.

DrawPolygon ( XPen pen, XBrush brush, System points, XFillMode fillmode ) : void

Draws a polygon defined by an array of points.

DrawPolygon ( XPen pen, XBrush brush, XPoint points, XFillMode fillmode ) : void

Draws a polygon defined by an array of points.

DrawPolygon ( XPen pen, XPoint points ) : void

Draws a polygon defined by an array of points.

DrawRectangle ( XBrush brush, Rectangle rect ) : void

Draws a rectangle.

DrawRectangle ( XBrush brush, RectangleF rect ) : void

Draws a rectangle.

DrawRectangle ( XBrush brush, XRect rect ) : void

Draws a rectangle.

DrawRectangle ( XBrush brush, double x, double y, double width, double height ) : void

Draws a rectangle.

DrawRectangle ( XBrush brush, int x, int y, int width, int height ) : void

Draws a rectangle.

DrawRectangle ( XPen pen, Rectangle rect ) : void

Draws a rectangle.

DrawRectangle ( XPen pen, RectangleF rect ) : void

Draws a rectangle.

DrawRectangle ( XPen pen, XBrush brush, Rectangle rect ) : void

Draws a rectangle.

DrawRectangle ( XPen pen, XBrush brush, RectangleF rect ) : void

Draws a rectangle.

DrawRectangle ( XPen pen, XBrush brush, XRect rect ) : void

Draws a rectangle.

DrawRectangle ( XPen pen, XBrush brush, double x, double y, double width, double height ) : void

Draws a rectangle.

DrawRectangle ( XPen pen, XBrush brush, int x, int y, int width, int height ) : void

Draws a rectangle.

DrawRectangle ( XPen pen, XRect rect ) : void

Draws a rectangle.

DrawRectangle ( XPen pen, double x, double y, double width, double height ) : void

Draws a rectangle.

DrawRectangle ( XPen pen, int x, int y, int width, int height ) : void

Draws a rectangle.

DrawRectangles ( XBrush brush, Rectangle rectangles ) : void

Draws a series of rectangles.

DrawRectangles ( XBrush brush, RectangleF rectangles ) : void

Draws a series of rectangles.

DrawRectangles ( XBrush brush, XRect rectangles ) : void

Draws a series of rectangles.

DrawRectangles ( XPen pen, Rectangle rectangles ) : void

Draws a series of rectangles.

DrawRectangles ( XPen pen, RectangleF rectangles ) : void

Draws a series of rectangles.

DrawRectangles ( XPen pen, XBrush brush, Rectangle rectangles ) : void

Draws a series of rectangles.

DrawRectangles ( XPen pen, XBrush brush, RectangleF rectangles ) : void

Draws a series of rectangles.

DrawRectangles ( XPen pen, XBrush brush, XRect rectangles ) : void

Draws a series of rectangles.

DrawRectangles ( XPen pen, XRect rectangles ) : void

Draws a series of rectangles.

DrawRoundedRectangle ( XBrush brush, Rect rect, System ellipseSize ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XBrush brush, Rectangle rect, System ellipseSize ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XBrush brush, RectangleF rect, SizeF ellipseSize ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XBrush brush, XRect rect, XSize ellipseSize ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XBrush brush, double x, double y, double width, double height, double ellipseWidth, double ellipseHeight ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XBrush brush, int x, int y, int width, int height, int ellipseWidth, int ellipseHeight ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XPen pen, Rect rect, System ellipseSize ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XPen pen, Rectangle rect, System ellipseSize ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XPen pen, RectangleF rect, SizeF ellipseSize ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XPen pen, XBrush brush, Rect rect, System ellipseSize ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XPen pen, XBrush brush, Rectangle rect, System ellipseSize ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XPen pen, XBrush brush, RectangleF rect, SizeF ellipseSize ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XPen pen, XBrush brush, XRect rect, XSize ellipseSize ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XPen pen, XBrush brush, double x, double y, double width, double height, double ellipseWidth, double ellipseHeight ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XPen pen, XBrush brush, int x, int y, int width, int height, int ellipseWidth, int ellipseHeight ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XPen pen, XRect rect, XSize ellipseSize ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XPen pen, double x, double y, double width, double height, double ellipseWidth, double ellipseHeight ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XPen pen, int x, int y, int width, int height, int ellipseWidth, int ellipseHeight ) : void

Draws a rectangles with round corners.

DrawString ( string s, XFont font, XBrush brush, PointF point ) : void

Draws the specified text string.

DrawString ( string s, XFont font, XBrush brush, PointF point, XStringFormat format ) : void

Draws the specified text string.

DrawString ( string s, XFont font, XBrush brush, RectangleF layoutRectangle ) : void

Draws the specified text string.

DrawString ( string s, XFont font, XBrush brush, RectangleF layoutRectangle, XStringFormat format ) : void

Draws the specified text string.

DrawString ( string s, XFont font, XBrush brush, XPoint point ) : void

Draws the specified text string.

DrawString ( string s, XFont font, XBrush brush, XPoint point, XStringFormat format ) : void

Draws the specified text string.

DrawString ( string s, XFont font, XBrush brush, XRect layoutRectangle ) : void

Draws the specified text string.

DrawString ( string text, XFont font, XBrush brush, XRect layoutRectangle, XStringFormat format ) : void

Draws the specified text string.

DrawString ( string s, XFont font, XBrush brush, double x, double y ) : void

Draws the specified text string.

DrawString ( string s, XFont font, XBrush brush, double x, double y, XStringFormat format ) : void

Draws the specified text string.

EndContainer ( XGraphicsContainer container ) : void

Closes the current graphics container and restores the state of this XGraphics to the state saved by a call to the BeginContainer method.

ExcludeClip ( Rectangle rect ) : void
ExcludeClip ( RectangleF rect ) : void
ExcludeClip ( XRect rect ) : void
FromCanvas ( Canvas canvas, XSize size, XGraphicsUnit unit ) : XGraphics

Creates a new instance of the XGraphics class from a System.Windows.Media.DrawingContext object.

FromDrawingContext ( DrawingContext drawingContext, XSize size, XGraphicsUnit unit ) : XGraphics

Creates a new instance of the XGraphics class from a System.Windows.Media.DrawingContext object.

FromForm ( XForm form ) : XGraphics

Creates a new instance of the XGraphics class from a PdfSharp.Drawing.XForm object.

FromGraphics ( Graphics graphics, XSize size ) : XGraphics

Creates a new instance of the XGraphics class from a System.Drawing.Graphics object.

FromGraphics ( Graphics graphics, XSize size, XGraphicsUnit unit ) : XGraphics

Creates a new instance of the XGraphics class from a System.Drawing.Graphics object.

FromPdfForm ( XPdfForm form ) : XGraphics

Creates a new instance of the XGraphics class from a PdfSharp.Drawing.XPdfForm object.

FromPdfPage ( PdfPage page ) : XGraphics

Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.

FromPdfPage ( PdfPage page, XGraphicsPdfPageOptions options ) : XGraphics

Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.

FromPdfPage ( PdfPage page, XGraphicsPdfPageOptions options, XGraphicsUnit unit ) : XGraphics

Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.

FromPdfPage ( PdfPage page, XGraphicsPdfPageOptions options, XGraphicsUnit unit, XPageDirection pageDirection ) : XGraphics

Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.

FromPdfPage ( PdfPage page, XGraphicsPdfPageOptions options, XPageDirection pageDirection ) : XGraphics

Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.

FromPdfPage ( PdfPage page, XGraphicsUnit unit ) : XGraphics

Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.

FromPdfPage ( PdfPage page, XPageDirection pageDirection ) : XGraphics

Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.

IntersectClip ( Rectangle rect ) : void

Updates the clip region of this XGraphics to the intersection of the current clip region and the specified rectangle.

IntersectClip ( RectangleF rect ) : void

Updates the clip region of this XGraphics to the intersection of the current clip region and the specified rectangle.

IntersectClip ( XGraphicsPath path ) : void

Updates the clip region of this XGraphics to the intersection of the current clip region and the specified graphical path.

IntersectClip ( XRect rect ) : void

Updates the clip region of this XGraphics to the intersection of the current clip region and the specified rectangle.

MeasureString ( string text, XFont font ) : XSize

Measures the specified string when drawn with the specified font.

MeasureString ( string text, XFont font, XStringFormat stringFormat ) : XSize

Measures the specified string when drawn with the specified font.

MultiplyTransform ( XMatrix matrix ) : void

Multiplies the transformation matrix of this object and specified matrix.

MultiplyTransform ( XMatrix matrix, XMatrixOrder order ) : void

Multiplies the transformation matrix of this object and specified matrix in the specified order.

Restore ( ) : void

Restores the state of this XGraphics object to the state before the most recently call of Save.

Restore ( XGraphicsState state ) : void

Restores the state of this XGraphics object to the state represented by the specified XGraphicsState object.

RotateAtTransform ( double angle, XPoint point ) : void

Applies the specified rotation operation to the transformation matrix of this object by prepending it to the object's transformation matrix.

RotateAtTransform ( double angle, XPoint point, XMatrixOrder order ) : void

Applies the specified rotation operation to the transformation matrix of this object by prepending it to the object's transformation matrix.

RotateTransform ( double angle ) : void

Applies the specified rotation operation to the transformation matrix of this object by prepending it to the object's transformation matrix.

RotateTransform ( double angle, XMatrixOrder order ) : void

Applies the specified rotation operation to the transformation matrix of this object in the specified order. The angle unit of measure is degree.

Save ( ) : XGraphicsState

Saves the current state of this XGraphics object and identifies the saved state with the returned XGraphicsState object.

ScaleTransform ( double scaleXY ) : void

Applies the specified scaling operation to the transformation matrix of this object by prepending it to the object's transformation matrix.

ScaleTransform ( double scaleXY, XMatrixOrder order ) : void

Applies the specified scaling operation to the transformation matrix of this object in the specified order.

ScaleTransform ( double scaleX, double scaleY ) : void

Applies the specified scaling operation to the transformation matrix of this object by prepending it to the object's transformation matrix.

ScaleTransform ( double scaleX, double scaleY, XMatrixOrder order ) : void

Applies the specified scaling operation to the transformation matrix of this object in the specified order.

ShearTransform ( double shearX, double shearY ) : void

Applies the specified shearing operation to the transformation matrix of this object by prepending it to the object's transformation matrix.

ShearTransform ( double shearX, double shearY, XMatrixOrder order ) : void

Applies the specified shearing operation to the transformation matrix of this object in the specified order.

TranslateTransform ( double dx, double dy ) : void

Applies the specified translation operation to the transformation matrix of this object by prepending it to the object's transformation matrix.

TranslateTransform ( double dx, double dy, XMatrixOrder order ) : void

Applies the specified translation operation to the transformation matrix of this object in the specified order.

WriteComment ( string comment ) : void

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.

Private Methods

Method Description
AddTransform ( PdfSharp.Drawing.XMatrix transform, XMatrixOrder order ) : void

Gets or sets the transformation matrix.

CheckXPdfFormConsistence ( PdfSharp.Drawing.XImage image ) : void

Checks whether drawing is allowed and disposes the XGraphics object, if necessary.

Dispose ( bool disposing ) : void
DrawMissingImageRect ( XRect rect ) : void
Initialize ( ) : void

Internal setup.

MakePointArray ( XPoint points ) : System.Windows.Point[]

Converts an XPoint[] into a Point[].

MakePointFArray ( System points ) : PointF[]

Converts a Point[] into a PointF[].

MakePointFArray ( XPoint points ) : PointF[]

Converts a XPoint[] into a PointF[].

MakeXPointArray ( PointF points ) : XPoint[]

Converts a PointF[] into a XPoint[].

MakeXPointArray ( System points ) : XPoint[]

Converts a Point[] into a XPoint[].

ResetClip ( ) : void
ResetTransform ( ) : void
SetClip ( Rectangle rect ) : void
SetClip ( RectangleF rect ) : void
SetClip ( XGraphicsPath path ) : void
SetClip ( XGraphicsPath path, XCombineMode combineMode ) : void
SetClip ( XRect rect ) : void
SetClip ( XRect rect, XCombineMode combineMode ) : void
XGraphics ( Canvas canvas, XSize size, XGraphicsUnit pageUnit, XPageDirection pageDirection ) : System

Initializes a new instance of the XGraphics class.

XGraphics ( DrawingContext dc, XSize size, XGraphicsUnit pageUnit, XPageDirection pageDirection ) : System

Initializes a new instance of the XGraphics class.

XGraphics ( Graphics gfx, XSize size, XGraphicsUnit pageUnit, XPageDirection pageDirection ) : System

Initializes a new instance of the XGraphics class.

XGraphics ( PdfPage page, XGraphicsPdfPageOptions options, XGraphicsUnit pageUnit, XPageDirection pageDirection ) : System

Initializes a new instance of the XGraphics class for drawing on a PDF page.

XGraphics ( XForm form ) : System

Initializes a new instance of the XGraphics class used for drawing on a form.

Method Details

BeginContainer() public method

Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container.
public BeginContainer ( ) : PdfSharp.Drawing.XGraphicsContainer
return PdfSharp.Drawing.XGraphicsContainer

BeginContainer() public method

Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container.
public BeginContainer ( Rect dstrect, Rect srcrect, XGraphicsUnit unit ) : PdfSharp.Drawing.XGraphicsContainer
dstrect Rect
srcrect Rect
unit XGraphicsUnit
return PdfSharp.Drawing.XGraphicsContainer

BeginContainer() public method

Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container.
public BeginContainer ( Rectangle dstrect, Rectangle srcrect, XGraphicsUnit unit ) : PdfSharp.Drawing.XGraphicsContainer
dstrect System.Drawing.Rectangle
srcrect System.Drawing.Rectangle
unit XGraphicsUnit
return PdfSharp.Drawing.XGraphicsContainer

BeginContainer() public method

Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container.
public BeginContainer ( RectangleF dstrect, RectangleF srcrect, XGraphicsUnit unit ) : PdfSharp.Drawing.XGraphicsContainer
dstrect System.Drawing.RectangleF
srcrect System.Drawing.RectangleF
unit XGraphicsUnit
return PdfSharp.Drawing.XGraphicsContainer

BeginContainer() public method

Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container.
public BeginContainer ( PdfSharp.Drawing.XRect dstrect, PdfSharp.Drawing.XRect srcrect, XGraphicsUnit unit ) : PdfSharp.Drawing.XGraphicsContainer
dstrect PdfSharp.Drawing.XRect
srcrect PdfSharp.Drawing.XRect
unit XGraphicsUnit
return PdfSharp.Drawing.XGraphicsContainer

Clear() public method

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.
public Clear ( XColor color ) : void
color XColor
return void

CreateMeasureContext() public static method

Creates the measure context. This is a graphics context created only for querying measures of text. Drawing on a measure context has no effect.
public static CreateMeasureContext ( PdfSharp.Drawing.XSize size, XGraphicsUnit pageUnit, XPageDirection pageDirection ) : XGraphics
size PdfSharp.Drawing.XSize
pageUnit XGraphicsUnit
pageDirection XPageDirection
return XGraphics

Dispose() public method

Releases all resources used by this object.
public Dispose ( ) : void
return void

DrawArc() public method

Draws an arc representing a portion of an ellipse.
public DrawArc ( PdfSharp.Drawing.XPen pen, Rectangle rect, double startAngle, double sweepAngle ) : void
pen PdfSharp.Drawing.XPen
rect System.Drawing.Rectangle
startAngle double
sweepAngle double
return void

DrawArc() public method

Draws an arc representing a portion of an ellipse.
public DrawArc ( PdfSharp.Drawing.XPen pen, RectangleF rect, double startAngle, double sweepAngle ) : void
pen PdfSharp.Drawing.XPen
rect System.Drawing.RectangleF
startAngle double
sweepAngle double
return void

DrawArc() public method

Draws an arc representing a portion of an ellipse.
public DrawArc ( PdfSharp.Drawing.XPen pen, PdfSharp.Drawing.XRect rect, double startAngle, double sweepAngle ) : void
pen PdfSharp.Drawing.XPen
rect PdfSharp.Drawing.XRect
startAngle double
sweepAngle double
return void

DrawArc() public method

Draws an arc representing a portion of an ellipse.
public DrawArc ( PdfSharp.Drawing.XPen pen, double x, double y, double width, double height, double startAngle, double sweepAngle ) : void
pen PdfSharp.Drawing.XPen
x double
y double
width double
height double
startAngle double
sweepAngle double
return void

DrawArc() public method

Draws an arc representing a portion of an ellipse.
public DrawArc ( PdfSharp.Drawing.XPen pen, int x, int y, int width, int height, int startAngle, int sweepAngle ) : void
pen PdfSharp.Drawing.XPen
x int
y int
width int
height int
startAngle int
sweepAngle int
return void

DrawBarCode() public method

Draws the specified bar code.
public DrawBarCode ( BarCodes barcode, PdfSharp.Drawing.XBrush brush, PdfSharp.Drawing.XFont font, PdfSharp.Drawing.XPoint position ) : void
barcode BarCodes
brush PdfSharp.Drawing.XBrush
font PdfSharp.Drawing.XFont
position PdfSharp.Drawing.XPoint
return void

DrawBarCode() public method

Draws the specified bar code.
public DrawBarCode ( BarCodes barcode, PdfSharp.Drawing.XBrush brush, PdfSharp.Drawing.XPoint position ) : void
barcode BarCodes
brush PdfSharp.Drawing.XBrush
position PdfSharp.Drawing.XPoint
return void

DrawBarCode() public method

Draws the specified bar code.
public DrawBarCode ( BarCodes barcode, PdfSharp.Drawing.XPoint position ) : void
barcode BarCodes
position PdfSharp.Drawing.XPoint
return void

DrawBezier() public method

Draws a Bézier spline defined by four points.
public DrawBezier ( PdfSharp.Drawing.XPen pen, PointF pt1, PointF pt2, PointF pt3, PointF pt4 ) : void
pen PdfSharp.Drawing.XPen
pt1 System.Drawing.PointF
pt2 System.Drawing.PointF
pt3 System.Drawing.PointF
pt4 System.Drawing.PointF
return void

DrawBezier() public method

Draws a Bézier spline defined by four points.
public DrawBezier ( PdfSharp.Drawing.XPen pen, System pt1, System pt2, System pt3, System pt4 ) : void
pen PdfSharp.Drawing.XPen
pt1 System
pt2 System
pt3 System
pt4 System
return void

DrawBezier() public method

Draws a Bézier spline defined by four points.
public DrawBezier ( PdfSharp.Drawing.XPen pen, PdfSharp.Drawing.XPoint pt1, PdfSharp.Drawing.XPoint pt2, PdfSharp.Drawing.XPoint pt3, PdfSharp.Drawing.XPoint pt4 ) : void
pen PdfSharp.Drawing.XPen
pt1 PdfSharp.Drawing.XPoint
pt2 PdfSharp.Drawing.XPoint
pt3 PdfSharp.Drawing.XPoint
pt4 PdfSharp.Drawing.XPoint
return void

DrawBezier() public method

Draws a Bézier spline defined by four points.
public DrawBezier ( XPen pen, double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4 ) : void
pen XPen
x1 double
y1 double
x2 double
y2 double
x3 double
y3 double
x4 double
y4 double
return void

DrawBeziers() public method

Draws a series of Bézier splines from an array of points.
public DrawBeziers ( XPen pen, PointF points ) : void
pen XPen
points PointF
return void

DrawBeziers() public method

Draws a series of Bézier splines from an array of points.
public DrawBeziers ( XPen pen, System points ) : void
pen XPen
points System
return void

DrawBeziers() public method

Draws a series of Bézier splines from an array of points.
public DrawBeziers ( XPen pen, XPoint points ) : void
pen XPen
points XPoint
return void

DrawClosedCurve() public method

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XBrush brush, PointF points ) : void
brush XBrush
points PointF
return void

DrawClosedCurve() public method

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XBrush brush, PointF points, XFillMode fillmode ) : void
brush XBrush
points PointF
fillmode XFillMode
return void

DrawClosedCurve() public method

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XBrush brush, PointF points, XFillMode fillmode, double tension ) : void
brush XBrush
points PointF
fillmode XFillMode
tension double
return void

DrawClosedCurve() public method

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XBrush brush, System points ) : void
brush XBrush
points System
return void

DrawClosedCurve() public method

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XBrush brush, System points, XFillMode fillmode ) : void
brush XBrush
points System
fillmode XFillMode
return void

DrawClosedCurve() public method

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XBrush brush, System points, XFillMode fillmode, double tension ) : void
brush XBrush
points System
fillmode XFillMode
tension double
return void

DrawClosedCurve() public method

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XBrush brush, XPoint points ) : void
brush XBrush
points XPoint
return void

DrawClosedCurve() public method

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XBrush brush, XPoint points, XFillMode fillmode ) : void
brush XBrush
points XPoint
fillmode XFillMode
return void

DrawClosedCurve() public method

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XBrush brush, XPoint points, XFillMode fillmode, double tension ) : void
brush XBrush
points XPoint
fillmode XFillMode
tension double
return void

DrawClosedCurve() public method

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XPen pen, PointF points ) : void
pen XPen
points PointF
return void

DrawClosedCurve() public method

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XPen pen, PointF points, double tension ) : void
pen XPen
points PointF
tension double
return void

DrawClosedCurve() public method

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XPen pen, System points ) : void
pen XPen
points System
return void

DrawClosedCurve() public method

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XPen pen, System points, double tension ) : void
pen XPen
points System
tension double
return void

DrawClosedCurve() public method

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XPen pen, XBrush brush, PointF points ) : void
pen XPen
brush XBrush
points PointF
return void

DrawClosedCurve() public method

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XPen pen, XBrush brush, PointF points, XFillMode fillmode ) : void
pen XPen
brush XBrush
points PointF
fillmode XFillMode
return void

DrawClosedCurve() public method

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XPen pen, XBrush brush, PointF points, XFillMode fillmode, double tension ) : void
pen XPen
brush XBrush
points PointF
fillmode XFillMode
tension double
return void

DrawClosedCurve() public method

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XPen pen, XBrush brush, System points ) : void
pen XPen
brush XBrush
points System
return void

DrawClosedCurve() public method

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XPen pen, XBrush brush, System points, XFillMode fillmode ) : void
pen XPen
brush XBrush
points System
fillmode XFillMode
return void

DrawClosedCurve() public method

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XPen pen, XBrush brush, System points, XFillMode fillmode, double tension ) : void
pen XPen
brush XBrush
points System
fillmode XFillMode
tension double
return void

DrawClosedCurve() public method

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XPen pen, XBrush brush, XPoint points ) : void
pen XPen
brush XBrush
points XPoint
return void

DrawClosedCurve() public method

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XPen pen, XBrush brush, XPoint points, XFillMode fillmode ) : void
pen XPen
brush XBrush
points XPoint
fillmode XFillMode
return void

DrawClosedCurve() public method

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XPen pen, XBrush brush, XPoint points, XFillMode fillmode, double tension ) : void
pen XPen
brush XBrush
points XPoint
fillmode XFillMode
tension double
return void

DrawClosedCurve() public method

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XPen pen, XPoint points ) : void
pen XPen
points XPoint
return void

DrawClosedCurve() public method

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XPen pen, XPoint points, double tension ) : void
pen XPen
points XPoint
tension double
return void

DrawCurve() public method

Draws a cardinal spline through a specified array of points.
public DrawCurve ( XPen pen, PointF points ) : void
pen XPen
points PointF
return void

DrawCurve() public method

Draws a cardinal spline through a specified array of points using a specified tension.
public DrawCurve ( XPen pen, PointF points, double tension ) : void
pen XPen
points PointF
tension double
return void

DrawCurve() public method

Draws a cardinal spline through a specified array of points.
public DrawCurve ( XPen pen, System points ) : void
pen XPen
points System
return void

DrawCurve() public method

Draws a cardinal spline through a specified array of points using a specified tension.
public DrawCurve ( XPen pen, System points, double tension ) : void
pen XPen
points System
tension double
return void

DrawCurve() public method

Draws a cardinal spline through a specified array of points.
public DrawCurve ( XPen pen, XPoint points ) : void
pen XPen
points XPoint
return void

DrawCurve() public method

Draws a cardinal spline through a specified array of points using a specified tension.
public DrawCurve ( XPen pen, XPoint points, double tension ) : void
pen XPen
points XPoint
tension double
return void

DrawEllipse() public method

Draws an ellipse defined by a bounding rectangle.
public DrawEllipse ( XBrush brush, Rectangle rect ) : void
brush XBrush
rect Rectangle
return void

DrawEllipse() public method

Draws an ellipse defined by a bounding rectangle.
public DrawEllipse ( XBrush brush, RectangleF rect ) : void
brush XBrush
rect RectangleF
return void

DrawEllipse() public method

Draws an ellipse defined by a bounding rectangle.
public DrawEllipse ( XBrush brush, XRect rect ) : void
brush XBrush
rect XRect
return void

DrawEllipse() public method

Draws an ellipse defined by a bounding rectangle.
public DrawEllipse ( XBrush brush, double x, double y, double width, double height ) : void
brush XBrush
x double
y double
width double
height double
return void

DrawEllipse() public method

Draws an ellipse defined by a bounding rectangle.
public DrawEllipse ( XBrush brush, int x, int y, int width, int height ) : void
brush XBrush
x int
y int
width int
height int
return void

DrawEllipse() public method

Draws an ellipse defined by a bounding rectangle.
public DrawEllipse ( XPen pen, Rectangle rect ) : void
pen XPen
rect Rectangle
return void

DrawEllipse() public method

Draws an ellipse defined by a bounding rectangle.
public DrawEllipse ( XPen pen, RectangleF rect ) : void
pen XPen
rect RectangleF
return void

DrawEllipse() public method

Draws an ellipse defined by a bounding rectangle.
public DrawEllipse ( XPen pen, XBrush brush, Rectangle rect ) : void
pen XPen
brush XBrush
rect Rectangle
return void

DrawEllipse() public method

Draws an ellipse defined by a bounding rectangle.
public DrawEllipse ( XPen pen, XBrush brush, RectangleF rect ) : void
pen XPen
brush XBrush
rect RectangleF
return void

DrawEllipse() public method

Draws an ellipse defined by a bounding rectangle.
public DrawEllipse ( XPen pen, XBrush brush, XRect rect ) : void
pen XPen
brush XBrush
rect XRect
return void

DrawEllipse() public method

Draws an ellipse defined by a bounding rectangle.
public DrawEllipse ( XPen pen, XBrush brush, double x, double y, double width, double height ) : void
pen XPen
brush XBrush
x double
y double
width double
height double
return void

DrawEllipse() public method

Draws an ellipse defined by a bounding rectangle.
public DrawEllipse ( XPen pen, XBrush brush, int x, int y, int width, int height ) : void
pen XPen
brush XBrush
x int
y int
width int
height int
return void

DrawEllipse() public method

Draws an ellipse defined by a bounding rectangle.
public DrawEllipse ( XPen pen, XRect rect ) : void
pen XPen
rect XRect
return void

DrawEllipse() public method

Draws an ellipse defined by a bounding rectangle.
public DrawEllipse ( XPen pen, double x, double y, double width, double height ) : void
pen XPen
x double
y double
width double
height double
return void

DrawEllipse() public method

Draws an ellipse defined by a bounding rectangle.
public DrawEllipse ( XPen pen, int x, int y, int width, int height ) : void
pen XPen
x int
y int
width int
height int
return void

DrawImage() public method

Draws the specified image.
public DrawImage ( XImage image, PointF point ) : void
image XImage
point PointF
return void

DrawImage() public method

Draws the specified image.
public DrawImage ( XImage image, Rectangle rect ) : void
image XImage
rect Rectangle
return void

DrawImage() public method

Draws the specified image.
public DrawImage ( XImage image, Rectangle destRect, Rectangle srcRect, XGraphicsUnit srcUnit ) : void
image XImage
destRect Rectangle
srcRect Rectangle
srcUnit XGraphicsUnit
return void

DrawImage() public method

Draws the specified image.
public DrawImage ( XImage image, RectangleF rect ) : void
image XImage
rect RectangleF
return void

DrawImage() public method

Draws the specified image.
public DrawImage ( XImage image, RectangleF destRect, RectangleF srcRect, XGraphicsUnit srcUnit ) : void
image XImage
destRect RectangleF
srcRect RectangleF
srcUnit XGraphicsUnit
return void

DrawImage() public method

Draws the specified image.
public DrawImage ( XImage image, System point ) : void
image XImage
point System
return void

DrawImage() public method

Draws the specified image.
public DrawImage ( XImage image, XPoint point ) : void
image XImage
point XPoint
return void

DrawImage() public method

Draws the specified image.
public DrawImage ( XImage image, XRect rect ) : void
image XImage
rect XRect
return void

DrawImage() public method

Draws the specified image.
public DrawImage ( XImage image, XRect destRect, XRect srcRect, XGraphicsUnit srcUnit ) : void
image XImage
destRect XRect
srcRect XRect
srcUnit XGraphicsUnit
return void

DrawImage() public method

Draws the specified image.
public DrawImage ( XImage image, double x, double y ) : void
image XImage
x double
y double
return void

DrawImage() public method

Draws the specified image.
public DrawImage ( XImage image, double x, double y, double width, double height ) : void
image XImage
x double
y double
width double
height double
return void

DrawImage() public method

Draws the specified image.
public DrawImage ( XImage image, int x, int y ) : void
image XImage
x int
y int
return void

DrawImage() public method

Draws the specified image.
public DrawImage ( XImage image, int x, int y, int width, int height ) : void
image XImage
x int
y int
width int
height int
return void

DrawLine() public method

Draws a line connecting two PointF structures.
public DrawLine ( XPen pen, PointF pt1, PointF pt2 ) : void
pen XPen
pt1 PointF
pt2 PointF
return void

DrawLine() public method

Draws a line connecting two Point structures.
public DrawLine ( XPen pen, System pt1, System pt2 ) : void
pen XPen
pt1 System
pt2 System
return void

DrawLine() public method

Draws a line connecting two XPoint structures.
public DrawLine ( XPen pen, XPoint pt1, XPoint pt2 ) : void
pen XPen
pt1 XPoint
pt2 XPoint
return void

DrawLine() public method

Draws a line connecting the two points specified by coordinate pairs.
public DrawLine ( XPen pen, double x1, double y1, double x2, double y2 ) : void
pen XPen
x1 double
y1 double
x2 double
y2 double
return void

DrawLine() public method

Draws a line connecting the two points specified by coordinate pairs.
public DrawLine ( XPen pen, int x1, int y1, int x2, int y2 ) : void
pen XPen
x1 int
y1 int
x2 int
y2 int
return void

DrawLines() public method

Draws a series of line segments that connect an array of points.
public DrawLines ( XPen pen, PointF points ) : void
pen XPen
points PointF
return void

DrawLines() public method

Draws a series of line segments that connect an array of points.
public DrawLines ( XPen pen, System points ) : void
pen XPen
points System
return void

DrawLines() public method

Draws a series of line segments that connect an array of points.
public DrawLines ( XPen pen, XPoint points ) : void
pen XPen
points XPoint
return void

DrawLines() public method

Draws a series of line segments that connect an array of x and y pairs.
public DrawLines ( XPen pen, double x, double y ) : void
pen XPen
x double
y double
return void

DrawMatrixCode() public method

Draws the specified data matrix code.
public DrawMatrixCode ( BarCodes matrixcode, XBrush brush, XPoint position ) : void
matrixcode BarCodes
brush XBrush
position XPoint
return void

DrawMatrixCode() public method

Draws the specified data matrix code.
public DrawMatrixCode ( BarCodes matrixcode, XPoint position ) : void
matrixcode BarCodes
position XPoint
return void

DrawPath() public method

Draws a graphical path.
public DrawPath ( XBrush brush, XGraphicsPath path ) : void
brush XBrush
path XGraphicsPath
return void

DrawPath() public method

Draws a graphical path.
public DrawPath ( XPen pen, XBrush brush, XGraphicsPath path ) : void
pen XPen
brush XBrush
path XGraphicsPath
return void

DrawPath() public method

Draws a graphical path.
public DrawPath ( XPen pen, XGraphicsPath path ) : void
pen XPen
path XGraphicsPath
return void

DrawPie() public method

Draws a pie defined by an ellipse.
public DrawPie ( XBrush brush, Rectangle rect, double startAngle, double sweepAngle ) : void
brush XBrush
rect Rectangle
startAngle double
sweepAngle double
return void

DrawPie() public method

Draws a pie defined by an ellipse.
public DrawPie ( XBrush brush, RectangleF rect, double startAngle, double sweepAngle ) : void
brush XBrush
rect RectangleF
startAngle double
sweepAngle double
return void

DrawPie() public method

Draws a pie defined by an ellipse.
public DrawPie ( XBrush brush, XRect rect, double startAngle, double sweepAngle ) : void
brush XBrush
rect XRect
startAngle double
sweepAngle double
return void

DrawPie() public method

Draws a pie defined by an ellipse.
public DrawPie ( XBrush brush, double x, double y, double width, double height, double startAngle, double sweepAngle ) : void
brush XBrush
x double
y double
width double
height double
startAngle double
sweepAngle double
return void

DrawPie() public method

Draws a pie defined by an ellipse.
public DrawPie ( XBrush brush, int x, int y, int width, int height, int startAngle, int sweepAngle ) : void
brush XBrush
x int
y int
width int
height int
startAngle int
sweepAngle int
return void

DrawPie() public method

Draws a pie defined by an ellipse.
public DrawPie ( XPen pen, Rectangle rect, double startAngle, double sweepAngle ) : void
pen XPen
rect Rectangle
startAngle double
sweepAngle double
return void

DrawPie() public method

Draws a pie defined by an ellipse.
public DrawPie ( XPen pen, RectangleF rect, double startAngle, double sweepAngle ) : void
pen XPen
rect RectangleF
startAngle double
sweepAngle double
return void

DrawPie() public method

Draws a pie defined by an ellipse.
public DrawPie ( XPen pen, XBrush brush, Rectangle rect, double startAngle, double sweepAngle ) : void
pen XPen
brush XBrush
rect Rectangle
startAngle double
sweepAngle double
return void

DrawPie() public method

Draws a pie defined by an ellipse.
public DrawPie ( XPen pen, XBrush brush, RectangleF rect, double startAngle, double sweepAngle ) : void
pen XPen
brush XBrush
rect RectangleF
startAngle double
sweepAngle double
return void

DrawPie() public method

Draws a pie defined by an ellipse.
public DrawPie ( XPen pen, XBrush brush, XRect rect, double startAngle, double sweepAngle ) : void
pen XPen
brush XBrush
rect XRect
startAngle double
sweepAngle double
return void

DrawPie() public method

Draws a pie defined by an ellipse.
public DrawPie ( XPen pen, XBrush brush, double x, double y, double width, double height, double startAngle, double sweepAngle ) : void
pen XPen
brush XBrush
x double
y double
width double
height double
startAngle double
sweepAngle double
return void

DrawPie() public method

Draws a pie defined by an ellipse.
public DrawPie ( XPen pen, XBrush brush, int x, int y, int width, int height, int startAngle, int sweepAngle ) : void
pen XPen
brush XBrush
x int
y int
width int
height int
startAngle int
sweepAngle int
return void

DrawPie() public method

Draws a pie defined by an ellipse.
public DrawPie ( XPen pen, XRect rect, double startAngle, double sweepAngle ) : void
pen XPen
rect XRect
startAngle double
sweepAngle double
return void

DrawPie() public method

Draws a pie defined by an ellipse.
public DrawPie ( XPen pen, double x, double y, double width, double height, double startAngle, double sweepAngle ) : void
pen XPen
x double
y double
width double
height double
startAngle double
sweepAngle double
return void

DrawPie() public method

Draws a pie defined by an ellipse.
public DrawPie ( XPen pen, int x, int y, int width, int height, int startAngle, int sweepAngle ) : void
pen XPen
x int
y int
width int
height int
startAngle int
sweepAngle int
return void

DrawPolygon() public method

Draws a polygon defined by an array of points.
public DrawPolygon ( XBrush brush, PointF points, XFillMode fillmode ) : void
brush XBrush
points PointF
fillmode XFillMode
return void

DrawPolygon() public method

Draws a polygon defined by an array of points.
public DrawPolygon ( XBrush brush, System points, XFillMode fillmode ) : void
brush XBrush
points System
fillmode XFillMode
return void

DrawPolygon() public method

Draws a polygon defined by an array of points.
public DrawPolygon ( XBrush brush, XPoint points, XFillMode fillmode ) : void
brush XBrush
points XPoint
fillmode XFillMode
return void

DrawPolygon() public method

Draws a polygon defined by an array of points.
public DrawPolygon ( XPen pen, PointF points ) : void
pen XPen
points PointF
return void

DrawPolygon() public method

Draws a polygon defined by an array of points.
public DrawPolygon ( XPen pen, System points ) : void
pen XPen
points System
return void

DrawPolygon() public method

Draws a polygon defined by an array of points.
public DrawPolygon ( XPen pen, XBrush brush, PointF points, XFillMode fillmode ) : void
pen XPen
brush XBrush
points PointF
fillmode XFillMode
return void

DrawPolygon() public method

Draws a polygon defined by an array of points.
public DrawPolygon ( XPen pen, XBrush brush, System points, XFillMode fillmode ) : void
pen XPen
brush XBrush
points System
fillmode XFillMode
return void

DrawPolygon() public method

Draws a polygon defined by an array of points.
public DrawPolygon ( XPen pen, XBrush brush, XPoint points, XFillMode fillmode ) : void
pen XPen
brush XBrush
points XPoint
fillmode XFillMode
return void

DrawPolygon() public method

Draws a polygon defined by an array of points.
public DrawPolygon ( XPen pen, XPoint points ) : void
pen XPen
points XPoint
return void

DrawRectangle() public method

Draws a rectangle.
public DrawRectangle ( XBrush brush, Rectangle rect ) : void
brush XBrush
rect Rectangle
return void

DrawRectangle() public method

Draws a rectangle.
public DrawRectangle ( XBrush brush, RectangleF rect ) : void
brush XBrush
rect RectangleF
return void

DrawRectangle() public method

Draws a rectangle.
public DrawRectangle ( XBrush brush, XRect rect ) : void
brush XBrush
rect XRect
return void

DrawRectangle() public method

Draws a rectangle.
public DrawRectangle ( XBrush brush, double x, double y, double width, double height ) : void
brush XBrush
x double
y double
width double
height double
return void

DrawRectangle() public method

Draws a rectangle.
public DrawRectangle ( XBrush brush, int x, int y, int width, int height ) : void
brush XBrush
x int
y int
width int
height int
return void

DrawRectangle() public method

Draws a rectangle.
public DrawRectangle ( XPen pen, Rectangle rect ) : void
pen XPen
rect Rectangle
return void

DrawRectangle() public method

Draws a rectangle.
public DrawRectangle ( XPen pen, RectangleF rect ) : void
pen XPen
rect RectangleF
return void

DrawRectangle() public method

Draws a rectangle.
public DrawRectangle ( XPen pen, XBrush brush, Rectangle rect ) : void
pen XPen
brush XBrush
rect Rectangle
return void

DrawRectangle() public method

Draws a rectangle.
public DrawRectangle ( XPen pen, XBrush brush, RectangleF rect ) : void
pen XPen
brush XBrush
rect RectangleF
return void

DrawRectangle() public method

Draws a rectangle.
public DrawRectangle ( XPen pen, XBrush brush, XRect rect ) : void
pen XPen
brush XBrush
rect XRect
return void

DrawRectangle() public method

Draws a rectangle.
public DrawRectangle ( XPen pen, XBrush brush, double x, double y, double width, double height ) : void
pen XPen
brush XBrush
x double
y double
width double
height double
return void

DrawRectangle() public method

Draws a rectangle.
public DrawRectangle ( XPen pen, XBrush brush, int x, int y, int width, int height ) : void
pen XPen
brush XBrush
x int
y int
width int
height int
return void

DrawRectangle() public method

Draws a rectangle.
public DrawRectangle ( XPen pen, XRect rect ) : void
pen XPen
rect XRect
return void

DrawRectangle() public method

Draws a rectangle.
public DrawRectangle ( XPen pen, double x, double y, double width, double height ) : void
pen XPen
x double
y double
width double
height double
return void

DrawRectangle() public method

Draws a rectangle.
public DrawRectangle ( XPen pen, int x, int y, int width, int height ) : void
pen XPen
x int
y int
width int
height int
return void

DrawRectangles() public method

Draws a series of rectangles.
public DrawRectangles ( XBrush brush, Rectangle rectangles ) : void
brush XBrush
rectangles Rectangle
return void

DrawRectangles() public method

Draws a series of rectangles.
public DrawRectangles ( XBrush brush, RectangleF rectangles ) : void
brush XBrush
rectangles RectangleF
return void

DrawRectangles() public method

Draws a series of rectangles.
public DrawRectangles ( XBrush brush, XRect rectangles ) : void
brush XBrush
rectangles XRect
return void

DrawRectangles() public method

Draws a series of rectangles.
public DrawRectangles ( XPen pen, Rectangle rectangles ) : void
pen XPen
rectangles Rectangle
return void

DrawRectangles() public method

Draws a series of rectangles.
public DrawRectangles ( XPen pen, RectangleF rectangles ) : void
pen XPen
rectangles RectangleF
return void

DrawRectangles() public method

Draws a series of rectangles.
public DrawRectangles ( XPen pen, XBrush brush, Rectangle rectangles ) : void
pen XPen
brush XBrush
rectangles Rectangle
return void

DrawRectangles() public method

Draws a series of rectangles.
public DrawRectangles ( XPen pen, XBrush brush, RectangleF rectangles ) : void
pen XPen
brush XBrush
rectangles RectangleF
return void

DrawRectangles() public method

Draws a series of rectangles.
public DrawRectangles ( XPen pen, XBrush brush, XRect rectangles ) : void
pen XPen
brush XBrush
rectangles XRect
return void

DrawRectangles() public method

Draws a series of rectangles.
public DrawRectangles ( XPen pen, XRect rectangles ) : void
pen XPen
rectangles XRect
return void

DrawRoundedRectangle() public method

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XBrush brush, Rect rect, System ellipseSize ) : void
brush XBrush
rect Rect
ellipseSize System
return void

DrawRoundedRectangle() public method

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XBrush brush, Rectangle rect, System ellipseSize ) : void
brush XBrush
rect Rectangle
ellipseSize System
return void

DrawRoundedRectangle() public method

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XBrush brush, RectangleF rect, SizeF ellipseSize ) : void
brush XBrush
rect RectangleF
ellipseSize SizeF
return void

DrawRoundedRectangle() public method

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XBrush brush, XRect rect, XSize ellipseSize ) : void
brush XBrush
rect XRect
ellipseSize XSize
return void

DrawRoundedRectangle() public method

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XBrush brush, double x, double y, double width, double height, double ellipseWidth, double ellipseHeight ) : void
brush XBrush
x double
y double
width double
height double
ellipseWidth double
ellipseHeight double
return void

DrawRoundedRectangle() public method

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XBrush brush, int x, int y, int width, int height, int ellipseWidth, int ellipseHeight ) : void
brush XBrush
x int
y int
width int
height int
ellipseWidth int
ellipseHeight int
return void

DrawRoundedRectangle() public method

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XPen pen, Rect rect, System ellipseSize ) : void
pen XPen
rect Rect
ellipseSize System
return void

DrawRoundedRectangle() public method

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XPen pen, Rectangle rect, System ellipseSize ) : void
pen XPen
rect Rectangle
ellipseSize System
return void

DrawRoundedRectangle() public method

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XPen pen, RectangleF rect, SizeF ellipseSize ) : void
pen XPen
rect RectangleF
ellipseSize SizeF
return void

DrawRoundedRectangle() public method

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XPen pen, XBrush brush, Rect rect, System ellipseSize ) : void
pen XPen
brush XBrush
rect Rect
ellipseSize System
return void

DrawRoundedRectangle() public method

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XPen pen, XBrush brush, Rectangle rect, System ellipseSize ) : void
pen XPen
brush XBrush
rect Rectangle
ellipseSize System
return void

DrawRoundedRectangle() public method

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XPen pen, XBrush brush, RectangleF rect, SizeF ellipseSize ) : void
pen XPen
brush XBrush
rect RectangleF
ellipseSize SizeF
return void

DrawRoundedRectangle() public method

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XPen pen, XBrush brush, XRect rect, XSize ellipseSize ) : void
pen XPen
brush XBrush
rect XRect
ellipseSize XSize
return void

DrawRoundedRectangle() public method

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XPen pen, XBrush brush, double x, double y, double width, double height, double ellipseWidth, double ellipseHeight ) : void
pen XPen
brush XBrush
x double
y double
width double
height double
ellipseWidth double
ellipseHeight double
return void

DrawRoundedRectangle() public method

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XPen pen, XBrush brush, int x, int y, int width, int height, int ellipseWidth, int ellipseHeight ) : void
pen XPen
brush XBrush
x int
y int
width int
height int
ellipseWidth int
ellipseHeight int
return void

DrawRoundedRectangle() public method

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XPen pen, XRect rect, XSize ellipseSize ) : void
pen XPen
rect XRect
ellipseSize XSize
return void

DrawRoundedRectangle() public method

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XPen pen, double x, double y, double width, double height, double ellipseWidth, double ellipseHeight ) : void
pen XPen
x double
y double
width double
height double
ellipseWidth double
ellipseHeight double
return void

DrawRoundedRectangle() public method

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XPen pen, int x, int y, int width, int height, int ellipseWidth, int ellipseHeight ) : void
pen XPen
x int
y int
width int
height int
ellipseWidth int
ellipseHeight int
return void

DrawString() public method

Draws the specified text string.
public DrawString ( string s, XFont font, XBrush brush, PointF point ) : void
s string
font XFont
brush XBrush
point PointF
return void

DrawString() public method

Draws the specified text string.
public DrawString ( string s, XFont font, XBrush brush, PointF point, XStringFormat format ) : void
s string
font XFont
brush XBrush
point PointF
format XStringFormat
return void

DrawString() public method

Draws the specified text string.
public DrawString ( string s, XFont font, XBrush brush, RectangleF layoutRectangle ) : void
s string
font XFont
brush XBrush
layoutRectangle RectangleF
return void

DrawString() public method

Draws the specified text string.
public DrawString ( string s, XFont font, XBrush brush, RectangleF layoutRectangle, XStringFormat format ) : void
s string
font XFont
brush XBrush
layoutRectangle RectangleF
format XStringFormat
return void

DrawString() public method

Draws the specified text string.
public DrawString ( string s, XFont font, XBrush brush, XPoint point ) : void
s string
font XFont
brush XBrush
point XPoint
return void

DrawString() public method

Draws the specified text string.
public DrawString ( string s, XFont font, XBrush brush, XPoint point, XStringFormat format ) : void
s string
font XFont
brush XBrush
point XPoint
format XStringFormat
return void

DrawString() public method

Draws the specified text string.
public DrawString ( string s, XFont font, XBrush brush, XRect layoutRectangle ) : void
s string
font XFont
brush XBrush
layoutRectangle XRect
return void

DrawString() public method

Draws the specified text string.
public DrawString ( string text, XFont font, XBrush brush, XRect layoutRectangle, XStringFormat format ) : void
text string
font XFont
brush XBrush
layoutRectangle XRect
format XStringFormat
return void

DrawString() public method

Draws the specified text string.
public DrawString ( string s, XFont font, XBrush brush, double x, double y ) : void
s string
font XFont
brush XBrush
x double
y double
return void

DrawString() public method

Draws the specified text string.
public DrawString ( string s, XFont font, XBrush brush, double x, double y, XStringFormat format ) : void
s string
font XFont
brush XBrush
x double
y double
format XStringFormat
return void

EndContainer() public method

Closes the current graphics container and restores the state of this XGraphics to the state saved by a call to the BeginContainer method.
public EndContainer ( XGraphicsContainer container ) : void
container XGraphicsContainer
return void

ExcludeClip() public method

public ExcludeClip ( Rectangle rect ) : void
rect Rectangle
return void

ExcludeClip() public method

public ExcludeClip ( RectangleF rect ) : void
rect RectangleF
return void

ExcludeClip() public method

public ExcludeClip ( XRect rect ) : void
rect XRect
return void

FromCanvas() public static method

Creates a new instance of the XGraphics class from a System.Windows.Media.DrawingContext object.
public static FromCanvas ( Canvas canvas, XSize size, XGraphicsUnit unit ) : XGraphics
canvas Canvas
size XSize
unit XGraphicsUnit
return XGraphics

FromDrawingContext() public static method

Creates a new instance of the XGraphics class from a System.Windows.Media.DrawingContext object.
public static FromDrawingContext ( DrawingContext drawingContext, XSize size, XGraphicsUnit unit ) : XGraphics
drawingContext DrawingContext
size XSize
unit XGraphicsUnit
return XGraphics

FromForm() public static method

Creates a new instance of the XGraphics class from a PdfSharp.Drawing.XForm object.
public static FromForm ( XForm form ) : XGraphics
form XForm
return XGraphics

FromGraphics() public static method

Creates a new instance of the XGraphics class from a System.Drawing.Graphics object.
public static FromGraphics ( Graphics graphics, XSize size ) : XGraphics
graphics Graphics
size XSize
return XGraphics

FromGraphics() public static method

Creates a new instance of the XGraphics class from a System.Drawing.Graphics object.
public static FromGraphics ( Graphics graphics, XSize size, XGraphicsUnit unit ) : XGraphics
graphics Graphics
size XSize
unit XGraphicsUnit
return XGraphics

FromPdfForm() public static method

Creates a new instance of the XGraphics class from a PdfSharp.Drawing.XPdfForm object.
public static FromPdfForm ( XPdfForm form ) : XGraphics
form XPdfForm
return XGraphics

FromPdfPage() public static method

Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.
public static FromPdfPage ( PdfPage page ) : XGraphics
page PdfPage
return XGraphics

FromPdfPage() public static method

Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.
public static FromPdfPage ( PdfPage page, XGraphicsPdfPageOptions options ) : XGraphics
page PdfPage
options XGraphicsPdfPageOptions
return XGraphics

FromPdfPage() public static method

Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.
public static FromPdfPage ( PdfPage page, XGraphicsPdfPageOptions options, XGraphicsUnit unit ) : XGraphics
page PdfPage
options XGraphicsPdfPageOptions
unit XGraphicsUnit
return XGraphics

FromPdfPage() public static method

Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.
public static FromPdfPage ( PdfPage page, XGraphicsPdfPageOptions options, XGraphicsUnit unit, XPageDirection pageDirection ) : XGraphics
page PdfPage
options XGraphicsPdfPageOptions
unit XGraphicsUnit
pageDirection XPageDirection
return XGraphics

FromPdfPage() public static method

Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.
public static FromPdfPage ( PdfPage page, XGraphicsPdfPageOptions options, XPageDirection pageDirection ) : XGraphics
page PdfPage
options XGraphicsPdfPageOptions
pageDirection XPageDirection
return XGraphics

FromPdfPage() public static method

Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.
public static FromPdfPage ( PdfPage page, XGraphicsUnit unit ) : XGraphics
page PdfPage
unit XGraphicsUnit
return XGraphics

FromPdfPage() public static method

Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.
public static FromPdfPage ( PdfPage page, XPageDirection pageDirection ) : XGraphics
page PdfPage
pageDirection XPageDirection
return XGraphics

IntersectClip() public method

Updates the clip region of this XGraphics to the intersection of the current clip region and the specified rectangle.
public IntersectClip ( Rectangle rect ) : void
rect Rectangle
return void

IntersectClip() public method

Updates the clip region of this XGraphics to the intersection of the current clip region and the specified rectangle.
public IntersectClip ( RectangleF rect ) : void
rect RectangleF
return void

IntersectClip() public method

Updates the clip region of this XGraphics to the intersection of the current clip region and the specified graphical path.
public IntersectClip ( XGraphicsPath path ) : void
path XGraphicsPath
return void

IntersectClip() public method

Updates the clip region of this XGraphics to the intersection of the current clip region and the specified rectangle.
public IntersectClip ( XRect rect ) : void
rect XRect
return void

MeasureString() public method

Measures the specified string when drawn with the specified font.
public MeasureString ( string text, XFont font ) : XSize
text string
font XFont
return XSize

MeasureString() public method

Measures the specified string when drawn with the specified font.
public MeasureString ( string text, XFont font, XStringFormat stringFormat ) : XSize
text string
font XFont
stringFormat XStringFormat
return XSize

MultiplyTransform() public method

Multiplies the transformation matrix of this object and specified matrix.
public MultiplyTransform ( XMatrix matrix ) : void
matrix XMatrix
return void

MultiplyTransform() public method

Multiplies the transformation matrix of this object and specified matrix in the specified order.
public MultiplyTransform ( XMatrix matrix, XMatrixOrder order ) : void
matrix XMatrix
order XMatrixOrder
return void

Restore() public method

Restores the state of this XGraphics object to the state before the most recently call of Save.
public Restore ( ) : void
return void

Restore() public method

Restores the state of this XGraphics object to the state represented by the specified XGraphicsState object.
public Restore ( XGraphicsState state ) : void
state XGraphicsState
return void

RotateAtTransform() public method

Applies the specified rotation operation to the transformation matrix of this object by prepending it to the object's transformation matrix.
public RotateAtTransform ( double angle, XPoint point ) : void
angle double
point XPoint
return void

RotateAtTransform() public method

Applies the specified rotation operation to the transformation matrix of this object by prepending it to the object's transformation matrix.
public RotateAtTransform ( double angle, XPoint point, XMatrixOrder order ) : void
angle double
point XPoint
order XMatrixOrder
return void

RotateTransform() public method

Applies the specified rotation operation to the transformation matrix of this object by prepending it to the object's transformation matrix.
public RotateTransform ( double angle ) : void
angle double
return void

RotateTransform() public method

Applies the specified rotation operation to the transformation matrix of this object in the specified order. The angle unit of measure is degree.
public RotateTransform ( double angle, XMatrixOrder order ) : void
angle double
order XMatrixOrder
return void

Save() public method

Saves the current state of this XGraphics object and identifies the saved state with the returned XGraphicsState object.
public Save ( ) : XGraphicsState
return XGraphicsState

ScaleTransform() public method

Applies the specified scaling operation to the transformation matrix of this object by prepending it to the object's transformation matrix.
public ScaleTransform ( double scaleXY ) : void
scaleXY double
return void

ScaleTransform() public method

Applies the specified scaling operation to the transformation matrix of this object in the specified order.
public ScaleTransform ( double scaleXY, XMatrixOrder order ) : void
scaleXY double
order XMatrixOrder
return void

ScaleTransform() public method

Applies the specified scaling operation to the transformation matrix of this object by prepending it to the object's transformation matrix.
public ScaleTransform ( double scaleX, double scaleY ) : void
scaleX double
scaleY double
return void

ScaleTransform() public method

Applies the specified scaling operation to the transformation matrix of this object in the specified order.
public ScaleTransform ( double scaleX, double scaleY, XMatrixOrder order ) : void
scaleX double
scaleY double
order XMatrixOrder
return void

ShearTransform() public method

Applies the specified shearing operation to the transformation matrix of this object by prepending it to the object's transformation matrix.
public ShearTransform ( double shearX, double shearY ) : void
shearX double
shearY double
return void

ShearTransform() public method

Applies the specified shearing operation to the transformation matrix of this object in the specified order.
public ShearTransform ( double shearX, double shearY, XMatrixOrder order ) : void
shearX double
shearY double
order XMatrixOrder
return void

TranslateTransform() public method

Applies the specified translation operation to the transformation matrix of this object by prepending it to the object's transformation matrix.
public TranslateTransform ( double dx, double dy ) : void
dx double
dy double
return void

TranslateTransform() public method

Applies the specified translation operation to the transformation matrix of this object in the specified order.
public TranslateTransform ( double dx, double dy, XMatrixOrder order ) : void
dx double
dy double
order XMatrixOrder
return void

WriteComment() public method

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.
public WriteComment ( string comment ) : void
comment string
return void