C# Класс MegaMan.LevelEditor.ScreenDrawingSurface

Наследование: System.Windows.Forms.PictureBox
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

CreateCursor() публичный статический Метод

public static CreateCursor ( Bitmap bmp, int xHotSpot, int yHotSpot ) : Cursor
bmp System.Drawing.Bitmap
xHotSpot int
yHotSpot int
Результат System.Windows.Forms.Cursor

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

EditedWithAction() публичный Метод

public EditedWithAction ( HistoryAction action ) : void
action HistoryAction
Результат void

GetToolLayerGraphics() публичный Метод

public GetToolLayerGraphics ( ) : Graphics
Результат System.Drawing.Graphics

OnGotFocus() защищенный Метод

protected OnGotFocus ( EventArgs e ) : void
e System.EventArgs
Результат void

OnLostFocus() защищенный Метод

protected OnLostFocus ( EventArgs e ) : void
e System.EventArgs
Результат void

OnMouseDown() защищенный Метод

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
Результат void

OnMouseEnter() защищенный Метод

protected OnMouseEnter ( EventArgs e ) : void
e System.EventArgs
Результат void

OnMouseLeave() защищенный Метод

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

ReDrawEntities() публичный Метод

public ReDrawEntities ( ) : void
Результат void

ReDrawTiles() публичный Метод

public ReDrawTiles ( ) : void
Результат void

RedrawJoins() публичный Метод

public RedrawJoins ( ) : void
Результат void

ReturnToolLayerGraphics() публичный Метод

public ReturnToolLayerGraphics ( Graphics g ) : void
g System.Drawing.Graphics
Результат void

ScreenDrawingSurface() публичный Метод

public ScreenDrawingSurface ( ScreenDocument screen ) : System
screen ScreenDocument
Результат System

SetSelection() публичный Метод

public SetSelection ( int tx, int ty, int width, int height ) : void
tx int
ty int
width int
height int
Результат void

Unfocus() публичный Метод

public Unfocus ( ) : void
Результат void

Zoom() публичный Метод

public Zoom ( double factor ) : void
factor double
Результат void