C# 클래스 Smrf.NodeXL.Visualization.Wpf.DrawerBase

Base class for classes that perform drawing operations.
상속: VisualizationBase
파일 보기 프로젝트 열기: 2014-sed-team3/term-project

보호된 프로퍼티들

프로퍼티 타입 설명
m_dGraphScale Double

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
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

메소드 상세

AssertValid() 공개 메소드

public AssertValid ( ) : void
리턴 void

CreateFrozenPen() 보호된 메소드

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
리턴 System.Windows.Media.Pen

CreateFrozenPen() 보호된 메소드

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
리턴 System.Windows.Media.Pen

CreateFrozenSolidColorBrush() 보호된 메소드

protected CreateFrozenSolidColorBrush ( Color oColor ) : SolidColorBrush
oColor Color
리턴 System.Windows.Media.SolidColorBrush

DrawLabelBackground() 보호된 메소드

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
리턴 void

DrawerBase() 공개 메소드

Initializes a new instance of the DrawerBase class.
public DrawerBase ( ) : System
리턴 System

GetBezierControlPoint() 보호된 메소드

protected GetBezierControlPoint ( GraphDrawingContext oGraphDrawingContext, Point oEndpoint1, Point oEndpoint2, Double dBezierDisplacementFactor ) : Point
oGraphDrawingContext GraphDrawingContext
oEndpoint1 Point
oEndpoint2 Point
dBezierDisplacementFactor Double
리턴 Point

TryGetColorValue() 보호된 메소드

protected TryGetColorValue ( IMetadataProvider oMetadataProvider, String sKey, Color &oColor ) : System.Boolean
oMetadataProvider IMetadataProvider
sKey String
oColor Color
리턴 System.Boolean

TryGetEdgeDrawingHistory() 공개 정적인 메소드

public static TryGetEdgeDrawingHistory ( IEdge oEdge, EdgeDrawingHistory &oEdgeDrawingHistory ) : System.Boolean
oEdge IEdge
oEdgeDrawingHistory EdgeDrawingHistory
리턴 System.Boolean

TryGetVertexDrawingHistory() 공개 정적인 메소드

public static TryGetVertexDrawingHistory ( IVertex oVertex, VertexDrawingHistory &oVertexDrawingHistory ) : System.Boolean
oVertex IVertex
oVertexDrawingHistory VertexDrawingHistory
리턴 System.Boolean

프로퍼티 상세

m_dGraphScale 보호되어 있는 프로퍼티

protected Double m_dGraphScale
리턴 Double