app_server: Fix another problem with transformed bitmaps...

... the view rect was clipped to the view bounds in
_DrawBitmapGeneric32(), which is incorrect when affine
transformations are used.
This commit is contained in:
Stephan Aßmus 2014-05-21 21:26:38 +02:00
parent b944cf31b1
commit 82d885a82b

View File

@ -2635,7 +2635,8 @@ Painter::_DrawBitmapGeneric32(agg::rendering_buffer& srcBuffer,
source_type source(pixf_img);
// clip to the current clipping region's frame
viewRect = viewRect & fClippingRegion->Frame();
if (fIdentityTransform)
viewRect = viewRect & fClippingRegion->Frame();
// convert to pixel coords (versus pixel indices)
viewRect.right++;
viewRect.bottom++;