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);
|
source_type source(pixf_img);
|
||||||
|
|
||||||
// clip to the current clipping region's frame
|
// 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)
|
// convert to pixel coords (versus pixel indices)
|
||||||
viewRect.right++;
|
viewRect.right++;
|
||||||
viewRect.bottom++;
|
viewRect.bottom++;
|
||||||
|
|
Loading…
Reference in New Issue