Covers arbitrary bitmap regions with non-overlapping rectangles.