Kaydet (Commit) b756639c authored tarafından Armin Le Grand's avatar Armin Le Grand

i123295 corrected object and clip rect in PDFExtOutDevData::EndGroup call in VclMetafileProcessor2D

üst 59f1fc72
......@@ -834,10 +834,13 @@ namespace drawinglayer
sal_Int32(ceil(aCropRange.getMaxX())), sal_Int32(ceil(aCropRange.getMaxY())));
}
// #123295# 3rd param is uncropped rect, 4th is cropped. The primitive has the cropped
// object transformation, thus aCurrentRect *is* the clip region while aCropRect is the expanded,
// uncropped region. Thus, correct order is aCropRect, aCurrentRect
mpPDFExtOutDevData->EndGroup(rGraphicPrimitive.getGraphicObject().GetGraphic(),
rAttr.GetTransparency(),
aCurrentRect,
aCropRect);
aCropRect,
aCurrentRect);
}
break;
......
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