MindFusion.Wpf Pack Programmer's Guide
InternalUtils Methods
 


 Public Methods

  Name Description

AddToRect

Inflate/deflate the specified rectangle with the specified values.

ApproxBezier

Approximates the specified Bézier curve with a polyline. The specified quality parameter varies in the interval [1, ...) and is proportional to the number of points in the resulting polyline.

ApproxEllipse

Approximates the ellipse contained in the specified rectanlge with a polyline. The specified quality parameter varies in the interval [1, ...) and is proportional to the number of points in the resulting polyline.

CreateRoundRectRgn

Creates a round rectangle region.

DrawAdjustmentHandles

Draws node adjustment handles of the specified style.

DrawExpandButton

Overloaded.  

DrawRect

Draws the specified rectangle using the specified pen for stroking and the specified brush for filling.

GetExpandIconSize

Gets the size of the expand/collapse manipulator icon.

GetLoadedAssembly

Gets the specified assembly.

GetLoadedType

Overloaded. Gets the type with the specified name from the specified assembly.

GetRoundRect

Creates a graphics path of a rounded rectangle with the specified dimensions and round radius.

MidPoint

Returns the middle point of the segment defined by the specified points.

PointInRect

Checks whether the specified rectangle contains the specified point.

PointsInRect

Checks whether the specified rectangle contains the specified points.

RectangleToPoints

Returns the points of the specified rectangle as an array.

RectPtFromPercent

Calculates the point corresponding to the specified percent values relative to the specified rectangle.

UnionNonEmptyRects

Returns the smallest possible rectangle containing both of the specified rectangles, but only if the rectangles are non-empty.

UnionRects

Returns the smallest possible rectangle containing both of the specified rectangles.

 See Also

InternalUtils Class
MindFusion.Diagramming.Wpf Namespace