mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
Merge pull request 'Fix clipRect clear' (#639) from fix/bug-79522 into release/v9.3.0
Reviewed-on: https://git.onlyoffice.com/ONLYOFFICE/core/pulls/639
This commit is contained in:
@ -498,7 +498,10 @@ namespace NSOnlineOfficeBinToPdf
|
||||
bIsEnableBrushRect = oReader.ReadBool();
|
||||
|
||||
if (!bIsEnableBrushRect)
|
||||
{
|
||||
pRenderer->BrushRect(bIsEnableBrushRect ? 1 : 0, 0, 0, 1, 1);
|
||||
clipRect = Aggplus::RectF_T<double>();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case ctBrushTexturePathOld:
|
||||
@ -770,7 +773,6 @@ namespace NSOnlineOfficeBinToPdf
|
||||
|
||||
clipPath.AddRectangle(clipRect.X, clipRect.Y, clipRect.Width, clipRect.Height);
|
||||
path = Aggplus::CalcBooleanOperation(drawPath, clipPath, Aggplus::Intersection);
|
||||
clipRect = Aggplus::RectF_T<double>();
|
||||
}
|
||||
|
||||
pRenderer->AddPath(path);
|
||||
|
||||
Reference in New Issue
Block a user