C# Class Smrf.NodeXL.Core.LayoutUtil

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

Méthodes publiques

Méthode 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 méthode

public static GetGraphBoundingRectangle ( IGraph graph ) : RectangleF
graph IGraph
Résultat System.Drawing.RectangleF

GetRectangleTransformation() public static méthode

public static GetRectangleTransformation ( RectangleF rectangle1, RectangleF rectangle2 ) : Matrix
rectangle1 System.Drawing.RectangleF
rectangle2 System.Drawing.RectangleF
Résultat Matrix

TransformPointF() public static méthode

public static TransformPointF ( PointF pointF, Matrix transformationMatrix ) : PointF
pointF PointF
transformationMatrix Matrix
Résultat PointF

TransformRectangle() public static méthode

public static TransformRectangle ( Rectangle rectangle, Matrix transformationMatrix ) : Rectangle
rectangle Rectangle
transformationMatrix Matrix
Résultat Rectangle

TransformVertexLocations() public static méthode

public static TransformVertexLocations ( IGraph graph, Matrix transformationMatrix ) : void
graph IGraph
transformationMatrix Matrix
Résultat void