C# 클래스 NClass.DiagramEditor.Canvas

파일 보기 프로젝트 열기: gbaychev/NClass

Private Properties

프로퍼티 타입 설명
CalculateZoomValue float
Canvas System
ChangeZoom void
ChangeZoom void
ConvertAbsoluteToRelative System.Point
ConvertRelativeToAbsolute PointF
DrawContent void
GetAbsoluteCenterPoint PointF
InitializeComponent void
OnDocumentRedrawed void
OnVisibleAreaChanged void
OnZoomChanged void
ScrollHorizontally void
SetScrolls void
UpdateDocumentOffset void
UpdateWindowPositions void
document_HidingWindow void
document_NeedsRedraw void
document_OffsetChanged void
document_ShowingWindow void
document_SizeChanged void
document_ZoomChanged void

공개 메소드들

메소드 설명
AutoZoom ( ) : void
AutoZoom ( bool selectedOnly ) : void
ChangeZoom ( bool enlarge ) : void
ChangeZoom ( bool enlarge, PointF zoomingCenter ) : void
ChangeZoom ( float zoom ) : void
ChangeZoom ( float zoomValue, PointF zoomingCenter ) : void
IDocumentVisualizer ( Graphics g ) : void
ZoomIn ( ) : void
ZoomOut ( ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnClientSizeChanged ( EventArgs e ) : void
OnKeyDown ( KeyEventArgs e ) : void
OnLocationChanged ( EventArgs e ) : void
OnMouseDoubleClick ( MouseEventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseHWheel ( EventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnMouseWheel ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnResize ( EventArgs e ) : void
OnScroll ( ScrollEventArgs e ) : void
ProcessDialogKey ( Keys keyData ) : bool
ScrollToControl ( Control activeControl ) : System.Point
WndProc ( Message &m ) : void

비공개 메소드들

메소드 설명
CalculateZoomValue ( bool enlarge ) : float
Canvas ( ) : System
ChangeZoom ( bool enlarge, RectangleF zoomingCenter ) : void
ChangeZoom ( float zoomValue, RectangleF zoomingCenter ) : void
ConvertAbsoluteToRelative ( PointF location ) : System.Point
ConvertRelativeToAbsolute ( System.Point location ) : PointF
DrawContent ( Graphics g ) : void
GetAbsoluteCenterPoint ( ) : PointF
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

OnDocumentRedrawed ( EventArgs e ) : void
OnVisibleAreaChanged ( EventArgs e ) : void
OnZoomChanged ( EventArgs e ) : void
ScrollHorizontally ( int offset ) : void
SetScrolls ( ) : void
UpdateDocumentOffset ( ) : void
UpdateWindowPositions ( ) : void
document_HidingWindow ( object sender, PopupWindowEventArgs e ) : void
document_NeedsRedraw ( object sender, EventArgs e ) : void
document_OffsetChanged ( object sender, EventArgs e ) : void
document_ShowingWindow ( object sender, PopupWindowEventArgs e ) : void
document_SizeChanged ( object sender, EventArgs e ) : void
document_ZoomChanged ( object sender, EventArgs e ) : void

메소드 상세

AutoZoom() 공개 메소드

public AutoZoom ( ) : void
리턴 void

AutoZoom() 공개 메소드

public AutoZoom ( bool selectedOnly ) : void
selectedOnly bool
리턴 void

ChangeZoom() 공개 메소드

public ChangeZoom ( bool enlarge ) : void
enlarge bool
리턴 void

ChangeZoom() 공개 메소드

public ChangeZoom ( bool enlarge, PointF zoomingCenter ) : void
enlarge bool
zoomingCenter PointF
리턴 void

ChangeZoom() 공개 메소드

public ChangeZoom ( float zoom ) : void
zoom float
리턴 void

ChangeZoom() 공개 메소드

public ChangeZoom ( float zoomValue, PointF zoomingCenter ) : void
zoomValue float
zoomingCenter PointF
리턴 void

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

IDocumentVisualizer() 공개 메소드

public IDocumentVisualizer ( Graphics g ) : void
g Graphics
리턴 void

OnClientSizeChanged() 보호된 메소드

protected OnClientSizeChanged ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnKeyDown() 보호된 메소드

protected OnKeyDown ( KeyEventArgs e ) : void
e KeyEventArgs
리턴 void

OnLocationChanged() 보호된 메소드

protected OnLocationChanged ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnMouseDoubleClick() 보호된 메소드

protected OnMouseDoubleClick ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnMouseDown() 보호된 메소드

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnMouseHWheel() 보호된 메소드

protected OnMouseHWheel ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnMouseMove() 보호된 메소드

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnMouseUp() 보호된 메소드

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnMouseWheel() 보호된 메소드

protected OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnPaint() 보호된 메소드

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
리턴 void

OnResize() 보호된 메소드

protected OnResize ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnScroll() 보호된 메소드

protected OnScroll ( ScrollEventArgs e ) : void
e ScrollEventArgs
리턴 void

ProcessDialogKey() 보호된 메소드

protected ProcessDialogKey ( Keys keyData ) : bool
keyData Keys
리턴 bool

ScrollToControl() 보호된 메소드

protected ScrollToControl ( Control activeControl ) : System.Point
activeControl Control
리턴 System.Point

WndProc() 보호된 메소드

protected WndProc ( Message &m ) : void
m Message
리턴 void

ZoomIn() 공개 메소드

public ZoomIn ( ) : void
리턴 void

ZoomOut() 공개 메소드

public ZoomOut ( ) : void
리턴 void