C# Class MapAround.DataProviders.InMemoryRasterProvider

Provides access to the in-memory stored raster.
Inheritance: IRasterProvider
ファイルを表示 Open project: gkrsu/maparound.core Class Usage Examples

Public Methods

Method Description
QueryRaster ( int srcX, int srcY, int srcWidth, int srcHeight, int maxDestWidth, int maxDestHeight, BoundingRectangle bounds, IRasterReceiver receiver ) : void

Retreives a chunk of the raster.

Method Details

QueryRaster() public method

Retreives a chunk of the raster.
public QueryRaster ( int srcX, int srcY, int srcWidth, int srcHeight, int maxDestWidth, int maxDestHeight, BoundingRectangle bounds, IRasterReceiver receiver ) : void
srcX int A minimum X coordinate of the querying area
srcY int A minimum Y coordinate of the querying area
srcWidth int A width of the querying area
srcHeight int A height of the querying area
maxDestWidth int A maximum width in pixels of the resulting raster
maxDestHeight int A maximum height in pixels of the resulting raster
bounds BoundingRectangle A bounds of querying area on the map
receiver IRasterReceiver An object receiving raster
return void