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:
parent
b944cf31b1
commit
82d885a82b
@ -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++;
|
||||
|
Loading…
Reference in New Issue
Block a user