Pinta.Core.AsyncEffectRenderer.CalculateTotalTiles C# (CSharp) Method

CalculateTotalTiles() private method

private CalculateTotalTiles ( ) : int
return int
		int CalculateTotalTiles ()
		{
			return (int)(Math.Ceiling((float)render_bounds.Width / (float)settings.TileWidth)
                                * Math.Ceiling((float)render_bounds.Height / (float)settings.TileHeight));
		}