* 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:
@@ -306,7 +306,7 @@ static void testDrawScaledPicture(BView* view, BRect frame)
|
|||||||
// draw scaled at middle top
|
// draw scaled at middle top
|
||||||
view->SetScale(0.5);
|
view->SetScale(0.5);
|
||||||
// the drawing offset must be scaled too!
|
// the drawing offset must be scaled too!
|
||||||
view->DrawPicture(picture, BPoint(frame.Width(), 2));
|
view->DrawPicture(picture, BPoint(frame.Width(), 4));
|
||||||
|
|
||||||
delete picture;
|
delete picture;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user