* Align the scaled picture at the top to the unscaled

one.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37819 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Pfeiffer 2010-07-30 09:20:09 +00:00
parent 8247141f14
commit ff973abc41
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ static void testDrawScaledPicture(BView* view, BRect frame)
// draw scaled at middle top
view->SetScale(0.5);
// the drawing offset must be scaled too!
view->DrawPicture(picture, BPoint(frame.Width(), 2));
view->DrawPicture(picture, BPoint(frame.Width(), 4));
delete picture;
}