C# Class MegaMan.LevelEditor.ScreenDrawingSurface

Inheritance: System.Windows.Forms.PictureBox
Afficher le fichier Open project: Tesserex/C--MegaMan-Engine Class Usage Examples

Méthodes publiques

Méthode Description
CreateCursor ( Bitmap bmp, int xHotSpot, int yHotSpot ) : Cursor
EditedWithAction ( HistoryAction action ) : void
GetToolLayerGraphics ( ) : Graphics
ReDrawEntities ( ) : void
ReDrawTiles ( ) : void
RedrawJoins ( ) : void
ReturnToolLayerGraphics ( Graphics g ) : void
ScreenDrawingSurface ( ScreenDocument screen ) : System
SetSelection ( int tx, int ty, int width, int height ) : void
Unfocus ( ) : void
Zoom ( double factor ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
OnGotFocus ( EventArgs e ) : void
OnLostFocus ( EventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseEnter ( EventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void

Private Methods

Méthode Description
Animate ( ) : void
BuildLayers ( ) : void
ConvertToGrayscale ( Bitmap original ) : Bitmap
CreateIconIndirect ( IconInfo &icon ) : IntPtr
DrawGray ( ) : void
DrawJoinEnd ( Join join, bool one ) : void
DrawSelectionAnts ( ) : void
GetIconInfo ( IntPtr hIcon, IconInfo &pIconInfo ) : bool
IconLocation ( MouseEventArgs e ) : Point
InitLayer ( Bitmap &layer ) : void
MouseLocation ( MouseEventArgs e ) : Point
ReDrawAll ( ) : void
ReDrawBlocking ( ) : void
ReDrawGrid ( ) : void
ReDrawMaster ( ) : void
RefreshSize ( ) : void
ResizeLayer ( Bitmap &layer ) : void
ResizeLayers ( ) : void
SelectionAnimate ( ) : void

Method Details

CreateCursor() public static méthode

public static CreateCursor ( Bitmap bmp, int xHotSpot, int yHotSpot ) : Cursor
bmp System.Drawing.Bitmap
xHotSpot int
yHotSpot int
Résultat System.Windows.Forms.Cursor

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

EditedWithAction() public méthode

public EditedWithAction ( HistoryAction action ) : void
action HistoryAction
Résultat void

GetToolLayerGraphics() public méthode

public GetToolLayerGraphics ( ) : Graphics
Résultat System.Drawing.Graphics

OnGotFocus() protected méthode

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

OnLostFocus() protected méthode

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

OnMouseDown() protected méthode

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

OnMouseEnter() protected méthode

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

OnMouseLeave() protected méthode

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

ReDrawEntities() public méthode

public ReDrawEntities ( ) : void
Résultat void

ReDrawTiles() public méthode

public ReDrawTiles ( ) : void
Résultat void

RedrawJoins() public méthode

public RedrawJoins ( ) : void
Résultat void

ReturnToolLayerGraphics() public méthode

public ReturnToolLayerGraphics ( Graphics g ) : void
g System.Drawing.Graphics
Résultat void

ScreenDrawingSurface() public méthode

public ScreenDrawingSurface ( ScreenDocument screen ) : System
screen ScreenDocument
Résultat System

SetSelection() public méthode

public SetSelection ( int tx, int ty, int width, int height ) : void
tx int
ty int
width int
height int
Résultat void

Unfocus() public méthode

public Unfocus ( ) : void
Résultat void

Zoom() public méthode

public Zoom ( double factor ) : void
factor double
Résultat void