actually add the converted rects to the region

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16716 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2006-03-11 19:37:28 +00:00
parent 47c2c0f2c8
commit d26af39650

View File

@ -367,12 +367,18 @@ DrawState::Transform(BRegion* region) const
// reset bottom right to pixel "index"
rb.x++;
rb.y++;
// add rect to converted region
// NOTE/TODO: the rect would not have to go
// through the whole interection test process,
// it is guaranteed not to overlap with any rect
// already contained in the region
converted.AddRect(BRect(lt, rb));
}
*region = converted;
}
}
// InverseTransform
void
DrawState::InverseTransform(BPoint* point) const
{