C# Class Nintenlord.MegamanBattleNetworkMapEditor.TileView

Inheritance: System.Windows.Forms.UserControl
Mostra file Open project: Diegoisawesome/AwesomeMapEditor-old

Public Methods

Method Description
DrawMap ( Graphics graphics, Rectangle toDrawTo, float scale, int tiles, Size mapSize ) : void

TileView ( ) : System

TileView ( Bitmap tiles, Size tileSize ) : System

Protected Methods

Method Description
CheckTileSize ( ) : bool
Dispose ( bool disposing ) : void

Clean up any resources being used.

TileView_Paint ( object sender, PaintEventArgs e ) : void

UpdateAmountOfTiles ( ) : void

Private Methods

Method Description
GetDrawingRectangle ( Rectangle &toDrawTo, Size &mapSize ) : Rectangle
InitializeComponent ( ) : void

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

TileView_Resize ( object sender, EventArgs e ) : void

Method Details

CheckTileSize() protected method

protected CheckTileSize ( ) : bool
return bool

Dispose() protected method

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

DrawMap() public method

public DrawMap ( Graphics graphics, Rectangle toDrawTo, float scale, int tiles, Size mapSize ) : void
graphics System.Drawing.Graphics
toDrawTo System.Drawing.Rectangle
scale float
tiles int
mapSize System.Drawing.Size
return void

TileView() public method

public TileView ( ) : System
return System

TileView() public method

public TileView ( Bitmap tiles, Size tileSize ) : System
tiles System.Drawing.Bitmap
tileSize System.Drawing.Size
return System

TileView_Paint() protected method

protected TileView_Paint ( object sender, PaintEventArgs e ) : void
sender object
e PaintEventArgs
return void

UpdateAmountOfTiles() protected method

protected UpdateAmountOfTiles ( ) : void
return void