public RectangleBinner
(
Rectangle parent,
Int32 binLength
)
{
m_oParent = parent;
m_iBinLength = binLength;
// Start one bin out of bounds, so that the Rectangle.Offset() call in
// the first call to TryGetNextBin() results in the first in-bounds
// bin.
m_oLastBin = Rectangle.FromLTRB(
m_oParent.Left - m_iBinLength,
m_oParent.Bottom - m_iBinLength,
m_oParent.Left,
m_oParent.Bottom
);
m_bBinReturned = false;
AssertValid();
}