Kaydet (Commit) a1b3ae95 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>
(cherry picked from commit e8ed3dfc)
Reviewed-on: https://gerrit.libreoffice.org/50939
üst 34442b85
......@@ -1061,7 +1061,7 @@ namespace vclcanvas
const vcl::Region aPolyClipRegion( aPolyPoly );
rOutDev.Push( PushFlags::CLIPREGION );
rOutDev.SetClipRegion( aPolyClipRegion );
rOutDev.IntersectClipRegion( aPolyClipRegion );
textureFill( rOutDev,
*pGrfObj,
......@@ -1079,7 +1079,7 @@ namespace vclcanvas
OutputDevice& r2ndOutDev( mp2ndOutDev->getOutDev() );
r2ndOutDev.Push( PushFlags::CLIPREGION );
r2ndOutDev.SetClipRegion( aPolyClipRegion );
r2ndOutDev.IntersectClipRegion( aPolyClipRegion );
textureFill( r2ndOutDev,
*pGrfObj,
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