# Graphics user defined functions Reference

Below is a complete list of the user defined functions available in AutoIt. Click on a user defined function name for a detailed description.

When using them you need to add a #include <GDIPlus.au3>.

User Defined Function | Description
--- | ---
_GDIPlus_GraphicsClear | Clears a Graphics object to a specified color
_GDIPlus_GraphicsCreateFromHDC | Create a Graphics object from a device context (DC)
_GDIPlus_GraphicsCreateFromHWND | Create a Graphics object from a window handle
_GDIPlus_GraphicsDispose | Release a Graphics object
_GDIPlus_GraphicsDrawArc | Draw an arc
_GDIPlus_GraphicsDrawBezier | Draw a bezier spline
_GDIPlus_GraphicsDrawClosedCurve | Draw a closed cardinal spline
_GDIPlus_GraphicsDrawClosedCurve2 | Draws a closed cardinal spline
_GDIPlus_GraphicsDrawCurve | Draw a cardinal spline
_GDIPlus_GraphicsDrawCurve2 | Draws a cardinal spline
_GDIPlus_GraphicsDrawEllipse | Draw an ellipse
_GDIPlus_GraphicsDrawImage | Draw an Image object
_GDIPlus_GraphicsDrawImagePointsRect | Draws an image
_GDIPlus_GraphicsDrawImageRect | Draws an image at a specified location
_GDIPlus_GraphicsDrawImageRectRect | Draw an Image object
_GDIPlus_GraphicsDrawLine | Draw a line
_GDIPlus_GraphicsDrawPath | Draws a sequence of lines and curves defined by a GraphicsPath object
_GDIPlus_GraphicsDrawPie | Draw a pie
_GDIPlus_GraphicsDrawPolygon | Draw a polygon
_GDIPlus_GraphicsDrawRect | Draw a rectangle
_GDIPlus_GraphicsFillClosedCurve | Fill a closed cardinal spline
_GDIPlus_GraphicsFillClosedCurve2 | Creates a closed cardinal spline from an array of points and uses a brush to fill the interior of the spline
_GDIPlus_GraphicsFillEllipse | Fill an ellipse
_GDIPlus_GraphicsFillPath | Uses a brush to fill the interior of a path
_GDIPlus_GraphicsFillPie | Fill a pie
_GDIPlus_GraphicsFillPolygon | Fill a polygon
_GDIPlus_GraphicsFillRect | Fill a rectangle
_GDIPlus_GraphicsFillRegion | Uses a brush to fill a specified region
_GDIPlus_GraphicsGetCompositingMode | Gets the compositing mode currently set for a Graphics object
_GDIPlus_GraphicsGetCompositingQuality | Gets the compositing quality currently set for a Graphics object
_GDIPlus_GraphicsGetDC | Gets a handle to the device context of the Graphics object
_GDIPlus_GraphicsGetInterpolationMode | Gets the interpolation mode currently set for a Graphics object
_GDIPlus_GraphicsGetSmoothingMode | Gets the graphics object rendering quality
_GDIPlus_GraphicsGetTransform | Gets the world transformation matrix of a Graphics object
_GDIPlus_GraphicsReleaseDC | Releases the device context of the Graphics object
_GDIPlus_GraphicsResetClip | Sets the clipping region of a Graphics object to an infinite region
_GDIPlus_GraphicsResetTransform | Sets the world transformation matrix of a Graphics object to the identity matrix
_GDIPlus_GraphicsRestore | Restores the state of a Graphics object to the state stored by a previous call to the _GDIPlus_GraphicsSave method of the Graphics object
_GDIPlus_GraphicsRotateTransform | Updates the world transformation matrix of a Graphics object with the product of itself and a rotation matrix
_GDIPlus_GraphicsSave | Saves the current state (transformations, clipping region, and quality settings) of a Graphics object
_GDIPlus_GraphicsScaleTransform | Updates a Graphics object's world transformation matrix with the product of itself and a scaling matrix
_GDIPlus_GraphicsSetClipPath | Updates the clipping region of this Graphics object to a region that is the combination of itself and the region specified by a graphics path
_GDIPlus_GraphicsSetClipRect | Updates the clipping region of a Graphics object to a region that is the combination of itself and a rectangle
_GDIPlus_GraphicsSetClipRegion | Updates the clipping region of a Graphics object to a region that is the combination of itself and the region specified by a Region object
_GDIPlus_GraphicsSetCompositingMode | Sets the compositing mode of a Graphics object
_GDIPlus_GraphicsSetCompositingQuality | Sets the compositing quality of a Graphics object
_GDIPlus_GraphicsSetInterpolationMode | Sets the interpolation mode of a Graphics object
_GDIPlus_GraphicsSetPixelOffsetMode | Sets the pixel offset mode of a Graphics object
_GDIPlus_GraphicsSetSmoothingMode | Sets the graphics object rendering quality
_GDIPlus_GraphicsSetTextRenderingHint | Sets the contrast value of a Graphics object
_GDIPlus_GraphicsSetTransform | Sets the world transformation for a graphics object
_GDIPlus_GraphicsTransformPoints | Converts an array of points from one coordinate space to another
_GDIPlus_GraphicsTranslateTransform | Updates a Graphics object's world transformation matrix with the product of itself and a translation matrix