A wrapper of the System.Drawing.Graphics class that implements the IGraphics interface.
The following tables list the members exposed by the GdiGraphics type.
Name | Description | |
---|---|---|
Initializes a new instance of the GdiGraphics class over the specified GDI+ Graphics object. |
Name | Description | |
---|---|---|
Gets or sets a .NET Region object that limits the drawing region of this GdiGraphics object. |
||
Gets a .NET RectangleF structure that bounds the clipping region of this GdiGraphics object. |
||
Gets or sets a value that specifies how composited images are drawn to this GdiGraphics object. |
||
Gets or sets the rendering quality of composited images drawn to this GdiGraphics object. |
||
Gets the horizontal resolution of this GdiGraphics object. |
||
Gets the vertical resolution of this GdiGraphics object. |
||
Gets a reference to the underlying .NET Graphics object. |
||
Gets or sets the interpolation mode associated with this GdiGraphics object. |
||
Gets a value indicating whether the clipping region of this GdiGraphics object is empty. |
||
Gets a value indicating whether the visible clipping region of this GdiGraphics object is empty. |
||
Gets or sets the scaling between world units and page units for this GdiGraphics object. |
||
Gets or sets the unit of measure used for page coordinates in this GdiGraphics object. |
||
Gets or set a value specifying how pixels are offset during rendering of this GdiGraphics object. |
||
Gets or sets the rendering origin of this GdiGraphics object for dithering and for hatch brushes. |
||
Gets or sets the rendering quality for this GdiGraphics object. |
||
Gets or sets the gamma correction value for rendering text. |
||
Gets or sets the rendering mode for text associated with this GdiGraphics object. |
||
Gets or sets the world transformation for this GdiGraphics object. |
||
Gets the bounding rectangle of the visible clipping region of this GdiGraphics object. |
Name | Description | |
---|---|---|
Adds a comment to the current Metafile object. |
||
Overloaded. Saves a graphics container with the current state of this GdiGraphics object and opens and uses a new graphics container. |
||
|
||
Clears the entire drawing surface and fills it with the specified background color. |
||
Releases all resources used by this GdiGraphics object. |
||
Overloaded. Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height. |
||
Overloaded. Draws a Bézier spline defined by four .NET Point structures. |
||
Overloaded. Draws a series of Bézier splines from an array of Point structures. |
||
Overloaded. Draws a closed cardinal spline defined by an array of Point structures. |
||
Overloaded. Draws a cardinal spline through a specified array of Point structures. |
||
Overloaded. Draws an ellipse defined by a bounding rectangle specified by a pair of coordinates, a height, and a width. |
||
Overloaded. Draws the image represented by the specified .NET Icon object at the specified coordinates. |
||
Draws the image represented by the specified .NET Icon object without scaling the image. |
||
Overloaded. Draws the specified .NET Image object at the specified location and with the original size. |
||
Overloaded. Draws the specified image using its original physical size at the location specified by a coordinate pair. |
||
Overloaded. Draws a line connecting the two points specified by coordinate pairs. |
||
Overloaded. Draws a series of line segments that connect an array of Point structures. |
||
Draws a .NET GraphicsPath object. |
||
Overloaded. Draws a pie shape defined by an ellipse specified by a coordinate pair, a width, and a height and two radial lines. |
||
Overloaded. Draws a polygon defined by an array of Point or PointF structures. |
||
Overloaded. Draws a rectangle specified by a coordinate pair, a width, and a height. |
||
Overloaded. Draws a series of rectangles specified by Rectangle or RectangleF structures. |
||
Overloaded. Draws the specified text string at the specified location with the specified Brush and Font objects. |
||
Closes the current graphics container and restores the state of this GdiGraphics object to the state saved by a call to the BeginContainer method. |
||
|
||
Overloaded. Sends the records in the specified Metafile object, one at a time, to a callback method for display at a specified point. |
||
Overloaded. Updates the clip region of this GdiGraphics object to exclude the area specified by a .NET Rectangle structure. |
||
Overloaded. Fills the interior a closed cardinal spline curve defined by an array of Point structures. |
||
Overloaded. Fills the interior of an ellipse defined by a bounding rectangle specified by a pair of coordinates, a width, and a height. |
||
Fills the interior of a .NET GraphicsPath object. |
||
Overloaded. Fills the interior of a pie section defined by an ellipse specified by a pair of coordinates, a width, and a height and two radial lines. |
||
Overloaded. Fills the interior of a polygon defined by an array of points specified by Point structures. |
||
Overloaded. Fills the interior of a rectangle specified by a pair of coordinates, a width, and a height. |
||
Overloaded. Fills the interiors of a series of rectangles specified by Rectangle structures. |
||
Fills the interior of a .NET Region object. |
||
Overloaded. Forces execution of all pending graphics operations and returns immediately without waiting for the operations to finish. |
||
|
||
Gets the handle to the device context associated with this GdiGraphics. |
||
Gets the nearest color to the specified Color structure. |
||
Overloaded. Updates the clip region of this GdiGraphics object to the intersection of the current clip region and the specified Rectangle structure. |
||
Overloaded. Indicates whether the point specified by a pair of coordinates is contained within the visible clip region of this GdiGraphics object. |
||
Gets an array of Region objects, each of which bounds a range of character positions within the specified string. |
||
Overloaded. Measures the specified string when drawn with the specified Font object. |
||
Overloaded. Multiplies the world transformation of this GdiGraphics object and specified the .NET Matrix object. |
||
Releases a device context handle obtained by a previous call to the GetHdc method of this GdiGraphics object. |
||
Internal method. Do not use. |
||
Resets the clip region of this GdiGraphics object to an infinite region. |
||
Resets the world transformation matrix of this GdiGraphics object to the identity matrix. |
||
Restores the state of this GdiGraphics object to the state represented by a GraphicsState object. |
||
Overloaded. Applies the specified rotation to the transformation matrix of this GdiGraphics object. |
||
Saves the current state of this GdiGraphics object and identifies the saved state with a GraphicsState object. |
||
Overloaded. Applies the specified scaling operation to the transformation matrix of this GdiGraphics object by prepending it to the object's transformation matrix. |
||
Overloaded. Sets the clipping region of this GdiGraphics object. |
||
Overloaded. Transforms an array of points from one coordinate space to another using the current world and page transformations of this GdiGraphics object. |
||
Overloaded. Translates the clipping region of this GdiGraphics object by specified amounts in the horizontal and vertical directions. |
||
Overloaded. Prepends the specified translation to the transformation matrix of this GdiGraphics object. |