Search
IGraphics Members
Properties Methods
 


This interface exposes methods for drawing graphics primitives used to render MindFusion.Diagramming objects.

The following tables list the members exposed by the IGraphics type.

 Public Properties

  Name Description

Clip

Gets or sets an IGraphicsPath object that limits the drawing region of this IGraphics object.

DpiX

Gets the horizontal resolution of this IGraphics object.

DpiY

Gets the vertical resolution of this IGraphics object.

EnableAntialiasing

Gets or sets whether to anti-alias the graphics primitives.

SupportsPenWidth0

Gets a value indicating whether the IGraphics object supports pens with zero width.

Transform

Gets or sets the world transformation for this IGraphics object.

UnitScale

Gets the scale for current unit.

 Public Methods

  Name Description

BeginHyperLink

 

ClipImage

Overloaded.  

CreateImage

Creates an image from the current drawing associated with this IGraphics object.

DrawArc

Overloaded. Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height.

DrawBezier

Draws a Bézier spline defined by four Point structures.

DrawBeziers

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

DrawCurve

Draws a cardinal spline through a specified array of Point structures.

DrawEllipse

Overloaded. Draws an ellipse defined by a bounding rectangle specified by a pair of coordinates, a height, and a width.

DrawImage

Overloaded. Draws the specified IImage object at the specified location and with the original size.

DrawLine

Overloaded. Draws a line segment connecting two points.

DrawLines

Draws a series of line segments that connect an array of Point structures.

DrawPath

Draws an IGraphicsPath object.

DrawPoint

Draws a point at the specified coordinates.

DrawPolygon

Draws a polygon specified by a poins list.

DrawRectangle

Overloaded. Draws a rectangle specified by a coordinate pair, a width, and a height.

DrawString

Overloaded. Draws the specified text string at the specified location with the specified Brush and Font objects.

EndHyperLink

 

FillEllipse

Overloaded. Fills the interior of an ellipse defined by a bounding rectangle specified by a pair of coordinates, a width, and a height.

FillPath

Fills the interior of a GraphicsPath object.

FillPolygon

Fills the interior of a polygon specified by a points list.

FillRectangle

Overloaded. Fills the interior of a rectangle specified by a pair of coordinates, a width, and a height.

GetFontHeight

Gets the height of the specified font.

GetImageSize

Returns the physical size of the specified image.

MeasureString

Overloaded. Measures the specified string when drawn with the specified Font object.

MultiplyTransform

Multiplies the world transformation of this IGraphics object and specified the Matrix object in the specified order.

PopOpacity

Restores global opacity.

PushOpacity

Sets global opacity.

ResetTransform

Resets the world transformation matrix of this IGraphics object to the identity matrix.

Restore

Restores the state of this IGraphics object to the specified state argument.

RotateTransform

Applies the specified rotation to the transformation matrix of this IGraphics object.

Save

Saves the current state of this IGraphics object.

ScaleTransform

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

SetClip

Overloaded. Sets the clipping region of this IGraphics object to the Clip property of the specified IGraphics object.

SetTransform

Sets the current transformation.

TranslateTransform

Prepends the specified translation to the transformation matrix of this IGraphics object.

 See Also