CSJ2K.j2k.entropy.encoder.StdEntropyCoder.setTile C# (CSharp) Method

setTile() public method

Changes the current tile, given the new indexes. An IllegalArgumentException is thrown if the indexes do not correspond to a valid tile.

This default implementation just changes the tile in the source.

public setTile ( int x, int y ) : void
x int The horizontal index of the tile. /// ///
y int The vertical index of the new tile. /// ///
return void
		public override void  setTile(int x, int y)
		{
			base.setTile(x, y);
			// Reset the tile specific variables
			if (finishedTileComponent != null)
			{
				for (int c = src.NumComps - 1; c >= 0; c--)
				{
					finishedTileComponent[c] = false;
				}
			}
		}