C# Class Smrf.NodeXL.Visualization.Wpf.DrawerBase

Base class for classes that perform drawing operations.
Inheritance: VisualizationBase
Afficher le fichier Open project: 2014-sed-team3/term-project

Protected Properties

Свойство Type Description
m_dGraphScale Double

Méthodes publiques

Méthode Description
AssertValid ( ) : void
DrawerBase ( ) : System

Initializes a new instance of the DrawerBase class.

TryGetEdgeDrawingHistory ( IEdge oEdge, EdgeDrawingHistory &oEdgeDrawingHistory ) : System.Boolean
TryGetVertexDrawingHistory ( IVertex oVertex, VertexDrawingHistory &oVertexDrawingHistory ) : System.Boolean

Méthodes protégées

Méthode Description
CreateFrozenPen ( System.Windows.Media.Brush oBrush, Double dThickness, System.Windows.Media.DashStyle oDashStyle ) : System.Windows.Media.Pen
CreateFrozenPen ( System.Windows.Media.Brush oBrush, Double dThickness, System.Windows.Media.DashStyle oDashStyle, PenLineCap eLineCap ) : System.Windows.Media.Pen
CreateFrozenSolidColorBrush ( Color oColor ) : SolidColorBrush
DrawLabelBackground ( System.Windows.Media.DrawingContext oDrawingContext, GraphDrawingContext oGraphDrawingContext, System.Windows.Media.FormattedText oFormattedText, Color oFormattedTextColor, Byte btBackgroundAlpha, Point oTextOrigin ) : void
GetBezierControlPoint ( GraphDrawingContext oGraphDrawingContext, Point oEndpoint1, Point oEndpoint2, Double dBezierDisplacementFactor ) : Point
TryGetColorValue ( IMetadataProvider oMetadataProvider, String sKey, Color &oColor ) : System.Boolean

Method Details

AssertValid() public méthode

public AssertValid ( ) : void
Résultat void

CreateFrozenPen() protected méthode

protected CreateFrozenPen ( System.Windows.Media.Brush oBrush, Double dThickness, System.Windows.Media.DashStyle oDashStyle ) : System.Windows.Media.Pen
oBrush System.Windows.Media.Brush
dThickness Double
oDashStyle System.Windows.Media.DashStyle
Résultat System.Windows.Media.Pen

CreateFrozenPen() protected méthode

protected CreateFrozenPen ( System.Windows.Media.Brush oBrush, Double dThickness, System.Windows.Media.DashStyle oDashStyle, PenLineCap eLineCap ) : System.Windows.Media.Pen
oBrush System.Windows.Media.Brush
dThickness Double
oDashStyle System.Windows.Media.DashStyle
eLineCap PenLineCap
Résultat System.Windows.Media.Pen

CreateFrozenSolidColorBrush() protected méthode

protected CreateFrozenSolidColorBrush ( Color oColor ) : SolidColorBrush
oColor Color
Résultat System.Windows.Media.SolidColorBrush

DrawLabelBackground() protected méthode

protected DrawLabelBackground ( System.Windows.Media.DrawingContext oDrawingContext, GraphDrawingContext oGraphDrawingContext, System.Windows.Media.FormattedText oFormattedText, Color oFormattedTextColor, Byte btBackgroundAlpha, Point oTextOrigin ) : void
oDrawingContext System.Windows.Media.DrawingContext
oGraphDrawingContext GraphDrawingContext
oFormattedText System.Windows.Media.FormattedText
oFormattedTextColor Color
btBackgroundAlpha Byte
oTextOrigin Point
Résultat void

DrawerBase() public méthode

Initializes a new instance of the DrawerBase class.
public DrawerBase ( ) : System
Résultat System

GetBezierControlPoint() protected méthode

protected GetBezierControlPoint ( GraphDrawingContext oGraphDrawingContext, Point oEndpoint1, Point oEndpoint2, Double dBezierDisplacementFactor ) : Point
oGraphDrawingContext GraphDrawingContext
oEndpoint1 Point
oEndpoint2 Point
dBezierDisplacementFactor Double
Résultat Point

TryGetColorValue() protected méthode

protected TryGetColorValue ( IMetadataProvider oMetadataProvider, String sKey, Color &oColor ) : System.Boolean
oMetadataProvider IMetadataProvider
sKey String
oColor Color
Résultat System.Boolean

TryGetEdgeDrawingHistory() public static méthode

public static TryGetEdgeDrawingHistory ( IEdge oEdge, EdgeDrawingHistory &oEdgeDrawingHistory ) : System.Boolean
oEdge IEdge
oEdgeDrawingHistory EdgeDrawingHistory
Résultat System.Boolean

TryGetVertexDrawingHistory() public static méthode

public static TryGetVertexDrawingHistory ( IVertex oVertex, VertexDrawingHistory &oVertexDrawingHistory ) : System.Boolean
oVertex IVertex
oVertexDrawingHistory VertexDrawingHistory
Résultat System.Boolean

Property Details

m_dGraphScale protected_oe property

protected Double m_dGraphScale
Résultat Double