C# Class Smrf.NodeXL.Core.LayoutUtil

Utility methods for dealing with graph layouts.
All methods are static.
Show file Open project: 2014-sed-team3/term-project

Public Methods

Method Description
GetGraphBoundingRectangle ( IGraph graph ) : RectangleF
GetRectangleTransformation ( RectangleF rectangle1, RectangleF rectangle2 ) : Matrix
TransformPointF ( PointF pointF, Matrix transformationMatrix ) : PointF
TransformRectangle ( Rectangle rectangle, Matrix transformationMatrix ) : Rectangle
TransformVertexLocations ( IGraph graph, Matrix transformationMatrix ) : void

Method Details

GetGraphBoundingRectangle() public static method

public static GetGraphBoundingRectangle ( IGraph graph ) : RectangleF
graph IGraph
return System.Drawing.RectangleF

GetRectangleTransformation() public static method

public static GetRectangleTransformation ( RectangleF rectangle1, RectangleF rectangle2 ) : Matrix
rectangle1 System.Drawing.RectangleF
rectangle2 System.Drawing.RectangleF
return Matrix

TransformPointF() public static method

public static TransformPointF ( PointF pointF, Matrix transformationMatrix ) : PointF
pointF PointF
transformationMatrix Matrix
return PointF

TransformRectangle() public static method

public static TransformRectangle ( Rectangle rectangle, Matrix transformationMatrix ) : Rectangle
rectangle Rectangle
transformationMatrix Matrix
return Rectangle

TransformVertexLocations() public static method

public static TransformVertexLocations ( IGraph graph, Matrix transformationMatrix ) : void
graph IGraph
transformationMatrix Matrix
return void