[haiku-commits] r37819 - haiku/trunk/src/tests/kits/interface/flatten_picture

Author: laplace
Date: 2010-07-30 11:20:09 +0200 (Fri, 30 Jul 2010)
New Revision: 37819
Changeset: http://dev.haiku-os.org/changeset/37819

Modified:
   haiku/trunk/src/tests/kits/interface/flatten_picture/PictureTestCases.cpp
Log:
* Align the scaled picture at the top to the unscaled
  one.


Modified: 
haiku/trunk/src/tests/kits/interface/flatten_picture/PictureTestCases.cpp
===================================================================
--- haiku/trunk/src/tests/kits/interface/flatten_picture/PictureTestCases.cpp   
2010-07-30 09:12:57 UTC (rev 37818)
+++ haiku/trunk/src/tests/kits/interface/flatten_picture/PictureTestCases.cpp   
2010-07-30 09:20:09 UTC (rev 37819)
@@ -306,7 +306,7 @@
        // 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;
 }


Other related posts:

  • » [haiku-commits] r37819 - haiku/trunk/src/tests/kits/interface/flatten_picture - michael . w . pfeiffer