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:
parent
47c2c0f2c8
commit
d26af39650
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user