C# Class SphereStudio.Plugins.Components.GraphicalLayer.LayerCell

Mostra file Open project: Radnen/spherestudio

Public Methods

Method Description
Allocate ( Layer layer, Tileset tileset ) : void
Deallocate ( ) : void
Draw ( Graphics map, Point &offset ) : void
DrawTile ( int x, int y, Bitmap img ) : void
LayerCell ( Point offset, int tile_width, int tile_height ) : System
Redraw ( Layer layer, Tileset tileset ) : void
SetZoom ( int zoom ) : void

Method Details

Allocate() public method

public Allocate ( Layer layer, Tileset tileset ) : void
layer Sphere.Core.Layer
tileset Sphere.Core.Tileset
return void

Deallocate() public method

public Deallocate ( ) : void
return void

Draw() public method

public Draw ( Graphics map, Point &offset ) : void
map System.Drawing.Graphics
offset Point
return void

DrawTile() public method

public DrawTile ( int x, int y, Bitmap img ) : void
x int
y int
img System.Drawing.Bitmap
return void

LayerCell() public method

public LayerCell ( Point offset, int tile_width, int tile_height ) : System
offset Point
tile_width int
tile_height int
return System

Redraw() public method

public Redraw ( Layer layer, Tileset tileset ) : void
layer Sphere.Core.Layer
tileset Sphere.Core.Tileset
return void

SetZoom() public method

public SetZoom ( int zoom ) : void
zoom int
return void