[haiku-commits] haiku: hrev47238 - src/servers/app/drawing/Painter

  • From: superstippi@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 21 May 2014 20:41:37 +0200 (CEST)

hrev47238 adds 1 changeset to branch 'master'
old head: 569bd922a692b29b3468de69c888eb12a93843b3
new head: b944cf31b111bb7440753a7c066ed7e764fb92b1
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=b944cf3+%5E569bd92

----------------------------------------------------------------------------

b944cf3: app_server: Fix drawing transformed BBitmaps...
  
  ...when the untransformed view rect is partially outside
  the view bounds. Untested.

                                      [ Stephan Aßmus <superstippi@xxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev47238
Commit:      b944cf31b111bb7440753a7c066ed7e764fb92b1
URL:         http://cgit.haiku-os.org/haiku/commit/?id=b944cf3
Author:      Stephan Aßmus <superstippi@xxxxxx>
Date:        Wed May 21 18:35:56 2014 UTC

----------------------------------------------------------------------------

1 file changed, 1 insertion(+), 1 deletion(-)
src/servers/app/drawing/Painter/Painter.cpp | 2 +-

----------------------------------------------------------------------------

diff --git a/src/servers/app/drawing/Painter/Painter.cpp 
b/src/servers/app/drawing/Painter/Painter.cpp
index b223528..f1d1cd2 100644
--- a/src/servers/app/drawing/Painter/Painter.cpp
+++ b/src/servers/app/drawing/Painter/Painter.cpp
@@ -1428,7 +1428,7 @@ Painter::DrawBitmap(const ServerBitmap* bitmap, BRect 
bitmapRect,
 {
        CHECK_CLIPPING
 
-       BRect touched = _Clipped(viewRect);
+       BRect touched = TransformAlignAndClipRect(viewRect);
 
        if (bitmap && bitmap->IsValid() && touched.IsValid()) {
                // the native bitmap coordinate system


Other related posts:

  • » [haiku-commits] haiku: hrev47238 - src/servers/app/drawing/Painter - superstippi