Kaydet (Commit) e8ed3dfc authored tarafından Thorsten Behrens's avatar Thorsten Behrens Kaydeden (comit) Michael Stahl

VCL canvas: fix another clipping mistake (related: tdf#115142)

Follow-up to 5d710cf7 -
setupOutDevState() tends to set a clip, better not overwrite that.

Change-Id: I52aa7db3ef12e9c2902016460e1bf4914328dc7c
Reviewed-on: https://gerrit.libreoffice.org/50920Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst b8fe96f1
...@@ -976,7 +976,7 @@ namespace vclcanvas ...@@ -976,7 +976,7 @@ namespace vclcanvas
const vcl::Region aPolyClipRegion( aPolyPoly ); const vcl::Region aPolyClipRegion( aPolyPoly );
rOutDev.Push( PushFlags::CLIPREGION ); rOutDev.Push( PushFlags::CLIPREGION );
rOutDev.SetClipRegion( aPolyClipRegion ); rOutDev.IntersectClipRegion( aPolyClipRegion );
textureFill( rOutDev, textureFill( rOutDev,
*pGrfObj, *pGrfObj,
...@@ -994,7 +994,7 @@ namespace vclcanvas ...@@ -994,7 +994,7 @@ namespace vclcanvas
OutputDevice& r2ndOutDev( mp2ndOutDev->getOutDev() ); OutputDevice& r2ndOutDev( mp2ndOutDev->getOutDev() );
r2ndOutDev.Push( PushFlags::CLIPREGION ); r2ndOutDev.Push( PushFlags::CLIPREGION );
r2ndOutDev.SetClipRegion( aPolyClipRegion ); r2ndOutDev.IntersectClipRegion( aPolyClipRegion );
textureFill( r2ndOutDev, textureFill( r2ndOutDev,
*pGrfObj, *pGrfObj,
aPt, aPt,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment