C# Class NClass.DiagramEditor.Canvas

Afficher le fichier Open project: gbaychev/NClass

Private Properties

Свойство Type Description
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

Méthodes publiques

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

Méthodes protégées

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

Private Methods

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

Method Details

AutoZoom() public méthode

public AutoZoom ( ) : void
Résultat void

AutoZoom() public méthode

public AutoZoom ( bool selectedOnly ) : void
selectedOnly bool
Résultat void

ChangeZoom() public méthode

public ChangeZoom ( bool enlarge ) : void
enlarge bool
Résultat void

ChangeZoom() public méthode

public ChangeZoom ( bool enlarge, PointF zoomingCenter ) : void
enlarge bool
zoomingCenter PointF
Résultat void

ChangeZoom() public méthode

public ChangeZoom ( float zoom ) : void
zoom float
Résultat void

ChangeZoom() public méthode

public ChangeZoom ( float zoomValue, PointF zoomingCenter ) : void
zoomValue float
zoomingCenter PointF
Résultat void

Dispose() protected méthode

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

IDocumentVisualizer() public méthode

public IDocumentVisualizer ( Graphics g ) : void
g Graphics
Résultat void

OnClientSizeChanged() protected méthode

protected OnClientSizeChanged ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnKeyDown() protected méthode

protected OnKeyDown ( KeyEventArgs e ) : void
e KeyEventArgs
Résultat void

OnLocationChanged() protected méthode

protected OnLocationChanged ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnMouseDoubleClick() protected méthode

protected OnMouseDoubleClick ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnMouseDown() protected méthode

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnMouseHWheel() protected méthode

protected OnMouseHWheel ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnMouseMove() protected méthode

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnMouseUp() protected méthode

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnMouseWheel() protected méthode

protected OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnPaint() protected méthode

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
Résultat void

OnResize() protected méthode

protected OnResize ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnScroll() protected méthode

protected OnScroll ( ScrollEventArgs e ) : void
e ScrollEventArgs
Résultat void

ProcessDialogKey() protected méthode

protected ProcessDialogKey ( Keys keyData ) : bool
keyData Keys
Résultat bool

ScrollToControl() protected méthode

protected ScrollToControl ( Control activeControl ) : System.Point
activeControl Control
Résultat System.Point

WndProc() protected méthode

protected WndProc ( Message &m ) : void
m Message
Résultat void

ZoomIn() public méthode

public ZoomIn ( ) : void
Résultat void

ZoomOut() public méthode

public ZoomOut ( ) : void
Résultat void