app_server: Fix drawing transformed BBitmaps...
...when the untransformed view rect is partially outside the view bounds. Untested.
This commit is contained in:
@@ -1428,7 +1428,7 @@ Painter::DrawBitmap(const ServerBitmap* bitmap, BRect bitmapRect,
|
|||||||
{
|
{
|
||||||
CHECK_CLIPPING
|
CHECK_CLIPPING
|
||||||
|
|
||||||
BRect touched = _Clipped(viewRect);
|
BRect touched = TransformAlignAndClipRect(viewRect);
|
||||||
|
|
||||||
if (bitmap && bitmap->IsValid() && touched.IsValid()) {
|
if (bitmap && bitmap->IsValid() && touched.IsValid()) {
|
||||||
// the native bitmap coordinate system
|
// the native bitmap coordinate system
|
||||||
|
|||||||
Reference in New Issue
Block a user