C# 클래스 Spryt.Canvas

상속: System.Windows.Forms.Panel, IDisposable
파일 보기 프로젝트 열기: Metapyziks/SprytEditor 1 사용 예제들

공개 메소드들

메소드 설명
Canvas ( ImageInfo image, ToolPanel toolInfoPanel ) : System
Dispose ( ) : void
SendImageChange ( ) : void
UpdateGrid ( ) : void
UpdateTiledView ( ) : void
UpdateZoomScale ( ) : void

보호된 메소드들

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

Clean up any resources being used.

OnKeyDown ( KeyEventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseEnter ( EventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnParentChanged ( EventArgs e ) : void
OnResize ( EventArgs eventargs ) : void

비공개 메소드들

메소드 설명
AllSelect ( bool deselect = false ) : void
AreaSelect ( int x, int y, bool deselect = false ) : void
CanDraw ( int x, int y, bool ignoreSelected = false ) : bool
Centre ( ) : void
DrawBox ( int x, int y, System.Pixel pixel ) : void
DrawPencil ( int x, int y, System.Pixel pixel ) : void
Fill ( int x, int y, System.Pixel pixel ) : void
InitializeComponent ( ) : void

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

OnParentDisposed ( object sender, EventArgs e ) : void
OnParentMouseEnter ( object sender, EventArgs e ) : void
OnParentResize ( object sender, EventArgs e ) : void
PixelSelect ( int x, int y, bool deselect = false ) : void
UpdateBoxPreview ( int x, int y ) : void
UpdateClientSize ( ) : void
UpdateMovedRect ( int x, int y ) : void
UpdateScaledRegion ( ) : void
WandSelect ( int x, int y, bool deselect = false ) : void
Wrap ( int a, int b ) : int

메소드 상세

Canvas() 공개 메소드

public Canvas ( ImageInfo image, ToolPanel toolInfoPanel ) : System
image ImageInfo
toolInfoPanel ToolPanel
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 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

OnKeyDown() 보호된 메소드

protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
리턴 void

OnMouseDown() 보호된 메소드

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

OnMouseEnter() 보호된 메소드

protected OnMouseEnter ( 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

OnPaint() 보호된 메소드

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

OnParentChanged() 보호된 메소드

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

OnResize() 보호된 메소드

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

SendImageChange() 공개 메소드

public SendImageChange ( ) : void
리턴 void

UpdateGrid() 공개 메소드

public UpdateGrid ( ) : void
리턴 void

UpdateTiledView() 공개 메소드

public UpdateTiledView ( ) : void
리턴 void

UpdateZoomScale() 공개 메소드

public UpdateZoomScale ( ) : void
리턴 void